#CD34A8#CD34A8

#CD34A8 is a mid, highly saturated pink. Relative luminance 0.183; OKLCH L 59.7% C 0.221 H 339.7°. Best body text is #000000 at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#CD34A8
RGBrgb(205, 52, 168)
HSLhsl(315, 60%, 50%)
HSVhsv(315, 75%, 80%)
CMYKcmyk(0%, 74.6%, 18%, 19.6%)
CIE-LABlab(49.82, 69.40, -28.32)
CIE-LCHlch(49.82, 74.96, 337.80°)
OKLaboklab(59.66% 0.2068 -0.0766)
OKLCHoklch(59.66% 0.221 339.7)
XYZxyz(33.4736, 18.2656, 38.8009)
Luminance0.1826 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD34A8 #34CD59
analogous
#A634CD #CD34A8 #CD345B
triadic
#CD34A8 #A8CD34 #34A8CD
tetradic
#CD34A8 #CDA634 #34CD59 #345BCD
square
#CD34A8 #CDA634 #34CD59 #345BCD
split-complementary
#CD34A8 #5BCD34 #34CDA6
monochromatic
#6C1B58 #9D2780 #CD34A8 #D965BD #E596D2

Accessibility & contrast

On white

4.51
#CD34A8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.65
#CD34A8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD34A8
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD34A8#FFFFFF#000000##000000
##CD34A81.004.514.654.65
#FFFFFF4.511.0021.0021.00
#0000004.6521.001.001.00
##0000004.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#3E67AB
Deuteranopia (green-blind)
#717FA4
Tritanopia (blue-blind)
#D93A6B
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #cd34a8;
/* rgb */ color: rgb(205, 52, 168);
/* oklch */ color: oklch(59.7% 0.221 339.7);
Tailwind
colors: {
  custom: {
    50: '#e07bc2',
    500: '#cd34a8',
    950: '#000000',
  },
}
SCSS
$custom: #cd34a8;
$custom-light: #e07bc2;
$custom-dark: #000000;
JSON
{
  "hex": "#cd34a8",
  "rgb": {
    "r": 205,
    "g": 52,
    "b": 168
  },
  "hsl": {
    "h": 314.51,
    "s": 60.474,
    "l": 50.392
  },
  "oklch": {
    "l": 0.59663,
    "c": 0.22053,
    "h": 339.7
  },
  "luminance": 0.18262
}

Semantic roles & 50–950 ramp

primary
#CD34A8
secondary
#8CD19D
accent
#E46B44
background
#FEF8FB
surface
#FDEFF7
border
#D5CAD0
text
#160A12
muted
#847C81

Preview Lab

Preview with #CD34A8

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

Preview Lab → · Contrast checker → · Palette generator →

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