#CA39B1#CA39B1

#CA39B1 is a mid, highly saturated pink. Relative luminance 0.187; OKLCH L 60.0% C 0.219 H 335.9°. Best body text is #000000 at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#CA39B1
RGBrgb(202, 57, 177)
HSLhsl(310, 58%, 51%)
HSVhsv(310, 72%, 79%)
CMYKcmyk(0%, 71.8%, 12.4%, 20.8%)
CIE-LABlab(50.29, 68.37, -32.91)
CIE-LCHlch(50.29, 75.88, 334.29°)
OKLaboklab(60.04% 0.2002 -0.0897)
OKLCHoklch(60.04% 0.219 335.9)
XYZxyz(33.7565, 18.6601, 43.4104)
Luminance0.1866 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA39B1 #39CA52
analogous
#9A39CA #CA39B1 #CA3968
triadic
#CA39B1 #B1CA39 #39B1CA
tetradic
#CA39B1 #CA9A39 #39CA52 #3968CA
square
#CA39B1 #CA9A39 #39CA52 #3968CA
split-complementary
#CA39B1 #68CA39 #39CA9A
monochromatic
#6C1D5E #9C2A88 #CA39B1 #D769C4 #E49AD7

Accessibility & contrast

On white

4.44
#CA39B1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.73
#CA39B1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA39B1
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA39B1#FFFFFF#000000##000000
##CA39B11.004.444.734.73
#FFFFFF4.441.0021.0021.00
#0000004.7321.001.001.00
##0000004.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#3A6AB4
Deuteranopia (green-blind)
#6D7FAE
Tritanopia (blue-blind)
#D44371
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #ca39b1;
/* rgb */ color: rgb(202, 57, 177);
/* oklch */ color: oklch(60.0% 0.219 335.9);
Tailwind
colors: {
  custom: {
    50: '#de7dc8',
    500: '#ca39b1',
    950: '#000000',
  },
}
SCSS
$custom: #ca39b1;
$custom-light: #de7dc8;
$custom-dark: #000000;
JSON
{
  "hex": "#ca39b1",
  "rgb": {
    "r": 202,
    "g": 57,
    "b": 177
  },
  "hsl": {
    "h": 310.345,
    "s": 57.769,
    "l": 50.784
  },
  "oklch": {
    "l": 0.60042,
    "c": 0.21939,
    "h": 335.9
  },
  "luminance": 0.18657
}

Semantic roles & 50–950 ramp

primary
#CA39B1
secondary
#8FD09A
accent
#E16147
background
#FEF8FC
surface
#FCEFF8
border
#D5CAD1
text
#160B13
muted
#847C82

Preview Lab

Preview with #CA39B1

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

Preview Lab → · Contrast checker → · Palette generator →

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