#C239A2#C239A2

#C239A2 is a mid, highly saturated pink. Relative luminance 0.170; OKLCH L 58.1% C 0.204 H 338.8°. Best body text is #FFFFFF at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#C239A2
RGBrgb(194, 57, 162)
HSLhsl(314, 55%, 49%)
HSVhsv(314, 71%, 76%)
CMYKcmyk(0%, 70.6%, 16.5%, 23.9%)
CIE-LABlab(48.27, 64.29, -27.32)
CIE-LCHlch(48.27, 69.85, 336.98°)
OKLaboklab(58.1% 0.1906 -0.0739)
OKLCHoklch(58.1% 0.204 338.8)
XYZxyz(30.2335, 17.0071, 35.8658)
Luminance0.1700 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C239A2 #39C259
analogous
#9E39C2 #C239A2 #C2395D
triadic
#C239A2 #A2C239 #39A2C2
tetradic
#C239A2 #C29E39 #39C259 #395DC2
square
#C239A2 #C29E39 #39C259 #395DC2
split-complementary
#C239A2 #5DC239 #39C29E
monochromatic
#631D53 #932B7B #C239A2 #D266B9 #E095CF

Accessibility & contrast

On white

4.77
#C239A2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.40
#C239A2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C239A2
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C239A2#FFFFFF#000000##FFFFFF
##C239A21.004.774.404.77
#FFFFFF4.771.0021.001.00
#0000004.4021.001.0021.00
##FFFFFF4.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4065A5
Deuteranopia (green-blind)
#6C7A9F
Tritanopia (blue-blind)
#CD3F69
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #c239a2;
/* rgb */ color: rgb(194, 57, 162);
/* oklch */ color: oklch(58.1% 0.204 338.8);
Tailwind
colors: {
  custom: {
    50: '#d87bbe',
    500: '#c239a2',
    950: '#000000',
  },
}
SCSS
$custom: #c239a2;
$custom-light: #d87bbe;
$custom-dark: #000000;
JSON
{
  "hex": "#c239a2",
  "rgb": {
    "r": 194,
    "g": 57,
    "b": 162
  },
  "hsl": {
    "h": 314.015,
    "s": 54.582,
    "l": 49.216
  },
  "oklch": {
    "l": 0.58104,
    "c": 0.20444,
    "h": 338.8
  },
  "luminance": 0.17004
}

Semantic roles & 50–950 ramp

primary
#C239A2
secondary
#8BCB9A
accent
#DE6C4A
background
#FDF7FB
surface
#FBEEF6
border
#D4C9D0
text
#150A12
muted
#837C81

Preview Lab

Preview with #C239A2

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

Preview Lab → · Contrast checker → · Palette generator →

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