最接近的命名颜色 · #D080C0
#D080C0
最接近的命名颜色: Pink Punk
#D080C0(rgb(208 128 192)、hsl(312 46% 66%)、oklch(0.705 0.128 334.5))最接近命名颜色 Pink Punk。查看浅色调、深色调、和谐色、WCAG 与 APCA 对比度,以及 CSS、Tailwind v4 和 SCSS 代码。
#D080C0
oklch(0.705 0.128 334.5)
颜色转换
- HEX
- #d080c0
- RGB
- rgb(208 128 192)
- HSL
- hsl(312 46% 66%)
- HWB
- hwb(312 50% 18%)
- OKLCH
- oklch(0.705 0.128 334.5)
- OKLab
- oklab(0.705 0.115 -0.055)
- CIE Lab
- lab(63.92 38.57 -20.12)
- LCH
- lch(63.92 43.51 332.5)
- CMYK
- cmyk(0% 38% 8% 18%)
浅色调 · 深色调 · 灰色调
浅色调
- D58DC6
- DB9ACD
- E0A6D3
- E5B3D9
- EABFE0
- EECCE6
- F3D9EC
- F7E5F3
- FBF2F9
深色调
- B56EA7
- 9A5D8E
- 804D76
- 673D5F
- 4F2E49
- 391F34
- 231220
- 10060E
- 020102
灰色调
- C881BA
- C081B3
- B981AD
- B181A6
- A981A0
- A18199
- 998193
- 91818D
- 888086
配色和谐
互补色 +180°
- D080C0
Pink Punk
- 55B77B
≈ Aragon Green
类似色 -30° +30°
- D080C0
Pink Punk
- B28BE0
≈ Middy’s Purple
- E17C96
≈ Frosty Berry
三角配色 +120° +240°
- D080C0
Pink Punk
- B99E30
≈ Pollen Storm
- 00B3CF
≈ Aquarius
分裂互补色 +150° +210°
- D080C0
Pink Punk
- 8FAD4E
≈ Parrot Green
- 00B8A9
≈ Verditer
四角配色 +90° +180° +270°
- D080C0
Pink Punk
- D68D40
≈ Cognac
- 55B77B
≈ Aragon Green
- 52A7EA
≈ Cerulean
对比度与无障碍
Ag
Fail白底
WCAG 2.78:1 · APCA Lc 54
Ag
AAA黑底
WCAG 7.53:1 · APCA Lc 48
最佳文字颜色: #000000
WCAG 7.53:1 (AAA) · APCA Lc 48
Contrast pairs
代码片段
CSS
:root {
--pink-punk: #d080c0;
--pink-punk-rgb: 208 128 192;
--pink-punk-oklch: oklch(0.705 0.128 334.5);
}
.element {
color: var(--pink-punk);
background-color: hsl(312 46% 66%);
border-color: oklch(0.705 0.128 334.5);
}Tailwind CSS v4
@theme {
--color-pink-punk: #d080c0;
--color-pink-punk-50: #ffe8ff;
--color-pink-punk-100: #ffd8f8;
--color-pink-punk-200: #f8c0e9;
--color-pink-punk-300: #e29ed0;
--color-pink-punk-400: #cc80bd;
--color-pink-punk-500: #b862a8;
--color-pink-punk-600: #9c548e;
--color-pink-punk-700: #7d4372;
--color-pink-punk-800: #5c3056;
--color-pink-punk-900: #40213c;
--color-pink-punk-950: #291025;
}SCSS
$pink-punk: #d080c0;
$pink-punk-rgb: 208, 128, 192;
$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);
}