最接近的命名颜色 · #D4338E
#D4338E
最接近的命名颜色: Shrine of Pleasures
#D4338E(rgb(212 51 142)、hsl(326 65% 52%)、oklch(0.596 0.212 351.1))最接近命名颜色 Shrine of Pleasures。查看浅色调、深色调、和谐色、WCAG 与 APCA 对比度,以及 CSS、Tailwind v4 和 SCSS 代码。
#D4338E
oklch(0.596 0.212 351.1)
颜色转换
- HEX
- #d4338e
- RGB
- rgb(212 51 142)
- HSL
- hsl(326 65% 52%)
- HWB
- hwb(326 20% 17%)
- OKLCH
- oklch(0.596 0.212 351.1)
- OKLab
- oklab(0.596 0.209 -0.033)
- CIE Lab
- lab(50.29 67 -11.55)
- LCH
- lch(50.29 67.99 350.2)
- CMYK
- cmyk(0% 76% 33% 17%)
浅色调 · 深色调 · 灰色调
浅色调
- DB4E99
- E265A4
- E87AAF
- ED8DBA
- F2A1C5
- F6B4D1
- F9C7DC
- FCD9E8
- FEECF3
深色调
- B82B7B
- 9D2368
- 831C56
- 691444
- 510D34
- 3A0724
- 240315
- 100107
- 020001
灰色调
- CD418D
- C64B8B
- BE558A
- B75D89
- AF6487
- A76A86
- 9E7084
- 957683
- 8B7B81
配色和谐
互补色 +180°
- D4338E
Shrine of Pleasures
- 009576
≈ Pool Table
类似色 -30° +30°
- D4338E
Shrine of Pleasures
- B546C9
≈ Ultraviolet Berl
- E12F44
≈ Cruel Ruby
三角配色 +120° +240°
- D4338E
Shrine of Pleasures
- 838500
≈ Krypton Green
- 008BB9
≈ Hawaiian Ocean
分裂互补色 +150° +210°
- D4338E
Shrine of Pleasures
- 219900
≈ Innisfree Garden
- 009198
≈ Splashy
四角配色 +90° +180° +270°
- D4338E
Shrine of Pleasures
- A47600
≈ Nataneyu Gold
- 009576
≈ Pool Table
- 2C75FA
≈ Hailey Blue
对比度与无障碍
Ag
AA白底
WCAG 4.50:1 · APCA Lc 70
Ag
AA黑底
WCAG 4.66:1 · APCA Lc 32
最佳文字颜色: #000000
WCAG 4.66:1 (AA) · APCA Lc 32
Contrast pairs
代码片段
CSS
:root {
--shrine-of-pleasures: #d4338e;
--shrine-of-pleasures-rgb: 212 51 142;
--shrine-of-pleasures-oklch: oklch(0.596 0.212 351.1);
}
.element {
color: var(--shrine-of-pleasures);
background-color: hsl(326 65% 52%);
border-color: oklch(0.596 0.212 351.1);
}Tailwind CSS v4
@theme {
--color-shrine-of-pleasures: #d4338e;
--color-shrine-of-pleasures-50: #ffddfa;
--color-shrine-of-pleasures-100: #ffcbee;
--color-shrine-of-pleasures-200: #ffaddc;
--color-shrine-of-pleasures-300: #ff85c1;
--color-shrine-of-pleasures-400: #f65ead;
--color-shrine-of-pleasures-500: #e42c97;
--color-shrine-of-pleasures-600: #c0287f;
--color-shrine-of-pleasures-700: #9b2166;
--color-shrine-of-pleasures-800: #73164e;
--color-shrine-of-pleasures-900: #510e36;
--color-shrine-of-pleasures-950: #360121;
}SCSS
$shrine-of-pleasures: #d4338e;
$shrine-of-pleasures-rgb: 212, 51, 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);
}