#CD34AF#CD34AF

#CD34AF is a mid, highly saturated pink. Relative luminance 0.185; OKLCH L 60.0% C 0.225 H 337.3°. Best body text is #000000 at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#CD34AF
RGBrgb(205, 52, 175)
HSLhsl(312, 60%, 50%)
HSVhsv(312, 75%, 80%)
CMYKcmyk(0%, 74.6%, 14.6%, 19.6%)
CIE-LABlab(50.14, 70.36, -31.94)
CIE-LCHlch(50.14, 77.27, 335.59°)
OKLaboklab(60% 0.2076 -0.0869)
OKLCHoklch(60% 0.225 337.3)
XYZxyz(34.1434, 18.5335, 42.3283)
Luminance0.1853 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD34AF #34CD52
analogous
#9F34CD #CD34AF #CD3462
triadic
#CD34AF #AFCD34 #34AFCD
tetradic
#CD34AF #CD9F34 #34CD52 #3462CD
square
#CD34AF #CD9F34 #34CD52 #3462CD
split-complementary
#CD34AF #62CD34 #34CD9F
monochromatic
#6C1B5C #9D2786 #CD34AF #D965C2 #E596D6

Accessibility & contrast

On white

4.46
#CD34AF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.71
#CD34AF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD34AF
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD34AF#FFFFFF#000000##000000
##CD34AF1.004.464.714.71
#FFFFFF4.461.0021.0021.00
#0000004.7121.001.001.00
##0000004.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#3968B2
Deuteranopia (green-blind)
#6E80AB
Tritanopia (blue-blind)
#D83D6E
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #cd34af;
/* rgb */ color: rgb(205, 52, 175);
/* oklch */ color: oklch(60.0% 0.225 337.3);
Tailwind
colors: {
  custom: {
    50: '#e07bc7',
    500: '#cd34af',
    950: '#000000',
  },
}
SCSS
$custom: #cd34af;
$custom-light: #e07bc7;
$custom-dark: #000000;
JSON
{
  "hex": "#cd34af",
  "rgb": {
    "r": 205,
    "g": 52,
    "b": 175
  },
  "hsl": {
    "h": 311.765,
    "s": 60.474,
    "l": 50.392
  },
  "oklch": {
    "l": 0.59998,
    "c": 0.22506,
    "h": 337.3
  },
  "luminance": 0.1853
}

Semantic roles & 50–950 ramp

primary
#CD34AF
secondary
#8CD19A
accent
#E46344
background
#FEF8FC
surface
#FDEFF8
border
#D5CAD1
text
#160A13
muted
#847C82

Preview Lab

Preview with #CD34AF

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

Preview Lab → · Contrast checker → · Palette generator →

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