最接近的命名颜色 · #DC7AB8
#DC7AB8
最接近的命名颜色: Pink Punk
#DC7AB8(rgb(220 122 184)、hsl(322 58% 67%)、oklch(0.707 0.142 342.7))最接近命名颜色 Pink Punk。查看浅色调、深色调、和谐色、WCAG 与 APCA 对比度,以及 CSS、Tailwind v4 和 SCSS 代码。
#DC7AB8
oklch(0.707 0.142 342.7)
颜色转换
- HEX
- #dc7ab8
- RGB
- rgb(220 122 184)
- HSL
- hsl(322 58% 67%)
- HWB
- hwb(322 48% 14%)
- OKLCH
- oklch(0.707 0.142 342.7)
- OKLab
- oklab(0.707 0.136 -0.042)
- CIE Lab
- lab(63.98 44.68 -15.34)
- LCH
- lch(63.98 47.24 341.1)
- CMYK
- cmyk(0% 45% 16% 14%)
浅色调 · 深色调 · 灰色调
浅色调
- E188BF
- E595C6
- E9A2CD
- EDB0D4
- F1BDDB
- F4CAE2
- F7D7EA
- FAE5F1
- FDF2F8
深色调
- BF69A0
- A35988
- 884971
- 6E3A5B
- 542B45
- 3C1D31
- 26101E
- 11050C
- 020102
灰色调
- D37BB2
- CA7DAD
- C17EA7
- B87EA1
- AF7F9C
- A68096
- 9D8091
- 93808B
- 8A8086
配色和谐
互补色 +180°
- DC7AB8
Pink Punk
- 2BBB86
≈ Vegan
类似色 -30° +30°
- DC7AB8
Pink Punk
- BF84DF
≈ Purception
- EB7887
≈ Flower Blossom Pink
三角配色 +120° +240°
- DC7AB8
Pink Punk
- B2A31B
≈ Snakebite Leather
- 00B1DB
≈ Blue Atoll
分裂互补色 +150° +210°
- DC7AB8
Pink Punk
- 7DB350
≈ Savoy
- 00B8B5
≈ Jade Gravel
四角配色 +90° +180° +270°
- DC7AB8
Pink Punk
- D59020
≈ Vibrant Amber
- 2BBB86
≈ Vegan
- 5AA4F6
≈ Feather Star
对比度与无障碍
Ag
Fail白底
WCAG 2.79:1 · APCA Lc 53
Ag
AAA黑底
WCAG 7.51:1 · APCA Lc 48
最佳文字颜色: #000000
WCAG 7.51:1 (AAA) · APCA Lc 48
Contrast pairs
代码片段
CSS
:root {
--pink-punk: #dc7ab8;
--pink-punk-rgb: 220 122 184;
--pink-punk-oklch: oklch(0.707 0.142 342.7);
}
.element {
color: var(--pink-punk);
background-color: hsl(322 58% 67%);
border-color: oklch(0.707 0.142 342.7);
}Tailwind CSS v4
@theme {
--color-pink-punk: #dc7ab8;
--color-pink-punk-50: #ffe6ff;
--color-pink-punk-100: #ffd6f3;
--color-pink-punk-200: #ffbce2;
--color-pink-punk-300: #eb99c8;
--color-pink-punk-400: #d77ab5;
--color-pink-punk-500: #c45a9f;
--color-pink-punk-600: #a54d86;
--color-pink-punk-700: #853d6c;
--color-pink-punk-800: #622c51;
--color-pink-punk-900: #451e38;
--color-pink-punk-950: #2c0d23;
}SCSS
$pink-punk: #dc7ab8;
$pink-punk-rgb: 220, 122, 184;
$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);
}