Nearest named color · #CC81C5
#CC81C5
Nearest named color: Pink Punk
#CC81C5 (rgb(204 129 197), hsl(306 42% 65%), oklch(0.704 0.128 330.2)) is closest to the named color Pink Punk. See tints, shades, harmonies, WCAG & APCA contrast, and CSS, Tailwind v4 & SCSS code.
#CC81C5
oklch(0.704 0.128 330.2)
Color conversions
- HEX
- #cc81c5
- RGB
- rgb(204 129 197)
- HSL
- hsl(306 42% 65%)
- HWB
- hwb(306 51% 20%)
- OKLCH
- oklch(0.704 0.128 330.2)
- OKLab
- oklab(0.704 0.111 -0.063)
- CIE Lab
- lab(63.8 37.36 -23.16)
- LCH
- lch(63.8 43.96 328.2)
- CMYK
- cmyk(0% 37% 3% 20%)
Tints · Shades · Tones
Tints
- D28ECB
- D79AD1
- DDA7D7
- E2B3DD
- E7C0E2
- ECCCE8
- F1D9EE
- F6E6F4
- FBF2F9
Shades
- B16FAB
- 975E92
- 7E4E79
- 653E61
- 4E2E4B
- 371F35
- 221221
- 0F060E
- 020102
Tones
- C581BE
- BD82B7
- B682B0
- AE82A9
- A782A2
- 9F829B
- 978195
- 90818E
- 888187
Color harmonies
Complementary +180°
- CC81C5
Pink Punk
- 5FB674
≈ Forest Fern
Analogous -30° +30°
- CC81C5
Pink Punk
- AC8CE3
≈ Middy’s Purple
- DF7C9C
≈ Impatient Pink
Triadic +120° +240°
- CC81C5
Pink Punk
- BE9B2F
≈ Gold Taffeta
- 00B3C9
≈ Antigua Blue
Split-complementary +150° +210°
- CC81C5
Pink Punk
- 95AB48
≈ Persian Belt
- 00B9A3
≈ Aare River
Tetradic +90° +180° +270°
- CC81C5
Pink Punk
- D98B45
≈ Coppersmith
- 5FB674
≈ Forest Fern
- 48A9E7
≈ High Blue
Contrast & accessibility
Ag
FailOn white
WCAG 2.79:1 · APCA Lc 54
Ag
AAAOn black
WCAG 7.51:1 · APCA Lc 48
Best text color: #000000
WCAG 7.51:1 (AAA) · APCA Lc 48
Contrast pairs
Code snippets
CSS
:root {
--pink-punk: #cc81c5;
--pink-punk-rgb: 204 129 197;
--pink-punk-oklch: oklch(0.704 0.128 330.2);
}
.element {
color: var(--pink-punk);
background-color: hsl(306 42% 65%);
border-color: oklch(0.704 0.128 330.2);
}Tailwind CSS v4
@theme {
--color-pink-punk: #cc81c5;
--color-pink-punk-50: #ffe8ff;
--color-pink-punk-100: #ffd9fb;
--color-pink-punk-200: #f6c1ed;
--color-pink-punk-300: #de9fd4;
--color-pink-punk-400: #c982c2;
--color-pink-punk-500: #b464ae;
--color-pink-punk-600: #985593;
--color-pink-punk-700: #7a4476;
--color-pink-punk-800: #5a3158;
--color-pink-punk-900: #3f213e;
--color-pink-punk-950: #281027;
}SCSS
$pink-punk: #cc81c5;
$pink-punk-rgb: 204, 129, 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);
}