#DC5171#DC5171

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

Color values

HEX#DC5171
RGBrgb(220, 81, 113)
HSLhsl(346, 67%, 59%)
HSVhsv(346, 63%, 86%)
CMYKcmyk(0%, 63.2%, 48.6%, 13.7%)
CIE-LABlab(54.34, 56.69, 11.40)
CIE-LCHlch(54.34, 57.82, 11.37°)
OKLaboklab(62.86% 0.1721 0.0294)
OKLCHoklch(62.86% 0.175 9.7)
XYZxyz(35.4411, 22.2972, 18.0570)
Luminance0.2229 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DC5171 #51DCBC
analogous
#DC51B7 #DC5171 #DC7751
triadic
#DC5171 #71DC51 #5171DC
tetradic
#DC5171 #B7DC51 #51DCBC #7751DC
square
#DC5171 #B7DC51 #51DCBC #7751DC
split-complementary
#DC5171 #51DC77 #51B7DC
monochromatic
#951E39 #C8284D #DC5171 #E6849B #F0B7C4

Accessibility & contrast

On white

3.85
#DC5171 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.46
#DC5171 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DC5171
5.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DC5171#FFFFFF#000000##000000
##DC51711.003.855.465.46
#FFFFFF3.851.0021.0021.00
#0000005.4621.001.001.00
##0000005.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#707072
Deuteranopia (green-blind)
#948C6E
Tritanopia (blue-blind)
#EF3C5D
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #dc5171;
/* rgb */ color: rgb(220, 81, 113);
/* oklch */ color: oklch(62.9% 0.175 9.7);
Tailwind
colors: {
  custom: {
    50: '#ec8999',
    500: '#dc5171',
    950: '#000000',
  },
}
SCSS
$custom: #dc5171;
$custom-light: #ec8999;
$custom-dark: #000000;
JSON
{
  "hex": "#dc5171",
  "rgb": {
    "r": 220,
    "g": 81,
    "b": 113
  },
  "hsl": {
    "h": 346.187,
    "s": 66.507,
    "l": 59.02
  },
  "oklch": {
    "l": 0.62862,
    "c": 0.17455,
    "h": 9.7
  },
  "luminance": 0.22293
}

Semantic roles & 50–950 ramp

primary
#DC5171
secondary
#A9E0D3
accent
#E9C23E
background
#FFF8F9
surface
#FFF0F2
border
#D7CBCC
text
#170C0D
muted
#857D7E

Preview Lab

Preview with #DC5171

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

Preview Lab → · Contrast checker → · Palette generator →

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