最接近的命名颜色 · #DC7AB4
#DC7AB4
最接近的命名颜色: Pink Punk
#DC7AB4(rgb(220 122 180)、hsl(324 58% 67%)、oklch(0.705 0.139 344.8))最接近命名颜色 Pink Punk。查看浅色调、深色调、和谐色、WCAG 与 APCA 对比度,以及 CSS、Tailwind v4 和 SCSS 代码。
#DC7AB4
oklch(0.705 0.139 344.8)
颜色转换
- HEX
- #dc7ab4
- RGB
- rgb(220 122 180)
- HSL
- hsl(324 58% 67%)
- HWB
- hwb(324 48% 14%)
- OKLCH
- oklch(0.705 0.139 344.8)
- OKLab
- oklab(0.705 0.135 -0.036)
- CIE Lab
- lab(63.87 44.23 -13.25)
- LCH
- lch(63.87 46.17 343.3)
- CMYK
- cmyk(0% 45% 18% 14%)
浅色调 · 深色调 · 灰色调
浅色调
- E188BB
- E595C3
- E9A2CA
- EDB0D2
- F1BDD9
- F4CAE1
- F7D7E8
- FAE4F0
- FDF2F7
深色调
- BF699C
- A35985
- 88496E
- 6E3A58
- 542B44
- 3C1D30
- 26101D
- 11050C
- 020102
灰色调
- D37BAF
- CA7DA9
- C17EA4
- B87E9F
- AF7F9A
- A67F95
- 9D808F
- 93808A
- 8A8085
配色和谐
互补色 +180°
- DC7AB4
Pink Punk
- 27BB8A
≈ Vegan
类似色 -30° +30°
- DC7AB4
Pink Punk
- C084DB
≈ Purception
- E97884
≈ Passion Pink
三角配色 +120° +240°
- DC7AB4
Pink Punk
- AEA423
≈ Venom
- 00B0DE
≈ Blue Atoll
分裂互补色 +150° +210°
- DC7AB4
Pink Punk
- 79B355
≈ Palm Tree
- 00B7B7
≈ Swagger
四角配色 +90° +180° +270°
- DC7AB4
Pink Punk
- D29122
≈ Vibrant Amber
- 27BB8A
≈ Vegan
- 60A2F5
≈ Feather Star
对比度与无障碍
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: #dc7ab4;
--pink-punk-rgb: 220 122 180;
--pink-punk-oklch: oklch(0.705 0.139 344.8);
}
.element {
color: var(--pink-punk);
background-color: hsl(324 58% 67%);
border-color: oklch(0.705 0.139 344.8);
}Tailwind CSS v4
@theme {
--color-pink-punk: #dc7ab4;
--color-pink-punk-50: #ffe6fd;
--color-pink-punk-100: #ffd6f1;
--color-pink-punk-200: #ffbce0;
--color-pink-punk-300: #ec9ac5;
--color-pink-punk-400: #d87bb1;
--color-pink-punk-500: #c45b9b;
--color-pink-punk-600: #a64e83;
--color-pink-punk-700: #853e69;
--color-pink-punk-800: #622c4f;
--color-pink-punk-900: #451e37;
--color-pink-punk-950: #2c0d22;
}SCSS
$pink-punk: #dc7ab4;
$pink-punk-rgb: 220, 122, 180;
$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);
}