Nearest named color · #CB81C9
#CB81C9
Nearest named color: Pink Punk
#CB81C9 (rgb(203 129 201), hsl(302 42% 65%), oklch(0.704 0.131 327.8)) is closest to the named color Pink Punk. See tints, shades, harmonies, WCAG & APCA contrast, and CSS, Tailwind v4 & SCSS code.
#CB81C9
oklch(0.704 0.131 327.8)
Color conversions
- HEX
- #cb81c9
- RGB
- rgb(203 129 201)
- HSL
- hsl(302 42% 65%)
- HWB
- hwb(302 51% 20%)
- OKLCH
- oklch(0.704 0.131 327.8)
- OKLab
- oklab(0.704 0.111 -0.07)
- CIE Lab
- lab(63.81 37.56 -25.41)
- LCH
- lch(63.81 45.35 325.9)
- CMYK
- cmyk(0% 36% 1% 20%)
Tints · Shades · Tones
Tints
- D18ECF
- D69AD4
- DCA7DA
- E1B3DF
- E7C0E5
- ECCCEA
- F1D9EF
- F6E6F5
- FAF2FA
Shades
- B06FAE
- 965E95
- 7D4E7C
- 653E64
- 4D2E4C
- 371F36
- 221222
- 0F060F
- 020102
Tones
- C481C2
- BC82BA
- B582B3
- AD82AC
- A682A4
- 9F829D
- 978196
- 8F818F
- 888187
Color harmonies
Complementary +180°
- CB81C9
Pink Punk
- 62B670
≈ Forest Fern
Analogous -30° +30°
- CB81C9
Pink Punk
- AA8DE6
≈ Middy’s Purple
- E07BA0
≈ Pinking. Fast and Slow
Triadic +120° +240°
- CB81C9
Pink Punk
- C29A2A
≈ Golden Mean
- 00B4C7
≈ Lago Blue
Split-complementary +150° +210°
- CB81C9
Pink Punk
- 99AA42
≈ Persian Belt
- 00B99F
≈ Aare River
Tetradic +90° +180° +270°
- CB81C9
Pink Punk
- DC8945
≈ Touch of Glamour
- 62B670
≈ Forest Fern
- 3FAAE7
≈ High Blue
Contrast & accessibility
Ag
FailOn white
WCAG 2.79:1 · APCA Lc 54
Ag
AAAOn black
WCAG 7.52:1 · APCA Lc 48
Best text color: #000000
WCAG 7.52:1 (AAA) · APCA Lc 48
Contrast pairs
Code snippets
CSS
:root {
--pink-punk: #cb81c9;
--pink-punk-rgb: 203 129 201;
--pink-punk-oklch: oklch(0.704 0.131 327.8);
}
.element {
color: var(--pink-punk);
background-color: hsl(302 42% 65%);
border-color: oklch(0.704 0.131 327.8);
}Tailwind CSS v4
@theme {
--color-pink-punk: #cb81c9;
--color-pink-punk-50: #ffe8ff;
--color-pink-punk-100: #ffd9fd;
--color-pink-punk-200: #f5c1ef;
--color-pink-punk-300: #dd9fd8;
--color-pink-punk-400: #c882c6;
--color-pink-punk-500: #b364b2;
--color-pink-punk-600: #975596;
--color-pink-punk-700: #794478;
--color-pink-punk-800: #59315a;
--color-pink-punk-900: #3e213f;
--color-pink-punk-950: #271028;
}SCSS
$pink-punk: #cb81c9;
$pink-punk-rgb: 203, 129, 201;
$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);
}