#DC5173#DC5173

#DC5173 is a light, vivid red. Relative luminance 0.223; OKLCH L 62.9% C 0.175 H 8.8°. Best body text is #000000 at 5.47:1 contrast (WCAG AA passes).

Color values

HEX#DC5173
RGBrgb(220, 81, 115)
HSLhsl(345, 67%, 59%)
HSVhsv(345, 63%, 86%)
CMYKcmyk(0%, 63.2%, 47.7%, 13.7%)
CIE-LABlab(54.39, 56.87, 10.28)
CIE-LCHlch(54.39, 57.79, 10.24°)
OKLaboklab(62.91% 0.1728 0.0266)
OKLCHoklch(62.91% 0.175 8.8)
XYZxyz(35.5549, 22.3427, 18.6566)
Luminance0.2234 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DC5173 #51DCBA
analogous
#DC51B8 #DC5173 #DC7551
triadic
#DC5173 #73DC51 #5173DC
tetradic
#DC5173 #B8DC51 #51DCBA #7551DC
square
#DC5173 #B8DC51 #51DCBA #7551DC
split-complementary
#DC5173 #51DC75 #51B8DC
monochromatic
#951E3B #C8284F #DC5173 #E6849C #F0B7C5

Accessibility & contrast

On white

3.84
#DC5173 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.47
#DC5173 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DC5173
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DC5173#FFFFFF#000000##000000
##DC51731.003.845.475.47
#FFFFFF3.841.0021.0021.00
#0000005.4721.001.001.00
##0000005.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6F7174
Deuteranopia (green-blind)
#948C70
Tritanopia (blue-blind)
#EF3C5E
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #dc5173;
/* rgb */ color: rgb(220, 81, 115);
/* oklch */ color: oklch(62.9% 0.175 8.8);
Tailwind
colors: {
  custom: {
    50: '#ec899b',
    500: '#dc5173',
    950: '#000000',
  },
}
SCSS
$custom: #dc5173;
$custom-light: #ec899b;
$custom-dark: #000000;
JSON
{
  "hex": "#dc5173",
  "rgb": {
    "r": 220,
    "g": 81,
    "b": 115
  },
  "hsl": {
    "h": 345.324,
    "s": 66.507,
    "l": 59.02
  },
  "oklch": {
    "l": 0.62913,
    "c": 0.17484,
    "h": 8.8
  },
  "luminance": 0.22338
}

Semantic roles & 50–950 ramp

primary
#DC5173
secondary
#A9E0D2
accent
#E9C03E
background
#FFF8F9
surface
#FFF0F2
border
#D7CBCC
text
#170C0E
muted
#857D7E

Preview Lab

Preview with #DC5173

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

Preview Lab → · Contrast checker → · Palette generator →

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