最接近的命名颜色 · #CB408E
#CB408E
最接近的命名颜色: Shrine of Pleasures
#CB408E(rgb(203 64 142)、hsl(326 57% 52%)、oklch(0.593 0.19 349.9))最接近命名颜色 Shrine of Pleasures。查看浅色调、深色调、和谐色、WCAG 与 APCA 对比度,以及 CSS、Tailwind v4 和 SCSS 代码。
#CB408E
oklch(0.593 0.19 349.9)
颜色转换
- HEX
- #cb408e
- RGB
- rgb(203 64 142)
- HSL
- hsl(326 57% 52%)
- HWB
- hwb(326 25% 20%)
- OKLCH
- oklch(0.593 0.19 349.9)
- OKLab
- oklab(0.593 0.187 -0.033)
- CIE Lab
- lab(50.22 60.33 -11.86)
- LCH
- lch(50.22 61.48 348.9)
- CMYK
- cmyk(0% 68% 30% 20%)
浅色调 · 深色调 · 灰色调
浅色调
- D35799
- DA6BA4
- E07EAF
- E691BA
- ECA4C5
- F1B6D1
- F5C8DC
- F9DAE8
- FCEDF3
深色调
- B0367B
- 962D68
- 7D2456
- 651B44
- 4D1334
- 370B24
- 220515
- 0F0107
- 020001
灰色调
- C54A8D
- BE528B
- B85A8A
- B16189
- AA6787
- A26D86
- 9A7284
- 927783
- 897C81
配色和谐
互补色 +180°
- CB408E
Shrine of Pleasures
- 009473
≈ Pool Table
类似色 -30° +30°
- CB408E
Shrine of Pleasures
- AE4FC3
≈ Royal Gramma Purple
- D83D4D
≈ Poppy Red
三角配色 +120° +240°
- CB408E
Shrine of Pleasures
- 848400
≈ Drably Olive
- 008AB6
≈ Spinnaker Blue
分裂互补色 +150° +210°
- CB408E
Shrine of Pleasures
- 2E9701
≈ Sacro Bosco
- 009096
≈ Splashy
四角配色 +90° +180° +270°
- CB408E
Shrine of Pleasures
- A47400
≈ Barbarian Leather
- 009473
≈ Pool Table
- 3178ED
≈ Blue Darknut
对比度与无障碍
Ag
AA白底
WCAG 4.50:1 · APCA Lc 70
Ag
AA黑底
WCAG 4.66:1 · APCA Lc 31
最佳文字颜色: #000000
WCAG 4.66:1 (AA) · APCA Lc 31
Contrast pairs
代码片段
CSS
:root {
--shrine-of-pleasures: #cb408e;
--shrine-of-pleasures-rgb: 203 64 142;
--shrine-of-pleasures-oklch: oklch(0.593 0.19 349.9);
}
.element {
color: var(--shrine-of-pleasures);
background-color: hsl(326 57% 52%);
border-color: oklch(0.593 0.19 349.9);
}Tailwind CSS v4
@theme {
--color-shrine-of-pleasures: #cb408e;
--color-shrine-of-pleasures-50: #ffdffb;
--color-shrine-of-pleasures-100: #ffceef;
--color-shrine-of-pleasures-200: #ffb2dd;
--color-shrine-of-pleasures-300: #ff8cc2;
--color-shrine-of-pleasures-400: #ed68ae;
--color-shrine-of-pleasures-500: #db3e98;
--color-shrine-of-pleasures-600: #b93780;
--color-shrine-of-pleasures-700: #952c67;
--color-shrine-of-pleasures-800: #6e1e4e;
--color-shrine-of-pleasures-900: #4e1436;
--color-shrine-of-pleasures-950: #330521;
}SCSS
$shrine-of-pleasures: #cb408e;
$shrine-of-pleasures-rgb: 203, 64, 142;
$shrine-of-pleasures-light: mix(#fff, $shrine-of-pleasures, 20%);
$shrine-of-pleasures-dark: mix(#000, $shrine-of-pleasures, 20%);
.element {
color: $shrine-of-pleasures;
box-shadow: 0 0 0 2px rgba($shrine-of-pleasures, 0.35);
}