#CA5A87#CA5A87

#CA5A87 is a mid, vivid pink. Relative luminance 0.216; OKLCH L 62.0% C 0.150 H 357.2°. Best body text is #000000 at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#CA5A87
RGBrgb(202, 90, 135)
HSLhsl(336, 51%, 57%)
HSVhsv(336, 55%, 79%)
CMYKcmyk(0%, 55.4%, 33.2%, 20.8%)
CIE-LABlab(53.62, 49.14, -3.05)
CIE-LCHlch(53.62, 49.23, 356.44°)
OKLaboklab(61.97% 0.1495 -0.0074)
OKLCHoklch(61.97% 0.15 357.2)
XYZxyz(32.3880, 21.6214, 25.3846)
Luminance0.2162 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA5A87 #5ACA9D
analogous
#CA5ABF #CA5A87 #CA655A
triadic
#CA5A87 #87CA5A #5A87CA
tetradic
#CA5A87 #BFCA5A #5ACA9D #655ACA
square
#CA5A87 #BFCA5A #5ACA9D #655ACA
split-complementary
#CA5A87 #5ACA65 #5ABFCA
monochromatic
#80294C #AF3868 #CA5A87 #D988A9 #E8B7CA

Accessibility & contrast

On white

3.94
#CA5A87 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.32
#CA5A87 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA5A87
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA5A87#FFFFFF#000000##000000
##CA5A871.003.945.325.32
#FFFFFF3.941.0021.0021.00
#0000005.3221.001.001.00
##0000005.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6B7388
Deuteranopia (green-blind)
#898884
Tritanopia (blue-blind)
#D9526B
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #ca5a87;
/* rgb */ color: rgb(202, 90, 135);
/* oklch */ color: oklch(62.0% 0.150 357.2);
Tailwind
colors: {
  custom: {
    50: '#dd8da9',
    500: '#ca5a87',
    950: '#000000',
  },
}
SCSS
$custom: #ca5a87;
$custom-light: #dd8da9;
$custom-dark: #000000;
JSON
{
  "hex": "#ca5a87",
  "rgb": {
    "r": 202,
    "g": 90,
    "b": 135
  },
  "hsl": {
    "h": 335.893,
    "s": 51.376,
    "l": 57.255
  },
  "oklch": {
    "l": 0.61969,
    "c": 0.14967,
    "h": 357.2
  },
  "luminance": 0.21618
}

Semantic roles & 50–950 ramp

primary
#CA5A87
secondary
#A9D7C4
accent
#DBA24D
background
#FEF8FA
surface
#FCF0F4
border
#D5CBCE
text
#160C10
muted
#847D7F

Preview Lab

Preview with #CA5A87

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

Preview Lab → · Contrast checker → · Palette generator →

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