#C239A7#C239A7

#C239A7 is a mid, highly saturated pink. Relative luminance 0.172; OKLCH L 58.3% C 0.208 H 337.0°. Best body text is #FFFFFF at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#C239A7
RGBrgb(194, 57, 167)
HSLhsl(312, 55%, 49%)
HSVhsv(312, 71%, 76%)
CMYKcmyk(0%, 70.6%, 13.9%, 23.9%)
CIE-LABlab(48.50, 65.01, -29.92)
CIE-LCHlch(48.50, 71.56, 335.28°)
OKLaboklab(58.34% 0.1913 -0.0813)
OKLCHoklch(58.34% 0.208 337)
XYZxyz(30.6868, 17.1884, 38.2532)
Luminance0.1719 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C239A7 #39C254
analogous
#9939C2 #C239A7 #C23963
triadic
#C239A7 #A7C239 #39A7C2
tetradic
#C239A7 #C29939 #39C254 #3963C2
square
#C239A7 #C29939 #39C254 #3963C2
split-complementary
#C239A7 #63C239 #39C299
monochromatic
#631D56 #932B7E #C239A7 #D266BD #E095D1

Accessibility & contrast

On white

4.73
#C239A7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #C239A7
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C239A7#FFFFFF#000000##FFFFFF
##C239A71.004.734.444.73
#FFFFFF4.731.0021.001.00
#0000004.4421.001.0021.00
##FFFFFF4.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D66AA
Deuteranopia (green-blind)
#6A7BA4
Tritanopia (blue-blind)
#CC416B
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #c239a7;
/* rgb */ color: rgb(194, 57, 167);
/* oklch */ color: oklch(58.3% 0.208 337.0);
Tailwind
colors: {
  custom: {
    50: '#d87bc1',
    500: '#c239a7',
    950: '#000000',
  },
}
SCSS
$custom: #c239a7;
$custom-light: #d87bc1;
$custom-dark: #000000;
JSON
{
  "hex": "#c239a7",
  "rgb": {
    "r": 194,
    "g": 57,
    "b": 167
  },
  "hsl": {
    "h": 311.825,
    "s": 54.582,
    "l": 49.216
  },
  "oklch": {
    "l": 0.58343,
    "c": 0.20784,
    "h": 337
  },
  "luminance": 0.17186
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C239A7

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

Preview Lab → · Contrast checker → · Palette generator →

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