#CD4D8A#CD4D8A

#CD4D8A is a mid, vivid pink. Relative luminance 0.201; OKLCH L 60.9% C 0.173 H 353.9°. Best body text is #000000 at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#CD4D8A
RGBrgb(205, 77, 138)
HSLhsl(331, 56%, 55%)
HSVhsv(331, 62%, 80%)
CMYKcmyk(0%, 62.4%, 32.7%, 19.6%)
CIE-LABlab(51.98, 56.34, -7.22)
CIE-LCHlch(51.98, 56.80, 352.70°)
OKLaboklab(60.87% 0.1718 -0.0184)
OKLCHoklch(60.87% 0.173 353.9)
XYZxyz(32.4198, 20.1253, 26.2171)
Luminance0.2012 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD4D8A #4DCD90
analogous
#CD4DCA #CD4D8A #CD504D
triadic
#CD4D8A #8ACD4D #4D8ACD
tetradic
#CD4D8A #CACD4D #4DCD90 #504DCD
square
#CD4D8A #CACD4D #4DCD90 #504DCD
split-complementary
#CD4D8A #4DCD50 #4DCACD
monochromatic
#7D234E #AC306B #CD4D8A #DA7DA9 #E8ADC9

Accessibility & contrast

On white

4.18
#CD4D8A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.02
#CD4D8A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD4D8A
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD4D8A#FFFFFF#000000##000000
##CD4D8A1.004.185.025.02
#FFFFFF4.181.0021.0021.00
#0000005.0221.001.001.00
##0000005.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#616D8C
Deuteranopia (green-blind)
#848587
Tritanopia (blue-blind)
#DC4565
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #cd4d8a;
/* rgb */ color: rgb(205, 77, 138);
/* oklch */ color: oklch(60.9% 0.173 353.9);
Tailwind
colors: {
  custom: {
    50: '#e086ac',
    500: '#cd4d8a',
    950: '#000000',
  },
}
SCSS
$custom: #cd4d8a;
$custom-light: #e086ac;
$custom-dark: #000000;
JSON
{
  "hex": "#cd4d8a",
  "rgb": {
    "r": 205,
    "g": 77,
    "b": 138
  },
  "hsl": {
    "h": 331.406,
    "s": 56.14,
    "l": 55.294
  },
  "oklch": {
    "l": 0.60868,
    "c": 0.17275,
    "h": 353.9
  },
  "luminance": 0.20122
}

Semantic roles & 50–950 ramp

primary
#CD4D8A
secondary
#A0D6BC
accent
#DF9748
background
#FEF8FA
surface
#FCF0F4
border
#D5CBCE
text
#160C10
muted
#847D7F

Preview Lab

Preview with #CD4D8A

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

Preview Lab → · Contrast checker → · Palette generator →

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