#CD34A1#CD34A1

#CD34A1 is a mid, highly saturated pink. Relative luminance 0.180; OKLCH L 59.3% C 0.216 H 342.2°. Best body text is #000000 at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#CD34A1
RGBrgb(205, 52, 161)
HSLhsl(317, 60%, 50%)
HSVhsv(317, 75%, 80%)
CMYKcmyk(0%, 74.6%, 21.5%, 19.6%)
CIE-LABlab(49.51, 68.48, -24.65)
CIE-LCHlch(49.51, 72.78, 340.20°)
OKLaboklab(59.34% 0.2058 -0.0662)
OKLCHoklch(59.34% 0.216 342.2)
XYZxyz(32.8390, 18.0117, 35.4585)
Luminance0.1801 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD34A1 #34CD60
analogous
#AC34CD #CD34A1 #CD3454
triadic
#CD34A1 #A1CD34 #34A1CD
tetradic
#CD34A1 #CDAC34 #34CD60 #3454CD
square
#CD34A1 #CDAC34 #34CD60 #3454CD
split-complementary
#CD34A1 #54CD34 #34CDAC
monochromatic
#6C1B55 #9D277B #CD34A1 #D965B8 #E596CE

Accessibility & contrast

On white

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

On black

4.60
#CD34A1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD34A1
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD34A1#FFFFFF#000000##000000
##CD34A11.004.564.604.60
#FFFFFF4.561.0021.0021.00
#0000004.6021.001.001.00
##0000004.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#4366A4
Deuteranopia (green-blind)
#737F9E
Tritanopia (blue-blind)
#DA3667
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #cd34a1;
/* rgb */ color: rgb(205, 52, 161);
/* oklch */ color: oklch(59.3% 0.216 342.2);
Tailwind
colors: {
  custom: {
    50: '#e17abd',
    500: '#cd34a1',
    950: '#000000',
  },
}
SCSS
$custom: #cd34a1;
$custom-light: #e17abd;
$custom-dark: #000000;
JSON
{
  "hex": "#cd34a1",
  "rgb": {
    "r": 205,
    "g": 52,
    "b": 161
  },
  "hsl": {
    "h": 317.255,
    "s": 60.474,
    "l": 50.392
  },
  "oklch": {
    "l": 0.59341,
    "c": 0.21619,
    "h": 342.2
  },
  "luminance": 0.18008
}

Semantic roles & 50–950 ramp

primary
#CD34A1
secondary
#8CD1A0
accent
#E47244
background
#FEF8FB
surface
#FDEFF6
border
#D5CAD0
text
#160A12
muted
#847C81

Preview Lab

Preview with #CD34A1

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

Preview Lab → · Contrast checker → · Palette generator →

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