#CA399A#CA399A

#CA399A is a mid, highly saturated pink. Relative luminance 0.178; OKLCH L 59.0% C 0.205 H 344.2°. Best body text is #FFFFFF at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#CA399A
RGBrgb(202, 57, 154)
HSLhsl(320, 58%, 51%)
HSVhsv(320, 72%, 79%)
CMYKcmyk(0%, 71.8%, 23.8%, 20.8%)
CIE-LABlab(49.28, 65.22, -20.89)
CIE-LCHlch(49.28, 68.48, 342.24°)
OKLaboklab(58.98% 0.1969 -0.0557)
OKLCHoklch(58.98% 0.205 344.2)
XYZxyz(31.6542, 17.8192, 32.3380)
Luminance0.1782 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA399A #39CA69
analogous
#B139CA #CA399A #CA3951
triadic
#CA399A #9ACA39 #399ACA
tetradic
#CA399A #CAB139 #39CA69 #3951CA
square
#CA399A #CAB139 #39CA69 #3951CA
split-complementary
#CA399A #51CA39 #39CAB1
monochromatic
#6C1D52 #9C2A76 #CA399A #D769B3 #E49ACB

Accessibility & contrast

On white

4.60
#CA399A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.56
#CA399A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #CA399A
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA399A#FFFFFF#000000##FFFFFF
##CA399A1.004.604.564.60
#FFFFFF4.601.0021.001.00
#0000004.5621.001.0021.00
##FFFFFF4.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#49669D
Deuteranopia (green-blind)
#757E97
Tritanopia (blue-blind)
#D73865
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #ca399a;
/* rgb */ color: rgb(202, 57, 154);
/* oklch */ color: oklch(59.0% 0.205 344.2);
Tailwind
colors: {
  custom: {
    50: '#de7cb8',
    500: '#ca399a',
    950: '#000000',
  },
}
SCSS
$custom: #ca399a;
$custom-light: #de7cb8;
$custom-dark: #000000;
JSON
{
  "hex": "#ca399a",
  "rgb": {
    "r": 202,
    "g": 57,
    "b": 154
  },
  "hsl": {
    "h": 319.862,
    "s": 57.769,
    "l": 50.784
  },
  "oklch": {
    "l": 0.58979,
    "c": 0.20459,
    "h": 344.2
  },
  "luminance": 0.17816
}

Semantic roles & 50–950 ramp

primary
#CA399A
secondary
#8FD0A5
accent
#E17A47
background
#FEF8FB
surface
#FCEFF6
border
#D5CAD0
text
#160A11
muted
#847C80

Preview Lab

Preview with #CA399A

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

Preview Lab → · Contrast checker → · Palette generator →

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