#C239A8#C239A8

#C239A8 is a mid, highly saturated pink. Relative luminance 0.172; OKLCH L 58.4% C 0.209 H 336.6°. Best body text is #FFFFFF at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#C239A8
RGBrgb(194, 57, 168)
HSLhsl(311, 55%, 49%)
HSVhsv(311, 71%, 76%)
CMYKcmyk(0%, 70.6%, 13.4%, 23.9%)
CIE-LABlab(48.54, 65.15, -30.44)
CIE-LCHlch(48.54, 71.91, 334.96°)
OKLaboklab(58.39% 0.1914 -0.0828)
OKLCHoklch(58.39% 0.209 336.6)
XYZxyz(30.7796, 17.2255, 38.7420)
Luminance0.1722 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C239A8 #39C253
analogous
#9839C2 #C239A8 #C23964
triadic
#C239A8 #A8C239 #39A8C2
tetradic
#C239A8 #C29839 #39C253 #3964C2
square
#C239A8 #C29839 #39C253 #3964C2
split-complementary
#C239A8 #64C239 #39C298
monochromatic
#631D56 #932B7F #C239A8 #D266BE #E095D2

Accessibility & contrast

On white

4.72
#C239A8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.44
#C239A8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C239A8
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C239A8#FFFFFF#000000##FFFFFF
##C239A81.004.724.444.72
#FFFFFF4.721.0021.001.00
#0000004.4421.001.0021.00
##FFFFFF4.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C66AB
Deuteranopia (green-blind)
#6A7BA5
Tritanopia (blue-blind)
#CC416C
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #c239a8;
/* rgb */ color: rgb(194, 57, 168);
/* oklch */ color: oklch(58.4% 0.209 336.6);
Tailwind
colors: {
  custom: {
    50: '#d87bc2',
    500: '#c239a8',
    950: '#000000',
  },
}
SCSS
$custom: #c239a8;
$custom-light: #d87bc2;
$custom-dark: #000000;
JSON
{
  "hex": "#c239a8",
  "rgb": {
    "r": 194,
    "g": 57,
    "b": 168
  },
  "hsl": {
    "h": 311.387,
    "s": 54.582,
    "l": 49.216
  },
  "oklch": {
    "l": 0.58392,
    "c": 0.20852,
    "h": 336.6
  },
  "luminance": 0.17223
}

Semantic roles & 50–950 ramp

primary
#C239A8
secondary
#8BCB98
accent
#DE664A
background
#FDF8FB
surface
#FBEFF7
border
#D4CAD0
text
#150A12
muted
#837C81

Preview Lab

Preview with #C239A8

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#C239A8 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva