#CA4E87#CA4E87

#CA4E87 is a mid, vivid pink. Relative luminance 0.198; OKLCH L 60.4% C 0.167 H 354.7°. Best body text is #000000 at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#CA4E87
RGBrgb(202, 78, 135)
HSLhsl(332, 54%, 55%)
HSVhsv(332, 61%, 79%)
CMYKcmyk(0%, 61.4%, 33.2%, 20.8%)
CIE-LABlab(51.56, 54.64, -6.10)
CIE-LCHlch(51.56, 54.98, 353.63°)
OKLaboklab(60.44% 0.1666 -0.0154)
OKLCHoklch(60.44% 0.167 354.7)
XYZxyz(31.4563, 19.7579, 25.0740)
Luminance0.1976 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA4E87 #4ECA91
analogous
#CA4EC5 #CA4E87 #CA534E
triadic
#CA4E87 #87CA4E #4E87CA
tetradic
#CA4E87 #C5CA4E #4ECA91 #534ECA
square
#CA4E87 #C5CA4E #4ECA91 #534ECA
split-complementary
#CA4E87 #4ECA53 #4EC5CA
monochromatic
#79244B #A83269 #CA4E87 #D87DA7 #E6ACC7

Accessibility & contrast

On white

4.24
#CA4E87 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.95
#CA4E87 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA4E87
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA4E87#FFFFFF#000000##000000
##CA4E871.004.244.954.95
#FFFFFF4.241.0021.0021.00
#0000004.9521.001.001.00
##0000004.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#616D89
Deuteranopia (green-blind)
#838384
Tritanopia (blue-blind)
#D94565
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #ca4e87;
/* rgb */ color: rgb(202, 78, 135);
/* oklch */ color: oklch(60.4% 0.167 354.7);
Tailwind
colors: {
  custom: {
    50: '#de86a9',
    500: '#ca4e87',
    950: '#000000',
  },
}
SCSS
$custom: #ca4e87;
$custom-light: #de86a9;
$custom-dark: #000000;
JSON
{
  "hex": "#ca4e87",
  "rgb": {
    "r": 202,
    "g": 78,
    "b": 135
  },
  "hsl": {
    "h": 332.419,
    "s": 53.913,
    "l": 54.902
  },
  "oklch": {
    "l": 0.60435,
    "c": 0.16728,
    "h": 354.7
  },
  "luminance": 0.19755
}

Semantic roles & 50–950 ramp

primary
#CA4E87
secondary
#A0D4BC
accent
#DD9A4B
background
#FEF8FA
surface
#FCF0F4
border
#D5CBCE
text
#160C10
muted
#847D7F

Preview Lab

Preview with #CA4E87

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

Preview Lab → · Contrast checker → · Palette generator →

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