#CA397C#CA397C

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

Color values

HEX#CA397C
RGBrgb(202, 57, 124)
HSLhsl(332, 58%, 51%)
HSVhsv(332, 72%, 79%)
CMYKcmyk(0%, 71.8%, 38.6%, 20.8%)
CIE-LABlab(48.19, 61.71, -4.49)
CIE-LCHlch(48.19, 61.88, 355.84°)
OKLaboklab(57.83% 0.1893 -0.011)
OKLCHoklch(57.83% 0.19 356.7)
XYZxyz(29.4603, 16.9417, 20.7835)
Luminance0.1694 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA397C #39CA87
analogous
#CA39C4 #CA397C #CA3E39
triadic
#CA397C #7CCA39 #397CCA
tetradic
#CA397C #C4CA39 #39CA87 #3E39CA
square
#CA397C #C4CA39 #39CA87 #3E39CA
split-complementary
#CA397C #39CA3E #39C4CA
monochromatic
#6C1D41 #9C2A5F #CA397C #D7699C #E49ABC

Accessibility & contrast

On white

4.79
#CA397C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #CA397C
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA397C#FFFFFF#000000##FFFFFF
##CA397C1.004.794.394.79
#FFFFFF4.791.0021.001.00
#0000004.3921.001.0021.00
##FFFFFF4.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#55617E
Deuteranopia (green-blind)
#7D7C79
Tritanopia (blue-blind)
#DA2856
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #ca397c;
/* rgb */ color: rgb(202, 57, 124);
/* oklch */ color: oklch(57.8% 0.190 356.7);
Tailwind
colors: {
  custom: {
    50: '#df7ba1',
    500: '#ca397c',
    950: '#000000',
  },
}
SCSS
$custom: #ca397c;
$custom-light: #df7ba1;
$custom-dark: #000000;
JSON
{
  "hex": "#ca397c",
  "rgb": {
    "r": 202,
    "g": 57,
    "b": 124
  },
  "hsl": {
    "h": 332.276,
    "s": 57.769,
    "l": 50.784
  },
  "oklch": {
    "l": 0.57825,
    "c": 0.18964,
    "h": 356.7
  },
  "luminance": 0.16938
}

Semantic roles & 50–950 ramp

primary
#CA397C
secondary
#8FD0B2
accent
#E19A47
background
#FEF7F9
surface
#FDEEF2
border
#D5C9CC
text
#160A0F
muted
#847C7E

Preview Lab

Preview with #CA397C

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

Preview Lab → · Contrast checker → · Palette generator →

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