#CA5799#CA5799

#CA5799 is a light, vivid pink. Relative luminance 0.217; OKLCH L 62.2% C 0.163 H 347.4°. Best body text is #000000 at 5.33:1 contrast (WCAG AA passes).

Color values

HEX#CA5799
RGBrgb(202, 87, 153)
HSLhsl(326, 52%, 57%)
HSVhsv(326, 57%, 79%)
CMYKcmyk(0%, 56.9%, 24.3%, 20.8%)
CIE-LABlab(53.68, 52.89, -13.59)
CIE-LCHlch(53.68, 54.61, 345.59°)
OKLaboklab(62.21% 0.1593 -0.0357)
OKLCHoklch(62.21% 0.163 347.4)
XYZxyz(33.5162, 21.6759, 32.5495)
Luminance0.2167 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA5799 #57CA88
analogous
#C157CA #CA5799 #CA5760
triadic
#CA5799 #99CA57 #5799CA
tetradic
#CA5799 #CAC157 #57CA88 #5760CA
square
#CA5799 #CAC157 #57CA88 #5760CA
split-complementary
#CA5799 #60CA57 #57CAC1
monochromatic
#7F285A #AD377B #CA5799 #D986B5 #E7B4D1

Accessibility & contrast

On white

3.94
#CA5799 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.33
#CA5799 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA5799
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA5799#FFFFFF#000000##000000
##CA57991.003.945.335.33
#FFFFFF3.941.0021.0021.00
#0000005.3321.001.001.00
##0000005.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#63749B
Deuteranopia (green-blind)
#838896
Tritanopia (blue-blind)
#D75471
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #ca5799;
/* rgb */ color: rgb(202, 87, 153);
/* oklch */ color: oklch(62.2% 0.163 347.4);
Tailwind
colors: {
  custom: {
    50: '#dd8bb7',
    500: '#ca5799',
    950: '#000000',
  },
}
SCSS
$custom: #ca5799;
$custom-light: #dd8bb7;
$custom-dark: #000000;
JSON
{
  "hex": "#ca5799",
  "rgb": {
    "r": 202,
    "g": 87,
    "b": 153
  },
  "hsl": {
    "h": 325.565,
    "s": 52.036,
    "l": 56.667
  },
  "oklch": {
    "l": 0.62207,
    "c": 0.16326,
    "h": 347.4
  },
  "luminance": 0.21673
}

Semantic roles & 50–950 ramp

primary
#CA5799
secondary
#A7D6BB
accent
#DB894C
background
#FDF8FB
surface
#FBF0F6
border
#D4CBD0
text
#150C11
muted
#837D80

Preview Lab

Preview with #CA5799

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

Preview Lab → · Contrast checker → · Palette generator →

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