#CA5B7D#CA5B7D

#CA5B7D is a mid, vivid pink. Relative luminance 0.215; OKLCH L 61.8% C 0.145 H 3.0°. Best body text is #000000 at 5.30:1 contrast (WCAG AA passes).

Color values

HEX#CA5B7D
RGBrgb(202, 91, 125)
HSLhsl(342, 51%, 57%)
HSVhsv(342, 55%, 79%)
CMYKcmyk(0%, 55%, 38.1%, 20.8%)
CIE-LABlab(53.52, 47.47, 2.72)
CIE-LCHlch(53.52, 47.55, 3.27°)
OKLaboklab(61.8% 0.1445 0.0076)
OKLCHoklch(61.8% 0.145 3)
XYZxyz(31.8017, 21.5227, 21.8776)
Luminance0.2152 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA5B7D #5BCAA8
analogous
#CA5BB4 #CA5B7D #CA715B
triadic
#CA5B7D #7DCA5B #5B7DCA
tetradic
#CA5B7D #B4CA5B #5BCAA8 #715BCA
square
#CA5B7D #B4CA5B #5BCAA8 #715BCA
split-complementary
#CA5B7D #5BCA71 #5BB4CA
monochromatic
#812A44 #AF395D #CA5B7D #D989A2 #E8B8C6

Accessibility & contrast

On white

3.96
#CA5B7D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.30
#CA5B7D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA5B7D
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA5B7D#FFFFFF#000000##000000
##CA5B7D1.003.965.305.30
#FFFFFF3.961.0021.0021.00
#0000005.3021.001.001.00
##0000005.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#6F737E
Deuteranopia (green-blind)
#8C887A
Tritanopia (blue-blind)
#D95168
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #ca5b7d;
/* rgb */ color: rgb(202, 91, 125);
/* oklch */ color: oklch(61.8% 0.145 3.0);
Tailwind
colors: {
  custom: {
    50: '#de8da2',
    500: '#ca5b7d',
    950: '#000000',
  },
}
SCSS
$custom: #ca5b7d;
$custom-light: #de8da2;
$custom-dark: #000000;
JSON
{
  "hex": "#ca5b7d",
  "rgb": {
    "r": 202,
    "g": 91,
    "b": 125
  },
  "hsl": {
    "h": 341.622,
    "s": 51.152,
    "l": 57.451
  },
  "oklch": {
    "l": 0.61795,
    "c": 0.14473,
    "h": 3
  },
  "luminance": 0.21519
}

Semantic roles & 50–950 ramp

primary
#CA5B7D
secondary
#AAD7C9
accent
#DBAF4D
background
#FEF8F9
surface
#FCF0F2
border
#D5CBCC
text
#160C0F
muted
#847D7E

Preview Lab

Preview with #CA5B7D

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

Preview Lab → · Contrast checker → · Palette generator →

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