#CD3A9B#CD3A9B

#CD3A9B is a mid, highly saturated pink. Relative luminance 0.184; OKLCH L 59.6% C 0.206 H 344.7°. Best body text is #000000 at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#CD3A9B
RGBrgb(205, 58, 155)
HSLhsl(320, 60%, 52%)
HSVhsv(320, 72%, 80%)
CMYKcmyk(0%, 71.7%, 24.4%, 19.6%)
CIE-LABlab(49.95, 65.76, -20.41)
CIE-LCHlch(49.95, 68.86, 342.76°)
OKLaboklab(59.58% 0.1988 -0.0543)
OKLCHoklch(59.58% 0.206 344.7)
XYZxyz(32.6076, 18.3752, 32.8335)
Luminance0.1837 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD3A9B #3ACD6C
analogous
#B63ACD #CD3A9B #CD3A52
triadic
#CD3A9B #9BCD3A #3A9BCD
tetradic
#CD3A9B #CDB63A #3ACD6C #3A52CD
square
#CD3A9B #CDB63A #3ACD6C #3A52CD
split-complementary
#CD3A9B #52CD3A #3ACDB6
monochromatic
#701C54 #A12978 #CD3A9B #D96BB4 #E69CCD

Accessibility & contrast

On white

4.49
#CD3A9B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.67
#CD3A9B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD3A9B
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD3A9B#FFFFFF#000000##000000
##CD3A9B1.004.494.674.67
#FFFFFF4.491.0021.0021.00
#0000004.6721.001.001.00
##0000004.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4B679E
Deuteranopia (green-blind)
#778098
Tritanopia (blue-blind)
#DA3866
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #cd3a9b;
/* rgb */ color: rgb(205, 58, 155);
/* oklch */ color: oklch(59.6% 0.206 344.7);
Tailwind
colors: {
  custom: {
    50: '#e07db8',
    500: '#cd3a9b',
    950: '#000000',
  },
}
SCSS
$custom: #cd3a9b;
$custom-light: #e07db8;
$custom-dark: #000000;
JSON
{
  "hex": "#cd3a9b",
  "rgb": {
    "r": 205,
    "g": 58,
    "b": 155
  },
  "hsl": {
    "h": 320.408,
    "s": 59.514,
    "l": 51.569
  },
  "oklch": {
    "l": 0.59578,
    "c": 0.20606,
    "h": 344.7
  },
  "luminance": 0.18372
}

Semantic roles & 50–950 ramp

primary
#CD3A9B
secondary
#91D2A7
accent
#E37B45
background
#FEF8FB
surface
#FDEFF6
border
#D5CAD0
text
#160B11
muted
#847C80

Preview Lab

Preview with #CD3A9B

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

Preview Lab → · Contrast checker → · Palette generator →

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