#CA34AD#CA34AD

#CA34AD is a mid, highly saturated pink. Relative luminance 0.180; OKLCH L 59.4% C 0.222 H 337.1°. Best body text is #000000 at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#CA34AD
RGBrgb(202, 52, 173)
HSLhsl(312, 59%, 50%)
HSVhsv(312, 74%, 79%)
CMYKcmyk(0%, 74.3%, 14.4%, 20.8%)
CIE-LABlab(49.54, 69.40, -31.74)
CIE-LCHlch(49.54, 76.31, 335.42°)
OKLaboklab(59.44% 0.2046 -0.0863)
OKLCHoklch(59.44% 0.222 337.1)
XYZxyz(33.1286, 18.0328, 41.2630)
Luminance0.1803 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA34AD #34CA51
analogous
#9C34CA #CA34AD #CA3462
triadic
#CA34AD #ADCA34 #34ADCA
tetradic
#CA34AD #CA9C34 #34CA51 #3462CA
square
#CA34AD #CA9C34 #34CA51 #3462CA
split-complementary
#CA34AD #62CA34 #34CA9C
monochromatic
#691B5A #992783 #CA34AD #D764C1 #E495D4

Accessibility & contrast

On white

4.56
#CA34AD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.61
#CA34AD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA34AD
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA34AD#FFFFFF#000000##000000
##CA34AD1.004.564.614.61
#FFFFFF4.561.0021.0021.00
#0000004.6121.001.001.00
##0000004.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#3967B0
Deuteranopia (green-blind)
#6C7EAA
Tritanopia (blue-blind)
#D53D6D
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #ca34ad;
/* rgb */ color: rgb(202, 52, 173);
/* oklch */ color: oklch(59.4% 0.222 337.1);
Tailwind
colors: {
  custom: {
    50: '#de7ac6',
    500: '#ca34ad',
    950: '#000000',
  },
}
SCSS
$custom: #ca34ad;
$custom-light: #de7ac6;
$custom-dark: #000000;
JSON
{
  "hex": "#ca34ad",
  "rgb": {
    "r": 202,
    "g": 52,
    "b": 173
  },
  "hsl": {
    "h": 311.6,
    "s": 59.055,
    "l": 49.804
  },
  "oklch": {
    "l": 0.59439,
    "c": 0.22204,
    "h": 337.1
  },
  "luminance": 0.1803
}

Semantic roles & 50–950 ramp

primary
#CA34AD
secondary
#8BCF98
accent
#E26446
background
#FEF8FC
surface
#FCEFF8
border
#D5CAD1
text
#160A13
muted
#847C82

Preview Lab

Preview with #CA34AD

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

Preview Lab → · Contrast checker → · Palette generator →

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