#CA5F87#CA5F87

#CA5F87 is a light, vivid pink. Relative luminance 0.225; OKLCH L 62.7% C 0.142 H 358.5°. Best body text is #000000 at 5.50:1 contrast (WCAG AA passes).

Color values

HEX#CA5F87
RGBrgb(202, 95, 135)
HSLhsl(338, 50%, 58%)
HSVhsv(338, 53%, 79%)
CMYKcmyk(0%, 53%, 33.2%, 20.8%)
CIE-LABlab(54.55, 46.72, -1.70)
CIE-LCHlch(54.55, 46.75, 357.92°)
OKLaboklab(62.66% 0.142 -0.0038)
OKLCHoklch(62.66% 0.142 358.5)
XYZxyz(32.8240, 22.4934, 25.5299)
Luminance0.2249 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA5F87 #5FCAA2
analogous
#CA5FBC #CA5F87 #CA6C5F
triadic
#CA5F87 #87CA5F #5F87CA
tetradic
#CA5F87 #BCCA5F #5FCAA2 #6C5FCA
square
#CA5F87 #BCCA5F #5FCAA2 #6C5FCA
split-complementary
#CA5F87 #5FCA6C #5FBCCA
monochromatic
#832B4C #B13B67 #CA5F87 #D98DA9 #E8BBCC

Accessibility & contrast

On white

3.82
#CA5F87 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.50
#CA5F87 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA5F87
5.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA5F87#FFFFFF#000000##000000
##CA5F871.003.825.505.50
#FFFFFF3.821.0021.0021.00
#0000005.5021.001.001.00
##0000005.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#707688
Deuteranopia (green-blind)
#8B8A85
Tritanopia (blue-blind)
#D8576E
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #ca5f87;
/* rgb */ color: rgb(202, 95, 135);
/* oklch */ color: oklch(62.7% 0.142 358.5);
Tailwind
colors: {
  custom: {
    50: '#dd90a9',
    500: '#ca5f87',
    950: '#000000',
  },
}
SCSS
$custom: #ca5f87;
$custom-light: #dd90a9;
$custom-dark: #000000;
JSON
{
  "hex": "#ca5f87",
  "rgb": {
    "r": 202,
    "g": 95,
    "b": 135
  },
  "hsl": {
    "h": 337.57,
    "s": 50.235,
    "l": 58.235
  },
  "oklch": {
    "l": 0.62661,
    "c": 0.14206,
    "h": 358.5
  },
  "luminance": 0.2249
}

Semantic roles & 50–950 ramp

primary
#CA5F87
secondary
#ADD8C8
accent
#DAA64E
background
#FEF9FA
surface
#FCF1F4
border
#D5CBCE
text
#150D10
muted
#847E7F

Preview Lab

Preview with #CA5F87

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

Preview Lab → · Contrast checker → · Palette generator →

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