#CA159F#CA159F

#CA159F is a mid, highly saturated pink. Relative luminance 0.156; OKLCH L 57.0% C 0.237 H 341.2°. Best body text is #FFFFFF at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#CA159F
RGBrgb(202, 21, 159)
HSLhsl(314, 81%, 44%)
HSVhsv(314, 90%, 79%)
CMYKcmyk(0%, 89.6%, 21.3%, 20.8%)
CIE-LABlab(46.44, 74.59, -28.26)
CIE-LCHlch(46.44, 79.76, 339.25°)
OKLaboklab(57.01% 0.2245 -0.0763)
OKLCHoklch(57.01% 0.237 341.2)
XYZxyz(30.8844, 15.5995, 34.1787)
Luminance0.1560 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA159F #15CA40
analogous
#9A15CA #CA159F #CA1544
triadic
#CA159F #9FCA15 #159FCA
tetradic
#CA159F #CA9A15 #15CA40 #1544CA
square
#CA159F #CA9A15 #15CA40 #1544CA
split-complementary
#CA159F #44CA15 #15CA9A
monochromatic
#5B0948 #930F73 #CA159F #EA32BE #EF6AD0

Accessibility & contrast

On white

5.10
#CA159F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.12
#CA159F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #CA159F
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA159F#FFFFFF#000000##FFFFFF
##CA159F1.005.104.125.10
#FFFFFF5.101.0021.001.00
#0000004.1221.001.0021.00
##FFFFFF5.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E5CA2
Deuteranopia (green-blind)
#6A789B
Tritanopia (blue-blind)
#D71C5F
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #ca159f;
/* rgb */ color: rgb(202, 21, 159);
/* oklch */ color: oklch(57.0% 0.237 341.2);
Tailwind
colors: {
  custom: {
    50: '#df70bb',
    500: '#ca159f',
    950: '#000000',
  },
}
SCSS
$custom: #ca159f;
$custom-light: #df70bb;
$custom-dark: #000000;
JSON
{
  "hex": "#ca159f",
  "rgb": {
    "r": 202,
    "g": 21,
    "b": 159
  },
  "hsl": {
    "h": 314.254,
    "s": 81.166,
    "l": 43.725
  },
  "oklch": {
    "l": 0.57006,
    "c": 0.2371,
    "h": 341.2
  },
  "luminance": 0.15596
}

Semantic roles & 50–950 ramp

primary
#CA159F
secondary
#66D580
accent
#F86030
background
#FEF7FB
surface
#FDEDF6
border
#D5C8D0
text
#160912
muted
#847B81

Preview Lab

Preview with #CA159F

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

Preview Lab → · Contrast checker → · Palette generator →

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