#CA397A#CA397A

#CA397A is a mid, vivid pink. Relative luminance 0.169; OKLCH L 57.8% C 0.189 H 357.6°. Best body text is #FFFFFF at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#CA397A
RGBrgb(202, 57, 122)
HSLhsl(333, 58%, 51%)
HSVhsv(333, 72%, 79%)
CMYKcmyk(0%, 71.8%, 39.6%, 20.8%)
CIE-LABlab(48.12, 61.51, -3.37)
CIE-LCHlch(48.12, 61.60, 356.87°)
OKLaboklab(57.76% 0.1887 -0.0081)
OKLCHoklch(57.76% 0.189 357.6)
XYZxyz(29.3351, 16.8916, 20.1242)
Luminance0.1689 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA397A #39CA89
analogous
#CA39C3 #CA397A #CA4039
triadic
#CA397A #7ACA39 #397ACA
tetradic
#CA397A #C3CA39 #39CA89 #4039CA
square
#CA397A #C3CA39 #39CA89 #4039CA
split-complementary
#CA397A #39CA40 #39C3CA
monochromatic
#6C1D40 #9C2A5D #CA397A #D7699A #E49ABB

Accessibility & contrast

On white

4.80
#CA397A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.38
#CA397A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #CA397A
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA397A#FFFFFF#000000##FFFFFF
##CA397A1.004.804.384.80
#FFFFFF4.801.0021.001.00
#0000004.3821.001.0021.00
##FFFFFF4.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#56617C
Deuteranopia (green-blind)
#7E7C77
Tritanopia (blue-blind)
#DA2755
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #ca397a;
/* rgb */ color: rgb(202, 57, 122);
/* oklch */ color: oklch(57.8% 0.189 357.6);
Tailwind
colors: {
  custom: {
    50: '#df7ba0',
    500: '#ca397a',
    950: '#000000',
  },
}
SCSS
$custom: #ca397a;
$custom-light: #df7ba0;
$custom-dark: #000000;
JSON
{
  "hex": "#ca397a",
  "rgb": {
    "r": 202,
    "g": 57,
    "b": 122
  },
  "hsl": {
    "h": 333.103,
    "s": 57.769,
    "l": 50.784
  },
  "oklch": {
    "l": 0.57758,
    "c": 0.18887,
    "h": 357.6
  },
  "luminance": 0.16888
}

Semantic roles & 50–950 ramp

primary
#CA397A
secondary
#8FD0B3
accent
#E19C47
background
#FEF7F9
surface
#FDEEF2
border
#D5C9CC
text
#160A0E
muted
#847C7E

Preview Lab

Preview with #CA397A

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

Preview Lab → · Contrast checker → · Palette generator →

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