#DC5EA2#DC5EA2

#DC5EA2 is a light, vivid pink. Relative luminance 0.258; OKLCH L 66.0% C 0.173 H 349.4°. Best body text is #000000 at 6.17:1 contrast (WCAG AA passes).

Color values

HEX#DC5EA2
RGBrgb(220, 94, 162)
HSLhsl(328, 64%, 62%)
HSVhsv(328, 57%, 86%)
CMYKcmyk(0%, 57.3%, 26.4%, 13.7%)
CIE-LABlab(57.88, 56.38, -12.25)
CIE-LCHlch(57.88, 57.70, 347.74°)
OKLaboklab(65.96% 0.1705 -0.032)
OKLCHoklch(65.96% 0.173 349.4)
XYZxyz(40.0410, 25.8335, 37.0530)
Luminance0.2583 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DC5EA2 #5EDC98
analogous
#D75EDC #DC5EA2 #DC5E63
triadic
#DC5EA2 #A2DC5E #5EA2DC
tetradic
#DC5EA2 #DCD75E #5EDC98 #5E63DC
square
#DC5EA2 #DCD75E #5EDC98 #5E63DC
split-complementary
#DC5EA2 #63DC5E #5EDCD7
monochromatic
#9D2265 #D02D85 #DC5EA2 #E790BF #F2C3DC

Accessibility & contrast

On white

3.41
#DC5EA2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.17
#DC5EA2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DC5EA2
6.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DC5EA2#FFFFFF#000000##000000
##DC5EA21.003.416.176.17
#FFFFFF3.411.0021.0021.00
#0000006.1721.001.001.00
##0000006.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6D7DA4
Deuteranopia (green-blind)
#90939F
Tritanopia (blue-blind)
#EA5A79
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #dc5ea2;
/* rgb */ color: rgb(220, 94, 162);
/* oklch */ color: oklch(66.0% 0.173 349.4);
Tailwind
colors: {
  custom: {
    50: '#ea91bd',
    500: '#dc5ea2',
    950: '#000000',
  },
}
SCSS
$custom: #dc5ea2;
$custom-light: #ea91bd;
$custom-dark: #000000;
JSON
{
  "hex": "#dc5ea2",
  "rgb": {
    "r": 220,
    "g": 94,
    "b": 162
  },
  "hsl": {
    "h": 327.619,
    "s": 64.286,
    "l": 61.569
  },
  "oklch": {
    "l": 0.6596,
    "c": 0.17344,
    "h": 349.4
  },
  "luminance": 0.2583
}

Semantic roles & 50–950 ramp

primary
#DC5EA2
secondary
#B3E2C9
accent
#CC6C19
background
#FEF9FB
surface
#FDF2F6
border
#D5CCD0
text
#170D12
muted
#857E81

Preview Lab

Preview with #DC5EA2

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

Preview Lab → · Contrast checker → · Palette generator →

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