最接近的命名颜色 · #D47DBF
#D47DBF
最接近的命名颜色: Pink Punk
#D47DBF(rgb(212 125 191)、hsl(314 50% 66%)、oklch(0.704 0.136 336.5))最接近命名颜色 Pink Punk。查看浅色调、深色调、和谐色、WCAG 与 APCA 对比度,以及 CSS、Tailwind v4 和 SCSS 代码。
#D47DBF
oklch(0.704 0.136 336.5)
颜色转换
- HEX
- #d47dbf
- RGB
- rgb(212 125 191)
- HSL
- hsl(314 50% 66%)
- HWB
- hwb(314 49% 17%)
- OKLCH
- oklch(0.704 0.136 336.5)
- OKLab
- oklab(0.704 0.124 -0.054)
- CIE Lab
- lab(63.76 41.32 -19.74)
- LCH
- lch(63.76 45.79 334.5)
- CMYK
- cmyk(0% 41% 10% 17%)
浅色调 · 深色调 · 灰色调
浅色调
- D98AC5
- DE97CC
- E3A4D2
- E8B1D9
- ECBEDF
- F0CBE6
- F4D8EC
- F8E5F2
- FCF2F9
深色调
- B86CA6
- 9D5B8D
- 834B75
- 693B5E
- 512C48
- 3A1E33
- 24111F
- 10050D
- 020102
灰色调
- CC7EB9
- C47FB2
- BC7FAC
- B380A6
- AB809F
- A38099
- 9A8093
- 92808D
- 898086
配色和谐
互补色 +180°
- D47DBF
Pink Punk
- 49B87C
≈ Ming Green
类似色 -30° +30°
- D47DBF
Pink Punk
- B588E2
≈ Lavender Blossom
- E57992
≈ So Charming
三角配色 +120° +240°
- D47DBF
Pink Punk
- B89F23
≈ Wet Leaf
- 00B2D2
≈ Aquarius
分裂互补色 +150° +210°
- D47DBF
Pink Punk
- 8AAF4A
≈ Parrot Green
- 00B8AC
≈ Turquoise Topaz
四角配色 +90° +180° +270°
- D47DBF
Pink Punk
- D88D34
≈ Turmeric Tea
- 49B87C
≈ Ming Green
- 4FA6EF
≈ Cerulean
对比度与无障碍
Ag
Fail白底
WCAG 2.80:1 · APCA Lc 54
Ag
AAA黑底
WCAG 7.48:1 · APCA Lc 48
最佳文字颜色: #000000
WCAG 7.48:1 (AAA) · APCA Lc 48
Contrast pairs
代码片段
CSS
:root {
--pink-punk: #d47dbf;
--pink-punk-rgb: 212 125 191;
--pink-punk-oklch: oklch(0.704 0.136 336.5);
}
.element {
color: var(--pink-punk);
background-color: hsl(314 50% 66%);
border-color: oklch(0.704 0.136 336.5);
}Tailwind CSS v4
@theme {
--color-pink-punk: #d47dbf;
--color-pink-punk-50: #ffe7ff;
--color-pink-punk-100: #ffd7f7;
--color-pink-punk-200: #fcbee8;
--color-pink-punk-300: #e59ccf;
--color-pink-punk-400: #d07ebc;
--color-pink-punk-500: #bc5fa7;
--color-pink-punk-600: #9f518d;
--color-pink-punk-700: #804071;
--color-pink-punk-800: #5e2e55;
--color-pink-punk-900: #421f3b;
--color-pink-punk-950: #2a0f25;
}SCSS
$pink-punk: #d47dbf;
$pink-punk-rgb: 212, 125, 191;
$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);
}