#CD34A7#CD34A7

#CD34A7 is a mid, highly saturated pink. Relative luminance 0.182; OKLCH L 59.6% C 0.220 H 340.0°. Best body text is #000000 at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#CD34A7
RGBrgb(205, 52, 167)
HSLhsl(315, 60%, 50%)
HSVhsv(315, 75%, 80%)
CMYKcmyk(0%, 74.6%, 18.5%, 19.6%)
CIE-LABlab(49.77, 69.27, -27.80)
CIE-LCHlch(49.77, 74.64, 338.14°)
OKLaboklab(59.62% 0.2067 -0.0751)
OKLCHoklch(59.62% 0.22 340)
XYZxyz(33.3808, 18.2285, 38.3122)
Luminance0.1822 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD34A7 #34CD5A
analogous
#A634CD #CD34A7 #CD345A
triadic
#CD34A7 #A7CD34 #34A7CD
tetradic
#CD34A7 #CDA634 #34CD5A #345ACD
square
#CD34A7 #CDA634 #34CD5A #345ACD
split-complementary
#CD34A7 #5ACD34 #34CDA6
monochromatic
#6C1B58 #9D2780 #CD34A7 #D965BC #E596D2

Accessibility & contrast

On white

4.52
#CD34A7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.64
#CD34A7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD34A7
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD34A7#FFFFFF#000000##000000
##CD34A71.004.524.644.64
#FFFFFF4.521.0021.0021.00
#0000004.6421.001.001.00
##0000004.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#3F67AA
Deuteranopia (green-blind)
#717FA3
Tritanopia (blue-blind)
#D9396A
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #cd34a7;
/* rgb */ color: rgb(205, 52, 167);
/* oklch */ color: oklch(59.6% 0.220 340.0);
Tailwind
colors: {
  custom: {
    50: '#e07bc1',
    500: '#cd34a7',
    950: '#000000',
  },
}
SCSS
$custom: #cd34a7;
$custom-light: #e07bc1;
$custom-dark: #000000;
JSON
{
  "hex": "#cd34a7",
  "rgb": {
    "r": 205,
    "g": 52,
    "b": 167
  },
  "hsl": {
    "h": 314.902,
    "s": 60.474,
    "l": 50.392
  },
  "oklch": {
    "l": 0.59616,
    "c": 0.21989,
    "h": 340
  },
  "luminance": 0.18225
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CD34A7

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

Preview Lab → · Contrast checker → · Palette generator →

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