#CA5797#CA5797

#CA5797 is a light, vivid pink. Relative luminance 0.216; OKLCH L 62.1% C 0.162 H 348.3°. Best body text is #000000 at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#CA5797
RGBrgb(202, 87, 151)
HSLhsl(327, 52%, 57%)
HSVhsv(327, 57%, 79%)
CMYKcmyk(0%, 56.9%, 25.2%, 20.8%)
CIE-LABlab(53.61, 52.62, -12.52)
CIE-LCHlch(53.61, 54.09, 346.62°)
OKLaboklab(62.13% 0.1588 -0.0328)
OKLCHoklch(62.13% 0.162 348.3)
XYZxyz(33.3524, 21.6104, 31.6868)
Luminance0.2161 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA5797 #57CA8A
analogous
#C457CA #CA5797 #CA575E
triadic
#CA5797 #97CA57 #5797CA
tetradic
#CA5797 #CAC457 #57CA8A #575ECA
square
#CA5797 #CAC457 #57CA8A #575ECA
split-complementary
#CA5797 #5ECA57 #57CAC4
monochromatic
#7F2858 #AD3779 #CA5797 #D986B4 #E7B4D1

Accessibility & contrast

On white

3.95
#CA5797 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##CA5797#FFFFFF#000000##000000
##CA57971.003.955.325.32
#FFFFFF3.951.0021.0021.00
#0000005.3221.001.001.00
##0000005.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#647499
Deuteranopia (green-blind)
#838794
Tritanopia (blue-blind)
#D75470
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #ca5797;
/* rgb */ color: rgb(202, 87, 151);
/* oklch */ color: oklch(62.1% 0.162 348.3);
Tailwind
colors: {
  custom: {
    50: '#dd8bb5',
    500: '#ca5797',
    950: '#000000',
  },
}
SCSS
$custom: #ca5797;
$custom-light: #dd8bb5;
$custom-dark: #000000;
JSON
{
  "hex": "#ca5797",
  "rgb": {
    "r": 202,
    "g": 87,
    "b": 151
  },
  "hsl": {
    "h": 326.609,
    "s": 52.036,
    "l": 56.667
  },
  "oklch": {
    "l": 0.62132,
    "c": 0.1621,
    "h": 348.3
  },
  "luminance": 0.21607
}

Semantic roles & 50–950 ramp

primary
#CA5797
secondary
#A7D6BC
accent
#DB8C4C
background
#FDF8FB
surface
#FBF0F6
border
#D4CBD0
text
#150C11
muted
#837D80

Preview Lab

Preview with #CA5797

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

Preview Lab → · Contrast checker → · Palette generator →

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