#CA159A#CA159A

#CA159A is a mid, highly saturated pink. Relative luminance 0.154; OKLCH L 56.8% C 0.234 H 342.9°. Best body text is #FFFFFF at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#CA159A
RGBrgb(202, 21, 154)
HSLhsl(316, 81%, 44%)
HSVhsv(316, 90%, 79%)
CMYKcmyk(0%, 89.6%, 23.8%, 20.8%)
CIE-LABlab(46.22, 73.99, -25.62)
CIE-LCHlch(46.22, 78.29, 340.90°)
OKLaboklab(56.77% 0.2239 -0.0688)
OKLCHoklch(56.77% 0.234 342.9)
XYZxyz(30.4593, 15.4294, 31.9397)
Luminance0.1543 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA159A #15CA45
analogous
#9F15CA #CA159A #CA153F
triadic
#CA159A #9ACA15 #159ACA
tetradic
#CA159A #CA9F15 #15CA45 #153FCA
square
#CA159A #CA9F15 #15CA45 #153FCA
split-complementary
#CA159A #3FCA15 #15CA9F
monochromatic
#5B0945 #930F70 #CA159A #EA32B9 #EF6ACC

Accessibility & contrast

On white

5.14
#CA159A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.09
#CA159A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #CA159A
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA159A#FFFFFF#000000##FFFFFF
##CA159A1.005.144.095.14
#FFFFFF5.141.0021.001.00
#0000004.0921.001.0021.00
##FFFFFF5.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#325B9D
Deuteranopia (green-blind)
#6C7796
Tritanopia (blue-blind)
#D8175C
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #ca159a;
/* rgb */ color: rgb(202, 21, 154);
/* oklch */ color: oklch(56.8% 0.234 342.9);
Tailwind
colors: {
  custom: {
    50: '#df70b8',
    500: '#ca159a',
    950: '#000000',
  },
}
SCSS
$custom: #ca159a;
$custom-light: #df70b8;
$custom-dark: #000000;
JSON
{
  "hex": "#ca159a",
  "rgb": {
    "r": 202,
    "g": 21,
    "b": 154
  },
  "hsl": {
    "h": 315.912,
    "s": 81.166,
    "l": 43.725
  },
  "oklch": {
    "l": 0.56769,
    "c": 0.23425,
    "h": 342.9
  },
  "luminance": 0.15426
}

Semantic roles & 50–950 ramp

primary
#CA159A
secondary
#66D583
accent
#F86530
background
#FEF7FB
surface
#FDEDF6
border
#D5C8D0
text
#160911
muted
#847B80

Preview Lab

Preview with #CA159A

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

Preview Lab → · Contrast checker → · Palette generator →

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