#CA159B#CA159B

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

Color values

HEX#CA159B
RGBrgb(202, 21, 155)
HSLhsl(316, 81%, 44%)
HSVhsv(316, 90%, 79%)
CMYKcmyk(0%, 89.6%, 23.3%, 20.8%)
CIE-LABlab(46.26, 74.10, -26.15)
CIE-LCHlch(46.26, 78.58, 340.56°)
OKLaboklab(56.82% 0.2241 -0.0703)
OKLCHoklch(56.82% 0.235 342.6)
XYZxyz(30.5429, 15.4629, 32.3802)
Luminance0.1546 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA159B #15CA44
analogous
#9E15CA #CA159B #CA1540
triadic
#CA159B #9BCA15 #159BCA
tetradic
#CA159B #CA9E15 #15CA44 #1540CA
square
#CA159B #CA9E15 #15CA44 #1540CA
split-complementary
#CA159B #40CA15 #15CA9E
monochromatic
#5B0946 #930F70 #CA159B #EA32BA #EF6ACD

Accessibility & contrast

On white

5.13
#CA159B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #CA159B
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA159B#FFFFFF#000000##FFFFFF
##CA159B1.005.134.095.13
#FFFFFF5.131.0021.001.00
#0000004.0921.001.0021.00
##FFFFFF5.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#315C9E
Deuteranopia (green-blind)
#6C7797
Tritanopia (blue-blind)
#D7185C
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #ca159b;
/* rgb */ color: rgb(202, 21, 155);
/* oklch */ color: oklch(56.8% 0.235 342.6);
Tailwind
colors: {
  custom: {
    50: '#df70b8',
    500: '#ca159b',
    950: '#000000',
  },
}
SCSS
$custom: #ca159b;
$custom-light: #df70b8;
$custom-dark: #000000;
JSON
{
  "hex": "#ca159b",
  "rgb": {
    "r": 202,
    "g": 21,
    "b": 155
  },
  "hsl": {
    "h": 315.58,
    "s": 81.166,
    "l": 43.725
  },
  "oklch": {
    "l": 0.56816,
    "c": 0.23482,
    "h": 342.6
  },
  "luminance": 0.15459
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CA159B

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

Preview Lab → · Contrast checker → · Palette generator →

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