#CD34B1#CD34B1

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

Color values

HEX#CD34B1
RGBrgb(205, 52, 177)
HSLhsl(311, 60%, 50%)
HSVhsv(311, 75%, 80%)
CMYKcmyk(0%, 74.6%, 13.7%, 19.6%)
CIE-LABlab(50.23, 70.64, -32.96)
CIE-LCHlch(50.23, 77.95, 334.98°)
OKLaboklab(60.1% 0.2078 -0.0898)
OKLCHoklch(60.1% 0.226 336.6)
XYZxyz(34.3413, 18.6126, 43.3704)
Luminance0.1861 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD34B1 #34CD50
analogous
#9C34CD #CD34B1 #CD3465
triadic
#CD34B1 #B1CD34 #34B1CD
tetradic
#CD34B1 #CD9C34 #34CD50 #3465CD
square
#CD34B1 #CD9C34 #34CD50 #3465CD
split-complementary
#CD34B1 #65CD34 #34CD9C
monochromatic
#6C1B5D #9D2787 #CD34B1 #D965C4 #E596D7

Accessibility & contrast

On white

4.45
#CD34B1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.72
#CD34B1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD34B1
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD34B1#FFFFFF#000000##000000
##CD34B11.004.454.724.72
#FFFFFF4.451.0021.0021.00
#0000004.7221.001.001.00
##0000004.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#3869B4
Deuteranopia (green-blind)
#6D80AD
Tritanopia (blue-blind)
#D83F6F
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #cd34b1;
/* rgb */ color: rgb(205, 52, 177);
/* oklch */ color: oklch(60.1% 0.226 336.6);
Tailwind
colors: {
  custom: {
    50: '#e07bc8',
    500: '#cd34b1',
    950: '#000000',
  },
}
SCSS
$custom: #cd34b1;
$custom-light: #e07bc8;
$custom-dark: #000000;
JSON
{
  "hex": "#cd34b1",
  "rgb": {
    "r": 205,
    "g": 52,
    "b": 177
  },
  "hsl": {
    "h": 310.98,
    "s": 60.474,
    "l": 50.392
  },
  "oklch": {
    "l": 0.60097,
    "c": 0.22638,
    "h": 336.6
  },
  "luminance": 0.18609
}

Semantic roles & 50–950 ramp

primary
#CD34B1
secondary
#8CD199
accent
#E46144
background
#FEF8FC
surface
#FDEFF8
border
#D5CAD1
text
#160B13
muted
#847C82

Preview Lab

Preview with #CD34B1

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

Preview Lab → · Contrast checker → · Palette generator →

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