#CA397E#CA397E

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

Color values

HEX#CA397E
RGBrgb(202, 57, 126)
HSLhsl(331, 58%, 51%)
HSVhsv(331, 72%, 79%)
CMYKcmyk(0%, 71.8%, 37.6%, 20.8%)
CIE-LABlab(48.25, 61.92, -5.61)
CIE-LCHlch(48.25, 62.18, 354.83°)
OKLaboklab(57.89% 0.1899 -0.014)
OKLCHoklch(57.89% 0.19 355.8)
XYZxyz(29.5881, 16.9928, 21.4564)
Luminance0.1699 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA397E #39CA85
analogous
#CA39C7 #CA397E #CA3C39
triadic
#CA397E #7ECA39 #397ECA
tetradic
#CA397E #C7CA39 #39CA85 #3C39CA
square
#CA397E #C7CA39 #39CA85 #3C39CA
split-complementary
#CA397E #39CA3C #39C7CA
monochromatic
#6C1D42 #9C2A60 #CA397E #D7699D #E49ABD

Accessibility & contrast

On white

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

On black

4.40
#CA397E on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##CA397E#FFFFFF#000000##FFFFFF
##CA397E1.004.784.404.78
#FFFFFF4.781.0021.001.00
#0000004.4021.001.0021.00
##FFFFFF4.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#556180
Deuteranopia (green-blind)
#7D7C7B
Tritanopia (blue-blind)
#DA2957
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #ca397e;
/* rgb */ color: rgb(202, 57, 126);
/* oklch */ color: oklch(57.9% 0.190 355.8);
Tailwind
colors: {
  custom: {
    50: '#df7ba3',
    500: '#ca397e',
    950: '#000000',
  },
}
SCSS
$custom: #ca397e;
$custom-light: #df7ba3;
$custom-dark: #000000;
JSON
{
  "hex": "#ca397e",
  "rgb": {
    "r": 202,
    "g": 57,
    "b": 126
  },
  "hsl": {
    "h": 331.448,
    "s": 57.769,
    "l": 50.784
  },
  "oklch": {
    "l": 0.57894,
    "c": 0.19044,
    "h": 355.8
  },
  "luminance": 0.16989
}

Semantic roles & 50–950 ramp

primary
#CA397E
secondary
#8FD0B1
accent
#E19847
background
#FEF7FA
surface
#FDEEF3
border
#D5C9CD
text
#160A0F
muted
#847C7F

Preview Lab

Preview with #CA397E

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

Preview Lab → · Contrast checker → · Palette generator →

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