#CD3A9F#CD3A9F

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

Color values

HEX#CD3A9F
RGBrgb(205, 58, 159)
HSLhsl(319, 60%, 52%)
HSVhsv(319, 72%, 80%)
CMYKcmyk(0%, 71.7%, 22.4%, 19.6%)
CIE-LABlab(50.11, 66.28, -22.54)
CIE-LCHlch(50.11, 70.01, 341.22°)
OKLaboklab(59.75% 0.1995 -0.0603)
OKLCHoklch(59.75% 0.208 343.2)
XYZxyz(32.9491, 18.5118, 34.6321)
Luminance0.1851 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD3A9F #3ACD68
analogous
#B23ACD #CD3A9F #CD3A56
triadic
#CD3A9F #9FCD3A #3A9FCD
tetradic
#CD3A9F #CDB23A #3ACD68 #3A56CD
square
#CD3A9F #CDB23A #3ACD68 #3A56CD
split-complementary
#CD3A9F #56CD3A #3ACDB2
monochromatic
#701C56 #A1297B #CD3A9F #D96BB7 #E69CCF

Accessibility & contrast

On white

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

On black

4.70
#CD3A9F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD3A9F
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD3A9F#FFFFFF#000000##000000
##CD3A9F1.004.474.704.70
#FFFFFF4.471.0021.0021.00
#0000004.7021.001.001.00
##0000004.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#4968A2
Deuteranopia (green-blind)
#76809C
Tritanopia (blue-blind)
#DA3A68
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #cd3a9f;
/* rgb */ color: rgb(205, 58, 159);
/* oklch */ color: oklch(59.8% 0.208 343.2);
Tailwind
colors: {
  custom: {
    50: '#e07dbb',
    500: '#cd3a9f',
    950: '#000000',
  },
}
SCSS
$custom: #cd3a9f;
$custom-light: #e07dbb;
$custom-dark: #000000;
JSON
{
  "hex": "#cd3a9f",
  "rgb": {
    "r": 205,
    "g": 58,
    "b": 159
  },
  "hsl": {
    "h": 318.776,
    "s": 59.514,
    "l": 51.569
  },
  "oklch": {
    "l": 0.5975,
    "c": 0.20844,
    "h": 343.2
  },
  "luminance": 0.18508
}

Semantic roles & 50–950 ramp

primary
#CD3A9F
secondary
#91D2A5
accent
#E37645
background
#FEF8FB
surface
#FDEFF6
border
#D5CAD0
text
#160B12
muted
#847C81

Preview Lab

Preview with #CD3A9F

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

Preview Lab → · Contrast checker → · Palette generator →

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