最接近的命名颜色 · #8D304B
#8D304B
最接近的命名颜色: Raspberry Romantic
#8D304B(rgb(141 48 75)、hsl(343 49% 37%)、oklch(0.452 0.128 6))最接近命名颜色 Raspberry Romantic。查看浅色调、深色调、和谐色、WCAG 与 APCA 对比度,以及 CSS、Tailwind v4 和 SCSS 代码。
#8D304B
oklch(0.452 0.128 6)
颜色转换
- HEX
- #8d304b
- RGB
- rgb(141 48 75)
- HSL
- hsl(343 49% 37%)
- HWB
- hwb(343 19% 45%)
- OKLCH
- oklch(0.452 0.128 6)
- OKLab
- oklab(0.452 0.127 0.013)
- CIE Lab
- lab(34.95 41.68 5.86)
- LCH
- lch(34.95 42.09 8)
- CMYK
- cmyk(0% 66% 47% 45%)
浅色调 · 深色调 · 灰色调
浅色调
- 9A455B
- A75A6C
- B36E7D
- BF828E
- CA96A0
- D6ABB3
- E0BFC5
- EBD4D8
- F5EAEB
深色调
- 7A2840
- 672135
- 551A2B
- 441321
- 330C17
- 23060E
- 140306
- 070102
- 010000
灰色调
- 8D3A50
- 8D4355
- 8C4B5A
- 8C5360
- 8B5B65
- 89636A
- 886A70
- 867275
- 83797B
配色和谐
互补色 +180°
- 8D304B
Raspberry Romantic
- 00645C
≈ Dancing Peacock
类似色 -30° +30°
- 8D304B
Raspberry Romantic
- 803571
≈ Veronica Purple
- 8F351C
≈ Red Prairie
三角配色 +120° +240°
- 8D304B
Raspberry Romantic
- 466000
≈ Camouflage Green
- 005A92
≈ Baleine Blue
分裂互补色 +150° +210°
- 8D304B
Raspberry Romantic
- 00673B
≈ Frog Green
- 006172
≈ Ocean Radiance
四角配色 +90° +180° +270°
- 8D304B
Raspberry Romantic
- 655500
≈ Ayahuasca Vine
- 00645C
≈ Dancing Peacock
- 444C9B
≈ Deep Ultramarine
对比度与无障碍
Ag
AAA白底
WCAG 7.90:1 · APCA Lc 87
Ag
Fail黑底
WCAG 2.65:1 · APCA Lc 15
最佳文字颜色: #FFFFFF
WCAG 7.90:1 (AAA) · APCA Lc 87
Contrast pairs
代码片段
CSS
:root {
--raspberry-romantic: #8d304b;
--raspberry-romantic-rgb: 141 48 75;
--raspberry-romantic-oklch: oklch(0.452 0.128 6);
}
.element {
color: var(--raspberry-romantic);
background-color: hsl(343 49% 37%);
border-color: oklch(0.452 0.128 6);
}Tailwind CSS v4
@theme {
--color-raspberry-romantic: #8d304b;
--color-raspberry-romantic-50: #ffe7ee;
--color-raspberry-romantic-100: #ffd7e0;
--color-raspberry-romantic-200: #ffbeca;
--color-raspberry-romantic-300: #f09cab;
--color-raspberry-romantic-400: #dd7d93;
--color-raspberry-romantic-500: #ca5d79;
--color-raspberry-romantic-600: #ab5067;
--color-raspberry-romantic-700: #893f52;
--color-raspberry-romantic-800: #662d3d;
--color-raspberry-romantic-900: #471f2a;
--color-raspberry-romantic-950: #2e0e18;
}SCSS
$raspberry-romantic: #8d304b;
$raspberry-romantic-rgb: 141, 48, 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);
}