最接近的命名颜色 · #8F2F4F
#8F2F4F
最接近的命名颜色: Raspberry Romantic
#8F2F4F(rgb(143 47 79)、hsl(340 51% 37%)、oklch(0.456 0.132 3.5))最接近命名颜色 Raspberry Romantic。查看浅色调、深色调、和谐色、WCAG 与 APCA 对比度,以及 CSS、Tailwind v4 和 SCSS 代码。
#8F2F4F
oklch(0.456 0.132 3.5)
颜色转换
- HEX
- #8f2f4f
- RGB
- rgb(143 47 79)
- HSL
- hsl(340 51% 37%)
- HWB
- hwb(340 18% 44%)
- OKLCH
- oklch(0.456 0.132 3.5)
- OKLab
- oklab(0.456 0.132 0.008)
- CIE Lab
- lab(35.25 43.08 3.77)
- LCH
- lch(35.25 43.25 5)
- CMYK
- cmyk(0% 67% 45% 44%)
浅色调 · 深色调 · 灰色调
浅色调
- 9C455F
- A8596F
- B56E80
- C08291
- CC96A3
- D7ABB4
- E1BFC7
- EBD4D9
- F5EAEC
深色调
- 7C2744
- 692038
- 57192E
- 451223
- 340C19
- 240610
- 150307
- 070102
- 010000
灰色调
- 8F3954
- 8F4258
- 8E4B5D
- 8D5362
- 8C5B67
- 8A636C
- 886A71
- 867176
- 83797B
配色和谐
互补色 +180°
- 8F2F4F
Raspberry Romantic
- 00655B
≈ Arizona Stone
类似色 -30° +30°
- 8F2F4F
Raspberry Romantic
- 803575
≈ Veronica Purple
- 92331F
≈ Bengara Red
三角配色 +120° +240°
- 8F2F4F
Raspberry Romantic
- 4B6000
≈ Camouflage Green
- 005C8F
≈ Buccaneer Blue
分裂互补色 +150° +210°
- 8F2F4F
Raspberry Romantic
- 006936
≈ Universal Green
- 006272
≈ Blue Lagoon
四角配色 +90° +180° +270°
- 8F2F4F
Raspberry Romantic
- 685500
≈ Ayahuasca Vine
- 00655B
≈ Arizona Stone
- 414D9F
≈ Dazzling Blue
对比度与无障碍
Ag
AAA白底
WCAG 7.81:1 · APCA Lc 86
Ag
Fail黑底
WCAG 2.68:1 · APCA Lc 16
最佳文字颜色: #FFFFFF
WCAG 7.81:1 (AAA) · APCA Lc 86
Contrast pairs
代码片段
CSS
:root {
--raspberry-romantic: #8f2f4f;
--raspberry-romantic-rgb: 143 47 79;
--raspberry-romantic-oklch: oklch(0.456 0.132 3.5);
}
.element {
color: var(--raspberry-romantic);
background-color: hsl(340 51% 37%);
border-color: oklch(0.456 0.132 3.5);
}Tailwind CSS v4
@theme {
--color-raspberry-romantic: #8f2f4f;
--color-raspberry-romantic-50: #ffe6f0;
--color-raspberry-romantic-100: #ffd6e1;
--color-raspberry-romantic-200: #ffbdcc;
--color-raspberry-romantic-300: #f19bae;
--color-raspberry-romantic-400: #de7b96;
--color-raspberry-romantic-500: #cb5b7d;
--color-raspberry-romantic-600: #ac4e6a;
--color-raspberry-romantic-700: #8a3e54;
--color-raspberry-romantic-800: #662c3f;
--color-raspberry-romantic-900: #481e2b;
--color-raspberry-romantic-950: #2f0d19;
}SCSS
$raspberry-romantic: #8f2f4f;
$raspberry-romantic-rgb: 143, 47, 79;
$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);
}