#CA1997#CA1997

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

Color values

HEX#CA1997
RGBrgb(202, 25, 151)
HSLhsl(317, 78%, 45%)
HSVhsv(317, 88%, 79%)
CMYKcmyk(0%, 87.6%, 25.2%, 20.8%)
CIE-LABlab(46.30, 73.01, -23.69)
CIE-LCHlch(46.30, 76.76, 342.02°)
OKLaboklab(56.78% 0.2216 -0.0634)
OKLCHoklch(56.78% 0.23 344)
XYZxyz(30.2920, 15.4897, 30.6667)
Luminance0.1549 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA1997 #19CA4C
analogous
#A519CA #CA1997 #CA193F
triadic
#CA1997 #97CA19 #1997CA
tetradic
#CA1997 #CAA519 #19CA4C #193FCA
square
#CA1997 #CAA519 #19CA4C #193FCA
split-complementary
#CA1997 #3FCA19 #19CAA5
monochromatic
#5D0C46 #94126E #CA1997 #E73AB5 #ED70C9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CA1997#FFFFFF#000000##FFFFFF
##CA19971.005.134.105.13
#FFFFFF5.131.0021.001.00
#0000004.1021.001.0021.00
##FFFFFF5.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#365C9A
Deuteranopia (green-blind)
#6E7893
Tritanopia (blue-blind)
#D8175B
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #ca1997;
/* rgb */ color: rgb(202, 25, 151);
/* oklch */ color: oklch(56.8% 0.230 344.0);
Tailwind
colors: {
  custom: {
    50: '#df71b6',
    500: '#ca1997',
    950: '#000000',
  },
}
SCSS
$custom: #ca1997;
$custom-light: #df71b6;
$custom-dark: #000000;
JSON
{
  "hex": "#ca1997",
  "rgb": {
    "r": 202,
    "g": 25,
    "b": 151
  },
  "hsl": {
    "h": 317.288,
    "s": 77.974,
    "l": 44.51
  },
  "oklch": {
    "l": 0.56784,
    "c": 0.23048,
    "h": 344
  },
  "luminance": 0.15486
}

Semantic roles & 50–950 ramp

primary
#CA1997
secondary
#6BD489
accent
#F46B33
background
#FEF7FB
surface
#FDEDF6
border
#D5C8D0
text
#160911
muted
#847B80

Preview Lab

Preview with #CA1997

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

Preview Lab → · Contrast checker → · Palette generator →

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