#CA5397#CA5397

#CA5397 is a mid, vivid pink. Relative luminance 0.210; OKLCH L 61.6% C 0.168 H 347.8°. Best body text is #000000 at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#CA5397
RGBrgb(202, 83, 151)
HSLhsl(326, 53%, 56%)
HSVhsv(326, 59%, 79%)
CMYKcmyk(0%, 58.9%, 25.2%, 20.8%)
CIE-LABlab(52.93, 54.45, -13.55)
CIE-LCHlch(52.93, 56.11, 346.03°)
OKLaboklab(61.63% 0.1643 -0.0356)
OKLCHoklch(61.63% 0.168 347.8)
XYZxyz(33.0375, 20.9806, 31.5819)
Luminance0.2098 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA5397 #53CA86
analogous
#C153CA #CA5397 #CA535B
triadic
#CA5397 #97CA53 #5397CA
tetradic
#CA5397 #CAC153 #53CA86 #535BCA
square
#CA5397 #CAC153 #53CA86 #535BCA
split-complementary
#CA5397 #5BCA53 #53CAC1
monochromatic
#7C2657 #AB3578 #CA5397 #D882B3 #E7B1D0

Accessibility & contrast

On white

4.04
#CA5397 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.20
#CA5397 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA5397
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA5397#FFFFFF#000000##000000
##CA53971.004.045.205.20
#FFFFFF4.041.0021.0021.00
#0000005.2021.001.001.00
##0000005.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#607199
Deuteranopia (green-blind)
#818694
Tritanopia (blue-blind)
#D7506E
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #ca5397;
/* rgb */ color: rgb(202, 83, 151);
/* oklch */ color: oklch(61.6% 0.168 347.8);
Tailwind
colors: {
  custom: {
    50: '#dd89b5',
    500: '#ca5397',
    950: '#000000',
  },
}
SCSS
$custom: #ca5397;
$custom-light: #dd89b5;
$custom-dark: #000000;
JSON
{
  "hex": "#ca5397",
  "rgb": {
    "r": 202,
    "g": 83,
    "b": 151
  },
  "hsl": {
    "h": 325.714,
    "s": 52.889,
    "l": 55.882
  },
  "oklch": {
    "l": 0.61625,
    "c": 0.16815,
    "h": 347.8
  },
  "luminance": 0.20977
}

Semantic roles & 50–950 ramp

primary
#CA5397
secondary
#A4D5B9
accent
#DC8A4C
background
#FEF8FB
surface
#FCF0F6
border
#D5CBD0
text
#150C11
muted
#847D80

Preview Lab

Preview with #CA5397

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

Preview Lab → · Contrast checker → · Palette generator →

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