最接近的命名颜色 · #D87DB6
#D87DB6
最接近的命名颜色: Pink Punk
#D87DB6(rgb(216 125 182)、hsl(322 54% 67%)、oklch(0.706 0.132 342.8))最接近命名颜色 Pink Punk。查看浅色调、深色调、和谐色、WCAG 与 APCA 对比度,以及 CSS、Tailwind v4 和 SCSS 代码。
#D87DB6
oklch(0.706 0.132 342.8)
颜色转换
- HEX
- #d87db6
- RGB
- rgb(216 125 182)
- HSL
- hsl(322 54% 67%)
- HWB
- hwb(322 49% 15%)
- OKLCH
- oklch(0.706 0.132 342.8)
- OKLab
- oklab(0.706 0.126 -0.039)
- CIE Lab
- lab(64.01 41.61 -14.23)
- LCH
- lch(64.01 43.98 341.1)
- CMYK
- cmyk(0% 42% 16% 15%)
浅色调 · 深色调 · 灰色调
浅色调
- DD8ABD
- E297C4
- E6A4CC
- EAB1D3
- EEBEDA
- F2CBE2
- F6D8E9
- F9E5F0
- FCF2F8
深色调
- BC6C9E
- A05B86
- 854B6F
- 6B3B59
- 532C44
- 3B1E30
- 25111D
- 11050C
- 020102
灰色调
- D07EB1
- C77FAB
- BE7FA6
- B680A0
- AD809B
- A48095
- 9C8090
- 93808B
- 898085
配色和谐
互补色 +180°
- D87DB6
Pink Punk
- 3CB988
≈ Aztec Jade
类似色 -30° +30°
- D87DB6
Pink Punk
- BD86DB
≈ Purception
- E67B89
≈ True Love
三角配色 +120° +240°
- D87DB6
Pink Punk
- B0A32F
≈ Martian
- 00B1DB
≈ Blue Atoll
分裂互补色 +150° +210°
- D87DB6
Pink Punk
- 7FB157
≈ Palm Tree
- 00B7B4
≈ Swagger
四角配色 +90° +180° +270°
- D87DB6
Pink Punk
- D29131
≈ Vibrant Amber
- 3CB988
≈ Aztec Jade
- 60A4F0
≈ Feather Star
对比度与无障碍
Ag
Fail白底
WCAG 2.78:1 · APCA Lc 53
Ag
AAA黑底
WCAG 7.52:1 · APCA Lc 48
最佳文字颜色: #000000
WCAG 7.52:1 (AAA) · APCA Lc 48
Contrast pairs
代码片段
CSS
:root {
--pink-punk: #d87db6;
--pink-punk-rgb: 216 125 182;
--pink-punk-oklch: oklch(0.706 0.132 342.8);
}
.element {
color: var(--pink-punk);
background-color: hsl(322 54% 67%);
border-color: oklch(0.706 0.132 342.8);
}Tailwind CSS v4
@theme {
--color-pink-punk: #d87db6;
--color-pink-punk-50: #ffe7fe;
--color-pink-punk-100: #ffd7f2;
--color-pink-punk-200: #febee1;
--color-pink-punk-300: #e89cc7;
--color-pink-punk-400: #d47db3;
--color-pink-punk-500: #c05e9d;
--color-pink-punk-600: #a25185;
--color-pink-punk-700: #82406b;
--color-pink-punk-800: #602e50;
--color-pink-punk-900: #431f38;
--color-pink-punk-950: #2b0f22;
}SCSS
$pink-punk: #d87db6;
$pink-punk-rgb: 216, 125, 182;
$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);
}