#CD34A5#CD34A5

#CD34A5 is a mid, highly saturated pink. Relative luminance 0.182; OKLCH L 59.5% C 0.219 H 340.7°. Best body text is #000000 at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#CD34A5
RGBrgb(205, 52, 165)
HSLhsl(316, 60%, 50%)
HSVhsv(316, 75%, 80%)
CMYKcmyk(0%, 74.6%, 19.5%, 19.6%)
CIE-LABlab(49.68, 69.00, -26.75)
CIE-LCHlch(49.68, 74.01, 338.81°)
OKLaboklab(59.52% 0.2064 -0.0721)
OKLCHoklch(59.52% 0.219 340.7)
XYZxyz(33.1974, 18.1551, 37.3460)
Luminance0.1815 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD34A5 #34CD5C
analogous
#A834CD #CD34A5 #CD3459
triadic
#CD34A5 #A5CD34 #34A5CD
tetradic
#CD34A5 #CDA834 #34CD5C #3459CD
square
#CD34A5 #CDA834 #34CD5C #3459CD
split-complementary
#CD34A5 #59CD34 #34CDA8
monochromatic
#6C1B57 #9D277E #CD34A5 #D965BB #E596D1

Accessibility & contrast

On white

4.54
#CD34A5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.63
#CD34A5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD34A5
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD34A5#FFFFFF#000000##000000
##CD34A51.004.544.634.63
#FFFFFF4.541.0021.0021.00
#0000004.6321.001.001.00
##0000004.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4066A8
Deuteranopia (green-blind)
#727FA1
Tritanopia (blue-blind)
#D93869
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #cd34a5;
/* rgb */ color: rgb(205, 52, 165);
/* oklch */ color: oklch(59.5% 0.219 340.7);
Tailwind
colors: {
  custom: {
    50: '#e07bc0',
    500: '#cd34a5',
    950: '#000000',
  },
}
SCSS
$custom: #cd34a5;
$custom-light: #e07bc0;
$custom-dark: #000000;
JSON
{
  "hex": "#cd34a5",
  "rgb": {
    "r": 205,
    "g": 52,
    "b": 165
  },
  "hsl": {
    "h": 315.686,
    "s": 60.474,
    "l": 50.392
  },
  "oklch": {
    "l": 0.59523,
    "c": 0.21864,
    "h": 340.7
  },
  "luminance": 0.18152
}

Semantic roles & 50–950 ramp

primary
#CD34A5
secondary
#8CD19E
accent
#E46E44
background
#FEF8FB
surface
#FDEFF7
border
#D5CAD0
text
#160A12
muted
#847C81

Preview Lab

Preview with #CD34A5

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

Preview Lab → · Contrast checker → · Palette generator →

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