#CA397D#CA397D

#CA397D is a mid, vivid pink. Relative luminance 0.170; OKLCH L 57.9% C 0.190 H 356.2°. Best body text is #FFFFFF at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#CA397D
RGBrgb(202, 57, 125)
HSLhsl(332, 58%, 51%)
HSVhsv(332, 72%, 79%)
CMYKcmyk(0%, 71.8%, 38.1%, 20.8%)
CIE-LABlab(48.22, 61.82, -5.05)
CIE-LCHlch(48.22, 62.02, 355.33°)
OKLaboklab(57.86% 0.1896 -0.0125)
OKLCHoklch(57.86% 0.19 356.2)
XYZxyz(29.5239, 16.9671, 21.1183)
Luminance0.1696 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA397D #39CA86
analogous
#CA39C5 #CA397D #CA3D39
triadic
#CA397D #7DCA39 #397DCA
tetradic
#CA397D #C5CA39 #39CA86 #3D39CA
square
#CA397D #C5CA39 #39CA86 #3D39CA
split-complementary
#CA397D #39CA3D #39C5CA
monochromatic
#6C1D42 #9C2A5F #CA397D #D7699D #E49ABC

Accessibility & contrast

On white

4.78
#CA397D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.39
#CA397D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #CA397D
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA397D#FFFFFF#000000##FFFFFF
##CA397D1.004.784.394.78
#FFFFFF4.781.0021.001.00
#0000004.3921.001.0021.00
##FFFFFF4.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#55617F
Deuteranopia (green-blind)
#7D7C7A
Tritanopia (blue-blind)
#DA2956
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #ca397d;
/* rgb */ color: rgb(202, 57, 125);
/* oklch */ color: oklch(57.9% 0.190 356.2);
Tailwind
colors: {
  custom: {
    50: '#df7ba2',
    500: '#ca397d',
    950: '#000000',
  },
}
SCSS
$custom: #ca397d;
$custom-light: #df7ba2;
$custom-dark: #000000;
JSON
{
  "hex": "#ca397d",
  "rgb": {
    "r": 202,
    "g": 57,
    "b": 125
  },
  "hsl": {
    "h": 331.862,
    "s": 57.769,
    "l": 50.784
  },
  "oklch": {
    "l": 0.57859,
    "c": 0.19003,
    "h": 356.2
  },
  "luminance": 0.16963
}

Semantic roles & 50–950 ramp

primary
#CA397D
secondary
#8FD0B1
accent
#E19947
background
#FEF7F9
surface
#FDEEF2
border
#D5C9CC
text
#160A0F
muted
#847C7E

Preview Lab

Preview with #CA397D

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

Preview Lab → · Contrast checker → · Palette generator →

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