#CD34B3#CD34B3

#CD34B3 is a mid, highly saturated pink. Relative luminance 0.187; OKLCH L 60.2% C 0.228 H 336.0°. Best body text is #000000 at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#CD34B3
RGBrgb(205, 52, 179)
HSLhsl(310, 60%, 50%)
HSVhsv(310, 75%, 80%)
CMYKcmyk(0%, 74.6%, 12.7%, 19.6%)
CIE-LABlab(50.33, 70.92, -33.99)
CIE-LCHlch(50.33, 78.65, 334.40°)
OKLaboklab(60.2% 0.208 -0.0927)
OKLCHoklch(60.2% 0.228 336)
XYZxyz(34.5421, 18.6930, 44.4280)
Luminance0.1869 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD34B3 #34CD4E
analogous
#9A34CD #CD34B3 #CD3466
triadic
#CD34B3 #B3CD34 #34B3CD
tetradic
#CD34B3 #CD9A34 #34CD4E #3466CD
square
#CD34B3 #CD9A34 #34CD4E #3466CD
split-complementary
#CD34B3 #66CD34 #34CD9A
monochromatic
#6C1B5E #9D2789 #CD34B3 #D965C5 #E596D8

Accessibility & contrast

On white

4.43
#CD34B3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.74
#CD34B3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD34B3
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD34B3#FFFFFF#000000##000000
##CD34B31.004.434.744.74
#FFFFFF4.431.0021.0021.00
#0000004.7421.001.001.00
##0000004.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#3669B6
Deuteranopia (green-blind)
#6C80AF
Tritanopia (blue-blind)
#D84071
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #cd34b3;
/* rgb */ color: rgb(205, 52, 179);
/* oklch */ color: oklch(60.2% 0.228 336.0);
Tailwind
colors: {
  custom: {
    50: '#e07bca',
    500: '#cd34b3',
    950: '#000000',
  },
}
SCSS
$custom: #cd34b3;
$custom-light: #e07bca;
$custom-dark: #000000;
JSON
{
  "hex": "#cd34b3",
  "rgb": {
    "r": 205,
    "g": 52,
    "b": 179
  },
  "hsl": {
    "h": 310.196,
    "s": 60.474,
    "l": 50.392
  },
  "oklch": {
    "l": 0.60196,
    "c": 0.22772,
    "h": 336
  },
  "luminance": 0.1869
}

Semantic roles & 50–950 ramp

primary
#CD34B3
secondary
#8CD198
accent
#E45F44
background
#FEF8FC
surface
#FCEFF8
border
#D5CAD1
text
#160B13
muted
#847C82

Preview Lab

Preview with #CD34B3

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

Preview Lab → · Contrast checker → · Palette generator →

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