最接近的命名颜色 · #CA82C5
#CA82C5
最接近的命名颜色: Pink Punk
#CA82C5(rgb(202 130 197)、hsl(304 40% 65%)、oklch(0.703 0.124 329.3))最接近命名颜色 Pink Punk。查看浅色调、深色调、和谐色、WCAG 与 APCA 对比度,以及 CSS、Tailwind v4 和 SCSS 代码。
#CA82C5
oklch(0.703 0.124 329.3)
颜色转换
- HEX
- #ca82c5
- RGB
- rgb(202 130 197)
- HSL
- hsl(304 40% 65%)
- HWB
- hwb(304 51% 21%)
- OKLCH
- oklch(0.703 0.124 329.3)
- OKLab
- oklab(0.703 0.107 -0.064)
- CIE Lab
- lab(63.78 36.17 -23.23)
- LCH
- lch(63.78 42.98 327.3)
- CMYK
- cmyk(0% 36% 2% 21%)
浅色调 · 深色调 · 灰色调
浅色调
- D08FCB
- D69BD1
- DBA7D7
- E1B4DD
- E6C0E2
- EBCDE8
- F0D9EE
- F5E6F4
- FAF2F9
深色调
- AF70AB
- 955F92
- 7C4E79
- 643E61
- 4D2F4B
- 372035
- 221221
- 0F060E
- 020102
灰色调
- C382BE
- BB82B7
- B483B0
- AD82A9
- A682A2
- 9E829B
- 978295
- 8F818E
- 888187
配色和谐
互补色 +180°
- CA82C5
Pink Punk
- 62B574
≈ Forest Fern
类似色 -30° +30°
- CA82C5
Pink Punk
- AB8DE2
≈ Middy’s Purple
- DD7D9D
≈ Impatient Pink
三角配色 +120° +240°
- CA82C5
Pink Punk
- BE9B34
≈ Gold Taffeta
- 00B3C8
≈ Antigua Blue
分裂互补色 +150° +210°
- CA82C5
Pink Punk
- 97AA4A
≈ Persian Belt
- 19B8A1
≈ Aare River
四角配色 +90° +180° +270°
- CA82C5
Pink Punk
- D88B49
≈ Serape
- 62B574
≈ Forest Fern
- 4AA9E4
≈ High Blue
对比度与无障碍
Ag
Fail白底
WCAG 2.79:1 · APCA Lc 54
Ag
AAA黑底
WCAG 7.51:1 · APCA Lc 48
最佳文字颜色: #000000
WCAG 7.51:1 (AAA) · APCA Lc 48
Contrast pairs
代码片段
CSS
:root {
--pink-punk: #ca82c5;
--pink-punk-rgb: 202 130 197;
--pink-punk-oklch: oklch(0.703 0.124 329.3);
}
.element {
color: var(--pink-punk);
background-color: hsl(304 40% 65%);
border-color: oklch(0.703 0.124 329.3);
}Tailwind CSS v4
@theme {
--color-pink-punk: #ca82c5;
--color-pink-punk-50: #ffe9ff;
--color-pink-punk-100: #ffd9fb;
--color-pink-punk-200: #f4c1ed;
--color-pink-punk-300: #dda0d5;
--color-pink-punk-400: #c783c2;
--color-pink-punk-500: #b365ae;
--color-pink-punk-600: #975693;
--color-pink-punk-700: #794576;
--color-pink-punk-800: #593258;
--color-pink-punk-900: #3e223e;
--color-pink-punk-950: #271127;
}SCSS
$pink-punk: #ca82c5;
$pink-punk-rgb: 202, 130, 197;
$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);
}