#CD3A9E#CD3A9E

#CD3A9E is a mid, highly saturated pink. Relative luminance 0.185; OKLCH L 59.7% C 0.208 H 343.6°. Best body text is #000000 at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#CD3A9E
RGBrgb(205, 58, 158)
HSLhsl(319, 60%, 52%)
HSVhsv(319, 72%, 80%)
CMYKcmyk(0%, 71.7%, 22.9%, 19.6%)
CIE-LABlab(50.07, 66.15, -22.01)
CIE-LCHlch(50.07, 69.71, 341.60°)
OKLaboklab(59.71% 0.1993 -0.0588)
OKLCHoklch(59.71% 0.208 343.6)
XYZxyz(32.8627, 18.4773, 34.1769)
Luminance0.1847 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD3A9E #3ACD69
analogous
#B33ACD #CD3A9E #CD3A55
triadic
#CD3A9E #9ECD3A #3A9ECD
tetradic
#CD3A9E #CDB33A #3ACD69 #3A55CD
square
#CD3A9E #CDB33A #3ACD69 #3A55CD
split-complementary
#CD3A9E #55CD3A #3ACDB3
monochromatic
#701C55 #A1297B #CD3A9E #D96BB6 #E69CCE

Accessibility & contrast

On white

4.47
#CD3A9E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.69
#CD3A9E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD3A9E
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD3A9E#FFFFFF#000000##000000
##CD3A9E1.004.474.694.69
#FFFFFF4.471.0021.0021.00
#0000004.6921.001.001.00
##0000004.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#4968A1
Deuteranopia (green-blind)
#76809B
Tritanopia (blue-blind)
#DA3A67
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #cd3a9e;
/* rgb */ color: rgb(205, 58, 158);
/* oklch */ color: oklch(59.7% 0.208 343.6);
Tailwind
colors: {
  custom: {
    50: '#e07dba',
    500: '#cd3a9e',
    950: '#000000',
  },
}
SCSS
$custom: #cd3a9e;
$custom-light: #e07dba;
$custom-dark: #000000;
JSON
{
  "hex": "#cd3a9e",
  "rgb": {
    "r": 205,
    "g": 58,
    "b": 158
  },
  "hsl": {
    "h": 319.184,
    "s": 59.514,
    "l": 51.569
  },
  "oklch": {
    "l": 0.59707,
    "c": 0.20783,
    "h": 343.6
  },
  "luminance": 0.18474
}

Semantic roles & 50–950 ramp

primary
#CD3A9E
secondary
#91D2A6
accent
#E37745
background
#FEF8FB
surface
#FDEFF6
border
#D5CAD0
text
#160B11
muted
#847C80

Preview Lab

Preview with #CD3A9E

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

Preview Lab → · Contrast checker → · Palette generator →

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