最接近的命名颜色 · #DB7AB7
#DB7AB7
最接近的命名颜色: Pink Punk
#DB7AB7(rgb(219 122 183)、hsl(322 57% 67%)、oklch(0.705 0.141 342.9))最接近命名颜色 Pink Punk。查看浅色调、深色调、和谐色、WCAG 与 APCA 对比度,以及 CSS、Tailwind v4 和 SCSS 代码。
#DB7AB7
oklch(0.705 0.141 342.9)
颜色转换
- HEX
- #db7ab7
- RGB
- rgb(219 122 183)
- HSL
- hsl(322 57% 67%)
- HWB
- hwb(322 48% 14%)
- OKLCH
- oklch(0.705 0.141 342.9)
- OKLab
- oklab(0.705 0.134 -0.041)
- CIE Lab
- lab(63.82 44.23 -15.03)
- LCH
- lch(63.82 46.71 341.2)
- CMYK
- cmyk(0% 44% 16% 14%)
浅色调 · 深色调 · 灰色调
浅色调
- E088BE
- E495C5
- E9A2CC
- EDB0D4
- F0BDDB
- F4CAE2
- F7D7E9
- FAE4F0
- FDF2F8
深色调
- BE699F
- A25987
- 874970
- 6D3A5A
- 542B45
- 3C1D31
- 26101E
- 11050C
- 020102
灰色调
- D27BB1
- C97DAC
- C17EA6
- B87EA1
- AF7F9B
- A67F96
- 9D8090
- 93808B
- 8A8085
配色和谐
互补色 +180°
- DB7AB7
Pink Punk
- 2DBB86
≈ Aztec Jade
类似色 -30° +30°
- DB7AB7
Pink Punk
- BE84DE
≈ Purception
- E97887
≈ Passion Pink
三角配色 +120° +240°
- DB7AB7
Pink Punk
- B1A31E
≈ Venom
- 00B1DB
≈ Blue Atoll
分裂互补色 +150° +210°
- DB7AB7
Pink Punk
- 7DB251
≈ Lost Golfer
- 00B7B4
≈ Swagger
四角配色 +90° +180° +270°
- DB7AB7
Pink Punk
- D49022
≈ Vibrant Amber
- 2DBB86
≈ Aztec Jade
- 5BA3F5
≈ Feather Star
对比度与无障碍
Ag
Fail白底
WCAG 2.80:1 · APCA Lc 54
Ag
AAA黑底
WCAG 7.47:1 · APCA Lc 48
最佳文字颜色: #000000
WCAG 7.47:1 (AAA) · APCA Lc 48
Contrast pairs
代码片段
CSS
:root {
--pink-punk: #db7ab7;
--pink-punk-rgb: 219 122 183;
--pink-punk-oklch: oklch(0.705 0.141 342.9);
}
.element {
color: var(--pink-punk);
background-color: hsl(322 57% 67%);
border-color: oklch(0.705 0.141 342.9);
}Tailwind CSS v4
@theme {
--color-pink-punk: #db7ab7;
--color-pink-punk-50: #ffe6ff;
--color-pink-punk-100: #ffd6f3;
--color-pink-punk-200: #ffbce2;
--color-pink-punk-300: #eb9ac8;
--color-pink-punk-400: #d77bb4;
--color-pink-punk-500: #c35b9f;
--color-pink-punk-600: #a54e86;
--color-pink-punk-700: #843e6b;
--color-pink-punk-800: #622c51;
--color-pink-punk-900: #451e38;
--color-pink-punk-950: #2c0d23;
}SCSS
$pink-punk: #db7ab7;
$pink-punk-rgb: 219, 122, 183;
$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);
}