最接近的命名颜色 · #8E264B
#8E264B
最接近的命名颜色: Raspberry Romantic
#8E264B(rgb(142 38 75)、hsl(339 58% 35%)、oklch(0.443 0.142 3.4))最接近命名颜色 Raspberry Romantic。查看浅色调、深色调、和谐色、WCAG 与 APCA 对比度,以及 CSS、Tailwind v4 和 SCSS 代码。
#8E264B
oklch(0.443 0.142 3.4)
颜色转换
- HEX
- #8e264b
- RGB
- rgb(142 38 75)
- HSL
- hsl(339 58% 35%)
- HWB
- hwb(339 15% 44%)
- OKLCH
- oklch(0.443 0.142 3.4)
- OKLab
- oklab(0.443 0.141 0.009)
- CIE Lab
- lab(33.64 45.99 4.05)
- LCH
- lch(33.64 46.17 5)
- CMYK
- cmyk(0% 73% 47% 44%)
浅色调 · 深色调 · 灰色调
浅色调
- 9B3E5B
- A8546C
- B4697D
- C07E8E
- CC93A0
- D7A8B3
- E1BDC5
- ECD3D8
- F6E9EB
深色调
- 7B2040
- 681935
- 56132B
- 440D21
- 340817
- 24040E
- 150206
- 070102
- 010000
灰色调
- 8E3250
- 8E3D55
- 8E465A
- 8D4F60
- 8C5865
- 8A606A
- 896870
- 867075
- 83787A
配色和谐
互补色 +180°
- 8E264B
Raspberry Romantic
- 006158
≈ Empress Teal
类似色 -30° +30°
- 8E264B
Raspberry Romantic
- 7F2D74
≈ Veronica Purple
- 912A15
≈ Bengala Red
三角配色 +120° +240°
- 8E264B
Raspberry Romantic
- 485C00
≈ Lustrian Undergrowth
- 00588A
≈ Sea Cave
分裂互补色 +150° +210°
- 8E264B
Raspberry Romantic
- 006434
≈ Treasured Wilderness
- 005E6D
≈ Shaded Spruce
四角配色 +90° +180° +270°
- 8E264B
Raspberry Romantic
- 645100
≈ Olive Brown
- 006158
≈ Empress Teal
- 3C48A0
≈ Galaxy Express
对比度与无障碍
Ag
AAA白底
WCAG 8.30:1 · APCA Lc 88
Ag
Fail黑底
WCAG 2.52:1 · APCA Lc 15
最佳文字颜色: #FFFFFF
WCAG 8.30:1 (AAA) · APCA Lc 88
Contrast pairs
代码片段
CSS
:root {
--raspberry-romantic: #8e264b;
--raspberry-romantic-rgb: 142 38 75;
--raspberry-romantic-oklch: oklch(0.443 0.142 3.4);
}
.element {
color: var(--raspberry-romantic);
background-color: hsl(339 58% 35%);
border-color: oklch(0.443 0.142 3.4);
}Tailwind CSS v4
@theme {
--color-raspberry-romantic: #8e264b;
--color-raspberry-romantic-50: #ffe5ef;
--color-raspberry-romantic-100: #ffd5e1;
--color-raspberry-romantic-200: #ffbbcb;
--color-raspberry-romantic-300: #f598ad;
--color-raspberry-romantic-400: #e27896;
--color-raspberry-romantic-500: #cf577c;
--color-raspberry-romantic-600: #af4a69;
--color-raspberry-romantic-700: #8d3b54;
--color-raspberry-romantic-800: #682a3f;
--color-raspberry-romantic-900: #491c2b;
--color-raspberry-romantic-950: #300c19;
}SCSS
$raspberry-romantic: #8e264b;
$raspberry-romantic-rgb: 142, 38, 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);
}