#CD34A6#CD34A6

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

Color values

HEX#CD34A6
RGBrgb(205, 52, 166)
HSLhsl(315, 60%, 50%)
HSVhsv(315, 75%, 80%)
CMYKcmyk(0%, 74.6%, 19%, 19.6%)
CIE-LABlab(49.73, 69.13, -27.27)
CIE-LCHlch(49.73, 74.32, 338.47°)
OKLaboklab(59.57% 0.2066 -0.0736)
OKLCHoklch(59.57% 0.219 340.4)
XYZxyz(33.2887, 18.1916, 37.8272)
Luminance0.1819 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD34A6 #34CD5B
analogous
#A734CD #CD34A6 #CD3459
triadic
#CD34A6 #A6CD34 #34A6CD
tetradic
#CD34A6 #CDA734 #34CD5B #3459CD
square
#CD34A6 #CDA734 #34CD5B #3459CD
split-complementary
#CD34A6 #59CD34 #34CDA7
monochromatic
#6C1B57 #9D277F #CD34A6 #D965BC #E596D1

Accessibility & contrast

On white

4.53
#CD34A6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##CD34A6#FFFFFF#000000##000000
##CD34A61.004.534.644.64
#FFFFFF4.531.0021.0021.00
#0000004.6421.001.001.00
##0000004.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4067A9
Deuteranopia (green-blind)
#727FA2
Tritanopia (blue-blind)
#D93969
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #cd34a6;
/* rgb */ color: rgb(205, 52, 166);
/* oklch */ color: oklch(59.6% 0.219 340.4);
Tailwind
colors: {
  custom: {
    50: '#e07bc0',
    500: '#cd34a6',
    950: '#000000',
  },
}
SCSS
$custom: #cd34a6;
$custom-light: #e07bc0;
$custom-dark: #000000;
JSON
{
  "hex": "#cd34a6",
  "rgb": {
    "r": 205,
    "g": 52,
    "b": 166
  },
  "hsl": {
    "h": 315.294,
    "s": 60.474,
    "l": 50.392
  },
  "oklch": {
    "l": 0.5957,
    "c": 0.21927,
    "h": 340.4
  },
  "luminance": 0.18188
}

Semantic roles & 50–950 ramp

primary
#CD34A6
secondary
#8CD19E
accent
#E46D44
background
#FEF8FB
surface
#FDEFF7
border
#D5CAD0
text
#160A12
muted
#847C81

Preview Lab

Preview with #CD34A6

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

Preview Lab → · Contrast checker → · Palette generator →

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