最接近的命名颜色 · #CB408C
#CB408C
最接近的命名颜色: Shrine of Pleasures
#CB408C(rgb(203 64 140)、hsl(327 57% 52%)、oklch(0.592 0.189 350.8))最接近命名颜色 Shrine of Pleasures。查看浅色调、深色调、和谐色、WCAG 与 APCA 对比度,以及 CSS、Tailwind v4 和 SCSS 代码。
#CB408C
oklch(0.592 0.189 350.8)
颜色转换
- HEX
- #cb408c
- RGB
- rgb(203 64 140)
- HSL
- hsl(327 57% 52%)
- HWB
- hwb(327 25% 20%)
- OKLCH
- oklch(0.592 0.189 350.8)
- OKLab
- oklab(0.592 0.187 -0.03)
- CIE Lab
- lab(50.16 60.16 -10.75)
- LCH
- lch(50.16 61.11 349.9)
- CMYK
- cmyk(0% 68% 31% 20%)
浅色调 · 深色调 · 灰色调
浅色调
- D35797
- DA6BA2
- E07EAD
- E691B9
- ECA3C4
- F1B6D0
- F5C8DB
- F9DAE7
- FCEDF3
深色调
- B03679
- 962D67
- 7D2455
- 651B43
- 4D1333
- 370B23
- 220514
- 0F0107
- 020001
灰色调
- C54A8B
- BE528A
- B85A89
- B16187
- AA6786
- A26C85
- 9A7284
- 927783
- 897C81
配色和谐
互补色 +180°
- CB408C
Shrine of Pleasures
- 009474
≈ Pool Table
类似色 -30° +30°
- CB408C
Shrine of Pleasures
- AE4EC1
≈ Royal Gramma Purple
- D73E4B
≈ Smooch Rouge
三角配色 +120° +240°
- CB408C
Shrine of Pleasures
- 828400
≈ Drably Olive
- 008AB7
≈ Spinnaker Blue
分裂互补色 +150° +210°
- CB408C
Shrine of Pleasures
- 29970C
≈ Sacro Bosco
- 008F96
≈ Christina Brown
四角配色 +90° +180° +270°
- CB408C
Shrine of Pleasures
- A37500
≈ Barbarian Leather
- 009474
≈ Pool Table
- 3577EC
≈ Skies of Cyberspace
对比度与无障碍
Ag
AA白底
WCAG 4.51:1 · APCA Lc 70
Ag
AA黑底
WCAG 4.65:1 · APCA Lc 31
最佳文字颜色: #000000
WCAG 4.65:1 (AA) · APCA Lc 31
Contrast pairs
代码片段
CSS
:root {
--shrine-of-pleasures: #cb408c;
--shrine-of-pleasures-rgb: 203 64 140;
--shrine-of-pleasures-oklch: oklch(0.592 0.189 350.8);
}
.element {
color: var(--shrine-of-pleasures);
background-color: hsl(327 57% 52%);
border-color: oklch(0.592 0.189 350.8);
}Tailwind CSS v4
@theme {
--color-shrine-of-pleasures: #cb408c;
--color-shrine-of-pleasures-50: #ffdffa;
--color-shrine-of-pleasures-100: #ffceee;
--color-shrine-of-pleasures-200: #ffb2dc;
--color-shrine-of-pleasures-300: #ff8cc0;
--color-shrine-of-pleasures-400: #ee68ac;
--color-shrine-of-pleasures-500: #db3f96;
--color-shrine-of-pleasures-600: #b9377f;
--color-shrine-of-pleasures-700: #952c65;
--color-shrine-of-pleasures-800: #6e1e4d;
--color-shrine-of-pleasures-900: #4e1435;
--color-shrine-of-pleasures-950: #330520;
}SCSS
$shrine-of-pleasures: #cb408c;
$shrine-of-pleasures-rgb: 203, 64, 140;
$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);
}