#CA4797#CA4797

#CA4797 is a mid, vivid pink. Relative luminance 0.193; OKLCH L 60.2% C 0.185 H 346.5°. Best body text is #000000 at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#CA4797
RGBrgb(202, 71, 151)
HSLhsl(323, 55%, 54%)
HSVhsv(323, 65%, 79%)
CMYKcmyk(0%, 64.9%, 25.2%, 20.8%)
CIE-LABlab(51.04, 59.60, -16.42)
CIE-LCHlch(51.04, 61.82, 344.60°)
OKLaboklab(60.23% 0.1801 -0.0434)
OKLCHoklch(60.23% 0.185 346.5)
XYZxyz(32.1975, 19.3006, 31.3019)
Luminance0.1930 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA4797 #47CA7A
analogous
#BB47CA #CA4797 #CA4755
triadic
#CA4797 #97CA47 #4797CA
tetradic
#CA4797 #CABB47 #47CA7A #4755CA
square
#CA4797 #CABB47 #47CA7A #4755CA
split-complementary
#CA4797 #55CA47 #47CABB
monochromatic
#752255 #A42F77 #CA4797 #D877B2 #E5A6CD

Accessibility & contrast

On white

4.32
#CA4797 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.86
#CA4797 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA4797
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA4797#FFFFFF#000000##000000
##CA47971.004.324.864.86
#FFFFFF4.321.0021.0021.00
#0000004.8621.001.001.00
##0000004.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#566B99
Deuteranopia (green-blind)
#7C8294
Tritanopia (blue-blind)
#D74469
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #ca4797;
/* rgb */ color: rgb(202, 71, 151);
/* oklch */ color: oklch(60.2% 0.185 346.5);
Tailwind
colors: {
  custom: {
    50: '#de83b5',
    500: '#ca4797',
    950: '#000000',
  },
}
SCSS
$custom: #ca4797;
$custom-light: #de83b5;
$custom-dark: #000000;
JSON
{
  "hex": "#ca4797",
  "rgb": {
    "r": 202,
    "g": 71,
    "b": 151
  },
  "hsl": {
    "h": 323.359,
    "s": 55.274,
    "l": 53.529
  },
  "oklch": {
    "l": 0.60229,
    "c": 0.18528,
    "h": 346.5
  },
  "luminance": 0.19297
}

Semantic roles & 50–950 ramp

primary
#CA4797
secondary
#9AD2B0
accent
#DF8349
background
#FEF8FB
surface
#FCEFF6
border
#D5CAD0
text
#160B11
muted
#847C80

Preview Lab

Preview with #CA4797

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

Preview Lab → · Contrast checker → · Palette generator →

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