Màu có tên gần nhất · #8F2850
#8F2850
Màu có tên gần nhất: Raspberry Romantic
#8F2850 (rgb(143 40 80), hsl(337 56% 36%), oklch(0.448 0.142 1)) gần nhất với màu có tên Raspberry Romantic. Xem sắc nhạt, sắc đậm, hòa sắc, tương phản WCAG và APCA, cùng mã CSS, Tailwind v4 và SCSS.
#8F2850
oklch(0.448 0.142 1)
Chuyển đổi màu
- HEX
- #8f2850
- RGB
- rgb(143 40 80)
- HSL
- hsl(337 56% 36%)
- HWB
- hwb(337 16% 44%)
- OKLCH
- oklch(0.448 0.142 1)
- OKLab
- oklab(0.448 0.142 0.003)
- CIE Lab
- lab(34.23 45.93 1.68)
- LCH
- lch(34.23 45.96 2.1)
- CMYK
- cmyk(0% 72% 44% 44%)
Sắc nhạt · Sắc đậm · Sắc xám
Sắc nhạt
- 9C4060
- A95570
- B56A81
- C17F92
- CC94A3
- D7A9B5
- E2BEC7
- ECD3D9
- F6E9EC
Sắc đậm
- 7C2144
- 691B39
- 57152E
- 450F24
- 34091A
- 240410
- 150207
- 070102
- 010000
Sắc xám
- 8F3455
- 8F3E59
- 8E475E
- 8D5063
- 8C5968
- 8B616C
- 896971
- 867176
- 83787B
Hòa sắc
Bổ túc +180°
- 8F2850
Raspberry Romantic
- 006357
≈ Dancing Peacock
Tương đồng -30° +30°
- 8F2850
Raspberry Romantic
- 7F3078
≈ Veronica Purple
- 932B1D
≈ Saffronaut
Bộ ba +120° +240°
- 8F2850
Raspberry Romantic
- 4C5D00
≈ Kyuri Green
- 005A89
≈ Impulse
Bổ túc chia +150° +210°
- 8F2850
Raspberry Romantic
- 00672F
≈ Treasured Wilderness
- 00606D
≈ Shaded Spruce
Bộ bốn +90° +180° +270°
- 8F2850
Raspberry Romantic
- 685200
≈ Olive Brown
- 006357
≈ Dancing Peacock
- 394BA2
≈ Dazzling Blue
Tương phản và khả năng tiếp cận
Ag
AAATrên nền trắng
WCAG 8.11:1 · APCA Lc 87
Ag
FailTrên nền đen
WCAG 2.58:1 · APCA Lc 15
Màu chữ tốt nhất: #FFFFFF
WCAG 8.11:1 (AAA) · APCA Lc 87
Contrast pairs
Đoạn mã
CSS
:root {
--raspberry-romantic: #8f2850;
--raspberry-romantic-rgb: 143 40 80;
--raspberry-romantic-oklch: oklch(0.448 0.142 1);
}
.element {
color: var(--raspberry-romantic);
background-color: hsl(337 56% 36%);
border-color: oklch(0.448 0.142 1);
}Tailwind CSS v4
@theme {
--color-raspberry-romantic: #8f2850;
--color-raspberry-romantic-50: #ffe5f1;
--color-raspberry-romantic-100: #ffd5e3;
--color-raspberry-romantic-200: #ffbbce;
--color-raspberry-romantic-300: #f498b0;
--color-raspberry-romantic-400: #e17899;
--color-raspberry-romantic-500: #ce5780;
--color-raspberry-romantic-600: #ae4b6d;
--color-raspberry-romantic-700: #8c3b57;
--color-raspberry-romantic-800: #682a41;
--color-raspberry-romantic-900: #491c2d;
--color-raspberry-romantic-950: #300c1a;
}SCSS
$raspberry-romantic: #8f2850;
$raspberry-romantic-rgb: 143, 40, 80;
$raspberry-romantic-light: mix(#fff, $raspberry-romantic, 20%);
$raspberry-romantic-dark: mix(#000, $raspberry-romantic, 20%);
.element {
color: $raspberry-romantic;
box-shadow: 0 0 0 2px rgba($raspberry-romantic, 0.35);
}