#DC5A8D#DC5A8D

#DC5A8D is a light, vivid pink. Relative luminance 0.245; OKLCH L 64.7% C 0.170 H 358.5°. Best body text is #000000 at 5.89:1 contrast (WCAG AA passes).

Color values

HEX#DC5A8D
RGBrgb(220, 90, 141)
HSLhsl(336, 65%, 61%)
HSVhsv(336, 59%, 86%)
CMYKcmyk(0%, 59.1%, 35.9%, 13.7%)
CIE-LABlab(56.54, 55.61, -1.98)
CIE-LCHlch(56.54, 55.64, 357.96°)
OKLaboklab(64.75% 0.1696 -0.0045)
OKLCHoklch(64.75% 0.17 358.5)
XYZxyz(37.9812, 24.4551, 27.9142)
Luminance0.2445 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DC5A8D #5ADCA9
analogous
#DC5ACE #DC5A8D #DC685A
triadic
#DC5A8D #8DDC5A #5A8DDC
tetradic
#DC5A8D #CEDC5A #5ADCA9 #685ADC
square
#DC5A8D #CEDC5A #5ADCA9 #685ADC
split-complementary
#DC5A8D #5ADC68 #5ACEDC
monochromatic
#9B2151 #CD2C6B #DC5A8D #E78CB0 #F1BFD3

Accessibility & contrast

On white

3.57
#DC5A8D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.89
#DC5A8D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DC5A8D
5.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DC5A8D#FFFFFF#000000##000000
##DC5A8D1.003.575.895.89
#FFFFFF3.571.0021.0021.00
#0000005.8921.001.001.00
##0000005.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#70788E
Deuteranopia (green-blind)
#93918A
Tritanopia (blue-blind)
#ED4F6E
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #dc5a8d;
/* rgb */ color: rgb(220, 90, 141);
/* oklch */ color: oklch(64.7% 0.170 358.5);
Tailwind
colors: {
  custom: {
    50: '#eb8eae',
    500: '#dc5a8d',
    950: '#000000',
  },
}
SCSS
$custom: #dc5a8d;
$custom-light: #eb8eae;
$custom-dark: #000000;
JSON
{
  "hex": "#dc5a8d",
  "rgb": {
    "r": 220,
    "g": 90,
    "b": 141
  },
  "hsl": {
    "h": 336.462,
    "s": 65,
    "l": 60.784
  },
  "oklch": {
    "l": 0.64746,
    "c": 0.16968,
    "h": 358.5
  },
  "luminance": 0.24451
}

Semantic roles & 50–950 ramp

primary
#DC5A8D
secondary
#B0E2CE
accent
#CD8619
background
#FEF9FA
surface
#FDF1F4
border
#D5CBCE
text
#170D10
muted
#857E7F

Preview Lab

Preview with #DC5A8D

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

Preview Lab → · Contrast checker → · Palette generator →

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