#CD34B2#CD34B2

#CD34B2 is a mid, highly saturated pink. Relative luminance 0.186; OKLCH L 60.1% C 0.227 H 336.3°. Best body text is #000000 at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#CD34B2
RGBrgb(205, 52, 178)
HSLhsl(311, 60%, 50%)
HSVhsv(311, 75%, 80%)
CMYKcmyk(0%, 74.6%, 13.2%, 19.6%)
CIE-LABlab(50.28, 70.78, -33.48)
CIE-LCHlch(50.28, 78.30, 334.69°)
OKLaboklab(60.15% 0.2079 -0.0912)
OKLCHoklch(60.15% 0.227 336.3)
XYZxyz(34.4413, 18.6526, 43.8973)
Luminance0.1865 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD34B2 #34CD4F
analogous
#9B34CD #CD34B2 #CD3466
triadic
#CD34B2 #B2CD34 #34B2CD
tetradic
#CD34B2 #CD9B34 #34CD4F #3466CD
square
#CD34B2 #CD9B34 #34CD4F #3466CD
split-complementary
#CD34B2 #66CD34 #34CD9B
monochromatic
#6C1B5E #9D2788 #CD34B2 #D965C5 #E596D7

Accessibility & contrast

On white

4.44
#CD34B2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.73
#CD34B2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD34B2
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD34B2#FFFFFF#000000##000000
##CD34B21.004.444.734.73
#FFFFFF4.441.0021.0021.00
#0000004.7321.001.001.00
##0000004.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#3769B5
Deuteranopia (green-blind)
#6D80AE
Tritanopia (blue-blind)
#D83F70
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #cd34b2;
/* rgb */ color: rgb(205, 52, 178);
/* oklch */ color: oklch(60.1% 0.227 336.3);
Tailwind
colors: {
  custom: {
    50: '#e07bc9',
    500: '#cd34b2',
    950: '#000000',
  },
}
SCSS
$custom: #cd34b2;
$custom-light: #e07bc9;
$custom-dark: #000000;
JSON
{
  "hex": "#cd34b2",
  "rgb": {
    "r": 205,
    "g": 52,
    "b": 178
  },
  "hsl": {
    "h": 310.588,
    "s": 60.474,
    "l": 50.392
  },
  "oklch": {
    "l": 0.60146,
    "c": 0.22704,
    "h": 336.3
  },
  "luminance": 0.18649
}

Semantic roles & 50–950 ramp

primary
#CD34B2
secondary
#8CD198
accent
#E46044
background
#FEF8FC
surface
#FDEFF8
border
#D5CAD1
text
#160B13
muted
#847C82

Preview Lab

Preview with #CD34B2

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

Preview Lab → · Contrast checker → · Palette generator →

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