#CA239C#CA239C

#CA239C is a mid, highly saturated pink. Relative luminance 0.162; OKLCH L 57.5% C 0.227 H 342.6°. Best body text is #FFFFFF at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#CA239C
RGBrgb(202, 35, 156)
HSLhsl(317, 70%, 46%)
HSVhsv(317, 83%, 79%)
CMYKcmyk(0%, 82.7%, 22.8%, 20.8%)
CIE-LABlab(47.19, 71.67, -25.31)
CIE-LCHlch(47.19, 76.01, 340.55°)
OKLaboklab(57.49% 0.2163 -0.068)
OKLCHoklch(57.49% 0.227 342.6)
XYZxyz(30.9601, 16.1623, 32.9352)
Luminance0.1616 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA239C #23CA51
analogous
#A523CA #CA239C #CA2349
triadic
#CA239C #9CCA23 #239CCA
tetradic
#CA239C #CAA523 #23CA51 #2349CA
square
#CA239C #CAA523 #23CA51 #2349CA
split-complementary
#CA239C #49CA23 #23CAA5
monochromatic
#62114B #961A74 #CA239C #E04AB7 #E97FCC

Accessibility & contrast

On white

4.96
#CA239C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.23
#CA239C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #CA239C
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA239C#FFFFFF#000000##FFFFFF
##CA239C1.004.964.234.96
#FFFFFF4.961.0021.001.00
#0000004.2321.001.0021.00
##FFFFFF4.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#385F9F
Deuteranopia (green-blind)
#6E7998
Tritanopia (blue-blind)
#D7255F
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #ca239c;
/* rgb */ color: rgb(202, 35, 156);
/* oklch */ color: oklch(57.5% 0.227 342.6);
Tailwind
colors: {
  custom: {
    50: '#df74b9',
    500: '#ca239c',
    950: '#000000',
  },
}
SCSS
$custom: #ca239c;
$custom-light: #df74b9;
$custom-dark: #000000;
JSON
{
  "hex": "#ca239c",
  "rgb": {
    "r": 202,
    "g": 35,
    "b": 156
  },
  "hsl": {
    "h": 316.527,
    "s": 70.464,
    "l": 46.471
  },
  "oklch": {
    "l": 0.57494,
    "c": 0.22672,
    "h": 342.6
  },
  "luminance": 0.16159
}

Semantic roles & 50–950 ramp

primary
#CA239C
secondary
#78D190
accent
#ED6C3B
background
#FEF7FB
surface
#FCEEF6
border
#D5C9D0
text
#160911
muted
#847B80

Preview Lab

Preview with #CA239C

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

Preview Lab → · Contrast checker → · Palette generator →

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