#CA159C#CA159C

#CA159C is a mid, highly saturated pink. Relative luminance 0.155; OKLCH L 56.9% C 0.235 H 342.2°. Best body text is #FFFFFF at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#CA159C
RGBrgb(202, 21, 156)
HSLhsl(315, 81%, 44%)
HSVhsv(315, 90%, 79%)
CMYKcmyk(0%, 89.6%, 22.8%, 20.8%)
CIE-LABlab(46.31, 74.22, -26.68)
CIE-LCHlch(46.31, 78.87, 340.23°)
OKLaboklab(56.86% 0.2242 -0.0718)
OKLCHoklch(56.86% 0.235 342.2)
XYZxyz(30.6273, 15.4966, 32.8243)
Luminance0.1549 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA159C #15CA43
analogous
#9D15CA #CA159C #CA1541
triadic
#CA159C #9CCA15 #159CCA
tetradic
#CA159C #CA9D15 #15CA43 #1541CA
square
#CA159C #CA9D15 #15CA43 #1541CA
split-complementary
#CA159C #41CA15 #15CA9D
monochromatic
#5B0946 #930F71 #CA159C #EA32BB #EF6ACE

Accessibility & contrast

On white

5.12
#CA159C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.10
#CA159C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #CA159C
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA159C#FFFFFF#000000##FFFFFF
##CA159C1.005.124.105.12
#FFFFFF5.121.0021.001.00
#0000004.1021.001.0021.00
##FFFFFF5.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#305C9F
Deuteranopia (green-blind)
#6B7898
Tritanopia (blue-blind)
#D7195D
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #ca159c;
/* rgb */ color: rgb(202, 21, 156);
/* oklch */ color: oklch(56.9% 0.235 342.2);
Tailwind
colors: {
  custom: {
    50: '#df70b9',
    500: '#ca159c',
    950: '#000000',
  },
}
SCSS
$custom: #ca159c;
$custom-light: #df70b9;
$custom-dark: #000000;
JSON
{
  "hex": "#ca159c",
  "rgb": {
    "r": 202,
    "g": 21,
    "b": 156
  },
  "hsl": {
    "h": 315.249,
    "s": 81.166,
    "l": 43.725
  },
  "oklch": {
    "l": 0.56863,
    "c": 0.23538,
    "h": 342.2
  },
  "luminance": 0.15493
}

Semantic roles & 50–950 ramp

primary
#CA159C
secondary
#66D582
accent
#F86330
background
#FEF7FB
surface
#FDEDF6
border
#D5C8D0
text
#160911
muted
#847B80

Preview Lab

Preview with #CA159C

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

Preview Lab → · Contrast checker → · Palette generator →

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