最接近的命名颜色 · #D37DC5
#D37DC5
最接近的命名颜色: Pink Punk
#D37DC5(rgb(211 125 197)、hsl(310 49% 66%)、oklch(0.705 0.14 333.1))最接近命名颜色 Pink Punk。查看浅色调、深色调、和谐色、WCAG 与 APCA 对比度,以及 CSS、Tailwind v4 和 SCSS 代码。
#D37DC5
oklch(0.705 0.14 333.1)
颜色转换
- HEX
- #d37dc5
- RGB
- rgb(211 125 197)
- HSL
- hsl(310 49% 66%)
- HWB
- hwb(310 49% 17%)
- OKLCH
- oklch(0.705 0.14 333.1)
- OKLab
- oklab(0.705 0.125 -0.063)
- CIE Lab
- lab(63.82 41.74 -23.04)
- LCH
- lch(63.82 47.67 331.1)
- CMYK
- cmyk(0% 41% 7% 17%)
浅色调 · 深色调 · 灰色调
浅色调
- D88ACB
- DD97D1
- E2A4D7
- E7B1DD
- EBBEE2
- F0CBE8
- F4D8EE
- F8E5F4
- FBF2F9
深色调
- B76CAB
- 9C5B92
- 824B79
- 693B61
- 512C4B
- 3A1E35
- 241121
- 10050E
- 020102
灰色调
- CB7EBE
- C37FB7
- BB7FB0
- B380A9
- AA80A2
- A2809B
- 9A8195
- 91808E
- 898087
配色和谐
互补色 +180°
- D37DC5
Pink Punk
- 4EB975
≈ Esmeralda
类似色 -30° +30°
- D37DC5
Pink Punk
- B289E7
≈ Luminous Lavender
- E67897
≈ So Charming
三角配色 +120° +240°
- D37DC5
Pink Punk
- BE9D16
≈ Perennial
- 00B3CE
≈ Aquarius
分裂互补色 +150° +210°
- D37DC5
Pink Punk
- 90AE41
≈ Googolplex
- 00B9A8
≈ Verditer
四角配色 +90° +180° +270°
- D37DC5
Pink Punk
- DC8A33
≈ Status Bronze
- 4EB975
≈ Esmeralda
- 43A8F0
≈ Cerulean
对比度与无障碍
Ag
Fail白底
WCAG 2.79:1 · APCA Lc 54
Ag
AAA黑底
WCAG 7.50:1 · APCA Lc 48
最佳文字颜色: #000000
WCAG 7.50:1 (AAA) · APCA Lc 48
Contrast pairs
代码片段
CSS
:root {
--pink-punk: #d37dc5;
--pink-punk-rgb: 211 125 197;
--pink-punk-oklch: oklch(0.705 0.14 333.1);
}
.element {
color: var(--pink-punk);
background-color: hsl(310 49% 66%);
border-color: oklch(0.705 0.14 333.1);
}Tailwind CSS v4
@theme {
--color-pink-punk: #d37dc5;
--color-pink-punk-50: #ffe7ff;
--color-pink-punk-100: #ffd7fb;
--color-pink-punk-200: #fbbeec;
--color-pink-punk-300: #e49cd4;
--color-pink-punk-400: #cf7dc1;
--color-pink-punk-500: #bb5ead;
--color-pink-punk-600: #9e5092;
--color-pink-punk-700: #7f4075;
--color-pink-punk-800: #5d2e58;
--color-pink-punk-900: #411f3e;
--color-pink-punk-950: #2a0f27;
}SCSS
$pink-punk: #d37dc5;
$pink-punk-rgb: 211, 125, 197;
$pink-punk-light: mix(#fff, $pink-punk, 20%);
$pink-punk-dark: mix(#000, $pink-punk, 20%);
.element {
color: $pink-punk;
box-shadow: 0 0 0 2px rgba($pink-punk, 0.35);
}