#CA5A7C#CA5A7C

#CA5A7C is a mid, vivid pink. Relative luminance 0.213; OKLCH L 61.6% C 0.146 H 3.3°. Best body text is #000000 at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#CA5A7C
RGBrgb(202, 90, 124)
HSLhsl(342, 51%, 57%)
HSVhsv(342, 55%, 79%)
CMYKcmyk(0%, 55.4%, 38.6%, 20.8%)
CIE-LABlab(53.31, 47.84, 3.00)
CIE-LCHlch(53.31, 47.94, 3.59°)
OKLaboklab(61.63% 0.1457 0.0084)
OKLCHoklch(61.63% 0.146 3.3)
XYZxyz(31.6532, 21.3274, 21.5145)
Luminance0.2132 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA5A7C #5ACAA8
analogous
#CA5AB4 #CA5A7C #CA705A
triadic
#CA5A7C #7CCA5A #5A7CCA
tetradic
#CA5A7C #B4CA5A #5ACAA8 #705ACA
square
#CA5A7C #B4CA5A #5ACAA8 #705ACA
split-complementary
#CA5A7C #5ACA70 #5AB4CA
monochromatic
#802944 #AF385C #CA5A7C #D988A1 #E8B7C6

Accessibility & contrast

On white

3.99
#CA5A7C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.26
#CA5A7C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA5A7C
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA5A7C#FFFFFF#000000##000000
##CA5A7C1.003.995.265.26
#FFFFFF3.991.0021.0021.00
#0000005.2621.001.001.00
##0000005.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6E727D
Deuteranopia (green-blind)
#8B8779
Tritanopia (blue-blind)
#DA4F67
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #ca5a7c;
/* rgb */ color: rgb(202, 90, 124);
/* oklch */ color: oklch(61.6% 0.146 3.3);
Tailwind
colors: {
  custom: {
    50: '#de8da1',
    500: '#ca5a7c',
    950: '#000000',
  },
}
SCSS
$custom: #ca5a7c;
$custom-light: #de8da1;
$custom-dark: #000000;
JSON
{
  "hex": "#ca5a7c",
  "rgb": {
    "r": 202,
    "g": 90,
    "b": 124
  },
  "hsl": {
    "h": 341.786,
    "s": 51.376,
    "l": 57.255
  },
  "oklch": {
    "l": 0.61628,
    "c": 0.14591,
    "h": 3.3
  },
  "luminance": 0.21324
}

Semantic roles & 50–950 ramp

primary
#CA5A7C
secondary
#A9D7C9
accent
#DBB04D
background
#FEF8F9
surface
#FCF0F2
border
#D5CBCC
text
#160C0F
muted
#847D7E

Preview Lab

Preview with #CA5A7C

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

Preview Lab → · Contrast checker → · Palette generator →

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