最接近的命名颜色 · #D181B1
#D181B1
最接近的命名颜色: Pink Punk
#D181B1(rgb(209 129 177)、hsl(324 47% 66%)、oklch(0.702 0.115 343.7))最接近命名颜色 Pink Punk。查看浅色调、深色调、和谐色、WCAG 与 APCA 对比度,以及 CSS、Tailwind v4 和 SCSS 代码。
#D181B1
oklch(0.702 0.115 343.7)
颜色转换
- HEX
- #d181b1
- RGB
- rgb(209 129 177)
- HSL
- hsl(324 47% 66%)
- HWB
- hwb(324 51% 18%)
- OKLCH
- oklch(0.702 0.115 343.7)
- OKLab
- oklab(0.702 0.111 -0.032)
- CIE Lab
- lab(63.83 36.57 -11.8)
- LCH
- lch(63.83 38.43 342.1)
- CMYK
- cmyk(0% 38% 15% 18%)
浅色调 · 深色调 · 灰色调
浅色调
- D68EB9
- DC9AC0
- E1A7C8
- E6B3D0
- EAC0D8
- EFCCDF
- F3D9E7
- F7E6EF
- FBF2F7
深色调
- B56F99
- 9B5E83
- 814E6C
- 683E57
- 502E42
- 391F2F
- 23121C
- 10060C
- 020101
灰色调
- C981AC
- C182A7
- B982A2
- B1829D
- A98298
- A18293
- 99818F
- 91818A
- 898185
配色和谐
互补色 +180°
- D181B1
Pink Punk
- 4EB58B
≈ Jade Cream
类似色 -30° +30°
- D181B1
Pink Punk
- B989D1
≈ Pale Purple
- DD808A
≈ True Love
三角配色 +120° +240°
- D181B1
Pink Punk
- ABA245
≈ Desert Locust
- 38AED4
≈ Summer Air
分裂互补色 +150° +210°
- D181B1
Pink Punk
- 81AF63
≈ Jealousy
- 1EB5B3
≈ Swagger
四角配色 +90° +180° +270°
- D181B1
Pink Punk
- CA9345
≈ Narcissus
- 4EB58B
≈ Jade Cream
- 6AA2E5
≈ Windjammer
对比度与无障碍
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: #d181b1;
--pink-punk-rgb: 209 129 177;
--pink-punk-oklch: oklch(0.702 0.115 343.7);
}
.element {
color: var(--pink-punk);
background-color: hsl(324 47% 66%);
border-color: oklch(0.702 0.115 343.7);
}Tailwind CSS v4
@theme {
--color-pink-punk: #d181b1;
--color-pink-punk-50: #ffe9fc;
--color-pink-punk-100: #ffd9f0;
--color-pink-punk-200: #fac1df;
--color-pink-punk-300: #e3a0c4;
--color-pink-punk-400: #ce82b0;
--color-pink-punk-500: #ba6599;
--color-pink-punk-600: #9d5682;
--color-pink-punk-700: #7e4468;
--color-pink-punk-800: #5d314e;
--color-pink-punk-900: #412136;
--color-pink-punk-950: #291021;
}SCSS
$pink-punk: #d181b1;
$pink-punk-rgb: 209, 129, 177;
$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);
}