#CA5798#CA5798

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

Color values

HEX#CA5798
RGBrgb(202, 87, 152)
HSLhsl(326, 52%, 57%)
HSVhsv(326, 57%, 79%)
CMYKcmyk(0%, 56.9%, 24.8%, 20.8%)
CIE-LABlab(53.65, 52.76, -13.05)
CIE-LCHlch(53.65, 54.35, 346.10°)
OKLaboklab(62.17% 0.159 -0.0343)
OKLCHoklch(62.17% 0.163 347.8)
XYZxyz(33.4340, 21.6430, 32.1164)
Luminance0.2164 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA5798 #57CA89
analogous
#C357CA #CA5798 #CA575F
triadic
#CA5798 #98CA57 #5798CA
tetradic
#CA5798 #CAC357 #57CA89 #575FCA
square
#CA5798 #CAC357 #57CA89 #575FCA
split-complementary
#CA5798 #5FCA57 #57CAC3
monochromatic
#7F2859 #AD377A #CA5798 #D986B5 #E7B4D1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CA5798#FFFFFF#000000##000000
##CA57981.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)
#63749A
Deuteranopia (green-blind)
#838895
Tritanopia (blue-blind)
#D75471
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #ca5798;
/* rgb */ color: rgb(202, 87, 152);
/* oklch */ color: oklch(62.2% 0.163 347.8);
Tailwind
colors: {
  custom: {
    50: '#dd8bb6',
    500: '#ca5798',
    950: '#000000',
  },
}
SCSS
$custom: #ca5798;
$custom-light: #dd8bb6;
$custom-dark: #000000;
JSON
{
  "hex": "#ca5798",
  "rgb": {
    "r": 202,
    "g": 87,
    "b": 152
  },
  "hsl": {
    "h": 326.087,
    "s": 52.036,
    "l": 56.667
  },
  "oklch": {
    "l": 0.62169,
    "c": 0.16268,
    "h": 347.8
  },
  "luminance": 0.2164
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CA5798

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

Preview Lab → · Contrast checker → · Palette generator →

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