Màu có tên gần nhất · #8A2F4B
#8A2F4B
Màu có tên gần nhất: Raspberry Romantic
#8A2F4B (rgb(138 47 75), hsl(342 49% 36%), oklch(0.446 0.126 4.8)) 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.
#8A2F4B
oklch(0.446 0.126 4.8)
Chuyển đổi màu
- HEX
- #8a2f4b
- RGB
- rgb(138 47 75)
- HSL
- hsl(342 49% 36%)
- HWB
- hwb(342 18% 46%)
- OKLCH
- oklch(0.446 0.126 4.8)
- OKLab
- oklab(0.446 0.125 0.011)
- CIE Lab
- lab(34.23 41.08 4.76)
- LCH
- lch(34.23 41.35 6.6)
- CMYK
- cmyk(0% 66% 46% 46%)
Sắc nhạt · Sắc đậm · Sắc xám
Sắc nhạt
- 97445B
- A4596C
- B16D7D
- BD818E
- C996A0
- D4AAB3
- DFBFC5
- EAD4D8
- F5E9EB
Sắc đậm
- 772740
- 652035
- 53192B
- 421221
- 320C17
- 22060E
- 140306
- 070102
- 010000
Sắc xám
- 8A3950
- 8A4255
- 8A4A5A
- 8A5360
- 895A65
- 88626A
- 876A70
- 857175
- 83797A
Hòa sắc
Bổ túc +180°
- 8A2F4B
Raspberry Romantic
- 00625A
≈ Dancing Peacock
Tương đồng -30° +30°
- 8A2F4B
Raspberry Romantic
- 7C3470
≈ Veronica Purple
- 8C331E
≈ Burnt Umber
Bộ ba +120° +240°
- 8A2F4B
Raspberry Romantic
- 465E00
≈ Rainforest Matcha
- 00588D
≈ Bandana
Bổ túc chia +150° +210°
- 8A2F4B
Raspberry Romantic
- 006537
≈ Treasured Wilderness
- 005F6F
≈ Cool Dive
Bộ bốn +90° +180° +270°
- 8A2F4B
Raspberry Romantic
- 645300
≈ Olive Brown
- 00625A
≈ Dancing Peacock
- 414B99
≈ Deep Ultramarine
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: #8a2f4b;
--raspberry-romantic-rgb: 138 47 75;
--raspberry-romantic-oklch: oklch(0.446 0.126 4.8);
}
.element {
color: var(--raspberry-romantic);
background-color: hsl(342 49% 36%);
border-color: oklch(0.446 0.126 4.8);
}Tailwind CSS v4
@theme {
--color-raspberry-romantic: #8a2f4b;
--color-raspberry-romantic-50: #ffe7ef;
--color-raspberry-romantic-100: #ffd7e1;
--color-raspberry-romantic-200: #ffbecb;
--color-raspberry-romantic-300: #ef9cac;
--color-raspberry-romantic-400: #dc7d95;
--color-raspberry-romantic-500: #c95e7b;
--color-raspberry-romantic-600: #aa5068;
--color-raspberry-romantic-700: #884053;
--color-raspberry-romantic-800: #652e3e;
--color-raspberry-romantic-900: #471f2b;
--color-raspberry-romantic-950: #2e0e18;
}SCSS
$raspberry-romantic: #8a2f4b;
$raspberry-romantic-rgb: 138, 47, 75;
$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);
}