#CA4987#CA4987

#CA4987 is a mid, vivid pink. Relative luminance 0.191; OKLCH L 59.9% C 0.174 H 353.9°. Best body text is #000000 at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#CA4987
RGBrgb(202, 73, 135)
HSLhsl(331, 55%, 54%)
HSVhsv(331, 64%, 79%)
CMYKcmyk(0%, 63.9%, 33.2%, 20.8%)
CIE-LABlab(50.77, 56.78, -7.28)
CIE-LCHlch(50.77, 57.24, 352.70°)
OKLaboklab(59.85% 0.1732 -0.0185)
OKLCHoklch(59.85% 0.174 353.9)
XYZxyz(31.1145, 19.0743, 24.9601)
Luminance0.1907 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA4987 #49CA8C
analogous
#CA49C8 #CA4987 #CA4C49
triadic
#CA4987 #87CA49 #4987CA
tetradic
#CA4987 #C8CA49 #49CA8C #4C49CA
square
#CA4987 #C8CA49 #49CA8C #4C49CA
split-complementary
#CA4987 #49CA4C #49C8CA
monochromatic
#76224B #A63069 #CA4987 #D878A6 #E6A8C6

Accessibility & contrast

On white

4.36
#CA4987 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.81
#CA4987 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA4987
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA4987#FFFFFF#000000##000000
##CA49871.004.364.814.81
#FFFFFF4.361.0021.0021.00
#0000004.8121.001.001.00
##0000004.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D6A89
Deuteranopia (green-blind)
#818284
Tritanopia (blue-blind)
#D94062
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #ca4987;
/* rgb */ color: rgb(202, 73, 135);
/* oklch */ color: oklch(59.9% 0.174 353.9);
Tailwind
colors: {
  custom: {
    50: '#de83a9',
    500: '#ca4987',
    950: '#000000',
  },
}
SCSS
$custom: #ca4987;
$custom-light: #de83a9;
$custom-dark: #000000;
JSON
{
  "hex": "#ca4987",
  "rgb": {
    "r": 202,
    "g": 73,
    "b": 135
  },
  "hsl": {
    "h": 331.163,
    "s": 54.894,
    "l": 53.922
  },
  "oklch": {
    "l": 0.5985,
    "c": 0.17424,
    "h": 353.9
  },
  "luminance": 0.19071
}

Semantic roles & 50–950 ramp

primary
#CA4987
secondary
#9CD3B8
accent
#DE974A
background
#FEF8FA
surface
#FCF0F4
border
#D5CBCE
text
#160B10
muted
#847C7F

Preview Lab

Preview with #CA4987

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

Preview Lab → · Contrast checker → · Palette generator →

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