#CA399D#CA399D

#CA399D is a mid, highly saturated pink. Relative luminance 0.179; OKLCH L 59.1% C 0.206 H 343.0°. Best body text is #000000 at 4.58:1 contrast (WCAG AA passes).

Color values

HEX#CA399D
RGBrgb(202, 57, 157)
HSLhsl(319, 58%, 51%)
HSVhsv(319, 72%, 79%)
CMYKcmyk(0%, 71.8%, 22.3%, 20.8%)
CIE-LABlab(49.40, 65.60, -22.49)
CIE-LCHlch(49.40, 69.35, 341.08°)
OKLaboklab(59.11% 0.1974 -0.0602)
OKLCHoklch(59.11% 0.206 343)
XYZxyz(31.9072, 17.9204, 33.6704)
Luminance0.1792 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA399D #39CA66
analogous
#AF39CA #CA399D #CA3954
triadic
#CA399D #9DCA39 #399DCA
tetradic
#CA399D #CAAF39 #39CA66 #3954CA
square
#CA399D #CAAF39 #39CA66 #3954CA
split-complementary
#CA399D #54CA39 #39CAAF
monochromatic
#6C1D53 #9C2A79 #CA399D #D769B5 #E49ACD

Accessibility & contrast

On white

4.58
#CA399D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.58
#CA399D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA399D
4.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA399D#FFFFFF#000000##000000
##CA399D1.004.584.584.58
#FFFFFF4.581.0021.0021.00
#0000004.5821.001.001.00
##0000004.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4866A0
Deuteranopia (green-blind)
#747E9A
Tritanopia (blue-blind)
#D73966
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #ca399d;
/* rgb */ color: rgb(202, 57, 157);
/* oklch */ color: oklch(59.1% 0.206 343.0);
Tailwind
colors: {
  custom: {
    50: '#de7cba',
    500: '#ca399d',
    950: '#000000',
  },
}
SCSS
$custom: #ca399d;
$custom-light: #de7cba;
$custom-dark: #000000;
JSON
{
  "hex": "#ca399d",
  "rgb": {
    "r": 202,
    "g": 57,
    "b": 157
  },
  "hsl": {
    "h": 318.621,
    "s": 57.769,
    "l": 50.784
  },
  "oklch": {
    "l": 0.59109,
    "c": 0.20639,
    "h": 343
  },
  "luminance": 0.17917
}

Semantic roles & 50–950 ramp

primary
#CA399D
secondary
#8FD0A3
accent
#E17747
background
#FEF8FB
surface
#FCEFF6
border
#D5CAD0
text
#160A11
muted
#847C80

Preview Lab

Preview with #CA399D

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

Preview Lab → · Contrast checker → · Palette generator →

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