#CA5B87#CA5B87

#CA5B87 is a light, vivid pink. Relative luminance 0.218; OKLCH L 62.1% C 0.148 H 357.4°. Best body text is #000000 at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#CA5B87
RGBrgb(202, 91, 135)
HSLhsl(336, 51%, 57%)
HSVhsv(336, 55%, 79%)
CMYKcmyk(0%, 55%, 33.2%, 20.8%)
CIE-LABlab(53.80, 48.66, -2.79)
CIE-LCHlch(53.80, 48.74, 356.72°)
OKLaboklab(62.11% 0.148 -0.0067)
OKLCHoklch(62.11% 0.148 357.4)
XYZxyz(32.4729, 21.7912, 25.4129)
Luminance0.2179 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA5B87 #5BCA9E
analogous
#CA5BBF #CA5B87 #CA665B
triadic
#CA5B87 #87CA5B #5B87CA
tetradic
#CA5B87 #BFCA5B #5BCA9E #665BCA
square
#CA5B87 #BFCA5B #5BCA9E #665BCA
split-complementary
#CA5B87 #5BCA66 #5BBFCA
monochromatic
#812A4C #AF3968 #CA5B87 #D989A9 #E8B8CB

Accessibility & contrast

On white

3.92
#CA5B87 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.36
#CA5B87 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA5B87
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA5B87#FFFFFF#000000##000000
##CA5B871.003.925.365.36
#FFFFFF3.921.0021.0021.00
#0000005.3621.001.001.00
##0000005.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6C7488
Deuteranopia (green-blind)
#898884
Tritanopia (blue-blind)
#D8536C
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #ca5b87;
/* rgb */ color: rgb(202, 91, 135);
/* oklch */ color: oklch(62.1% 0.148 357.4);
Tailwind
colors: {
  custom: {
    50: '#dd8da9',
    500: '#ca5b87',
    950: '#000000',
  },
}
SCSS
$custom: #ca5b87;
$custom-light: #dd8da9;
$custom-dark: #000000;
JSON
{
  "hex": "#ca5b87",
  "rgb": {
    "r": 202,
    "g": 91,
    "b": 135
  },
  "hsl": {
    "h": 336.216,
    "s": 51.152,
    "l": 57.451
  },
  "oklch": {
    "l": 0.62105,
    "c": 0.14816,
    "h": 357.4
  },
  "luminance": 0.21788
}

Semantic roles & 50–950 ramp

primary
#CA5B87
secondary
#AAD7C5
accent
#DBA34D
background
#FEF8FA
surface
#FCF0F4
border
#D5CBCE
text
#160D10
muted
#847D7F

Preview Lab

Preview with #CA5B87

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

Preview Lab → · Contrast checker → · Palette generator →

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