最接近的命名颜色 · #D380B3
#D380B3
最接近的命名颜色: Pink Punk
#D380B3(rgb(211 128 179)、hsl(323 49% 66%)、oklch(0.703 0.12 343.1))最接近命名颜色 Pink Punk。查看浅色调、深色调、和谐色、WCAG 与 APCA 对比度,以及 CSS、Tailwind v4 和 SCSS 代码。
#D380B3
oklch(0.703 0.12 343.1)
颜色转换
- HEX
- #d380b3
- RGB
- rgb(211 128 179)
- HSL
- hsl(323 49% 66%)
- HWB
- hwb(323 50% 17%)
- OKLCH
- oklch(0.703 0.12 343.1)
- OKLab
- oklab(0.703 0.115 -0.035)
- CIE Lab
- lab(63.92 38.02 -12.76)
- LCH
- lch(63.92 40.1 341.4)
- CMYK
- cmyk(0% 39% 15% 17%)
浅色调 · 深色调 · 灰色调
浅色调
- D88DBA
- DD99C2
- E2A6C9
- E7B3D1
- EBBFD9
- F0CCE0
- F4D9E8
- F8E5F0
- FCF2F7
深色调
- B76E9B
- 9C5D84
- 824D6E
- 693D58
- 512E43
- 3A1F2F
- 24121D
- 10060C
- 020101
灰色调
- CB81AE
- C381A9
- BB81A4
- B3819E
- AA8199
- A28194
- 9A818F
- 91818A
- 898085
配色和谐
互补色 +180°
- D380B3
Pink Punk
- 4AB78A
≈ Jade Cream
类似色 -30° +30°
- D380B3
Pink Punk
- BA88D5
≈ Purception
- E07E8A
≈ True Love
三角配色 +120° +240°
- D380B3
Pink Punk
- ADA23F
≈ Martian
- 2DAFD6
≈ Bright Cerulean
分裂互补色 +150° +210°
- D380B3
Pink Punk
- 81AF5F
≈ Jealousy
- 01B6B4
≈ Swagger
四角配色 +90° +180° +270°
- D380B3
Pink Punk
- CC9340
≈ Alameda Ochre
- 4AB78A
≈ Jade Cream
- 67A3E8
≈ Windjammer
对比度与无障碍
Ag
Fail白底
WCAG 2.79:1 · APCA Lc 54
Ag
AAA黑底
WCAG 7.50:1 · APCA Lc 48
最佳文字颜色: #000000
WCAG 7.50:1 (AAA) · APCA Lc 48
Contrast pairs
代码片段
CSS
:root {
--pink-punk: #d380b3;
--pink-punk-rgb: 211 128 179;
--pink-punk-oklch: oklch(0.703 0.12 343.1);
}
.element {
color: var(--pink-punk);
background-color: hsl(323 49% 66%);
border-color: oklch(0.703 0.12 343.1);
}Tailwind CSS v4
@theme {
--color-pink-punk: #d380b3;
--color-pink-punk-50: #ffe8fd;
--color-pink-punk-100: #ffd8f1;
--color-pink-punk-200: #fbc0e0;
--color-pink-punk-300: #e49fc5;
--color-pink-punk-400: #d081b1;
--color-pink-punk-500: #bc639b;
--color-pink-punk-600: #9f5483;
--color-pink-punk-700: #7f4369;
--color-pink-punk-800: #5e304f;
--color-pink-punk-900: #422137;
--color-pink-punk-950: #2a1022;
}SCSS
$pink-punk: #d380b3;
$pink-punk-rgb: 211, 128, 179;
$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);
}