#C239AB#C239AB

#C239AB is a mid, highly saturated pink. Relative luminance 0.173; OKLCH L 58.5% C 0.211 H 335.5°. Best body text is #FFFFFF at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#C239AB
RGBrgb(194, 57, 171)
HSLhsl(310, 55%, 49%)
HSVhsv(310, 71%, 76%)
CMYKcmyk(0%, 70.6%, 11.9%, 23.9%)
CIE-LABlab(48.68, 65.59, -31.99)
CIE-LCHlch(48.68, 72.98, 334.00°)
OKLaboklab(58.54% 0.1917 -0.0872)
OKLCHoklch(58.54% 0.211 335.5)
XYZxyz(31.0623, 17.3386, 40.2309)
Luminance0.1734 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C239AB #39C250
analogous
#9539C2 #C239AB #C23967
triadic
#C239AB #ABC239 #39ABC2
tetradic
#C239AB #C29539 #39C250 #3967C2
square
#C239AB #C29539 #39C250 #3967C2
split-complementary
#C239AB #67C239 #39C295
monochromatic
#631D58 #932B81 #C239AB #D266C0 #E095D3

Accessibility & contrast

On white

4.70
#C239AB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.47
#C239AB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C239AB
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C239AB#FFFFFF#000000##FFFFFF
##C239AB1.004.704.474.70
#FFFFFF4.701.0021.001.00
#0000004.4721.001.0021.00
##FFFFFF4.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A67AE
Deuteranopia (green-blind)
#697BA8
Tritanopia (blue-blind)
#CC436E
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #c239ab;
/* rgb */ color: rgb(194, 57, 171);
/* oklch */ color: oklch(58.5% 0.211 335.5);
Tailwind
colors: {
  custom: {
    50: '#d87bc4',
    500: '#c239ab',
    950: '#000000',
  },
}
SCSS
$custom: #c239ab;
$custom-light: #d87bc4;
$custom-dark: #000000;
JSON
{
  "hex": "#c239ab",
  "rgb": {
    "r": 194,
    "g": 57,
    "b": 171
  },
  "hsl": {
    "h": 310.073,
    "s": 54.582,
    "l": 49.216
  },
  "oklch": {
    "l": 0.58539,
    "c": 0.21062,
    "h": 335.5
  },
  "luminance": 0.17336
}

Semantic roles & 50–950 ramp

primary
#C239AB
secondary
#8BCB96
accent
#DE634A
background
#FDF8FC
surface
#FBEFF8
border
#D4CAD1
text
#150A12
muted
#837C81

Preview Lab

Preview with #C239AB

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

Preview Lab → · Contrast checker → · Palette generator →

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