#DC5252#DC5252

#DC5252 is a light, vivid red. Relative luminance 0.219; OKLCH L 62.3% C 0.173 H 23.6°. Best body text is #000000 at 5.37:1 contrast (WCAG AA passes).

Color values

HEX#DC5252
RGBrgb(220, 82, 82)
HSLhsl(0, 66%, 59%)
HSVhsv(0, 63%, 86%)
CMYKcmyk(0%, 62.7%, 62.7%, 13.7%)
CIE-LABlab(53.88, 53.92, 29.04)
CIE-LCHlch(53.88, 61.25, 28.31°)
OKLaboklab(62.32% 0.1588 0.0694)
OKLCHoklch(62.32% 0.173 23.6)
XYZxyz(34.0588, 21.8640, 10.4077)
Luminance0.2186 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DC5252 #52DCDC
analogous
#DC5297 #DC5252 #DC9752
triadic
#DC5252 #52DC52 #5252DC
tetradic
#DC5252 #97DC52 #52DCDC #9752DC
square
#DC5252 #97DC52 #52DCDC #9752DC
split-complementary
#DC5252 #52DC97 #5297DC
monochromatic
#951E1E #C82929 #DC5252 #E68585 #F1B8B8

Accessibility & contrast

On white

3.91
#DC5252 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.37
#DC5252 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DC5252
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DC5252#FFFFFF#000000##000000
##DC52521.003.915.375.37
#FFFFFF3.911.0021.0021.00
#0000005.3721.001.001.00
##0000005.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#766E51
Deuteranopia (green-blind)
#998C4E
Tritanopia (blue-blind)
#F13453
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #dc5252;
/* rgb */ color: rgb(220, 82, 82);
/* oklch */ color: oklch(62.3% 0.173 23.6);
Tailwind
colors: {
  custom: {
    50: '#ee8982',
    500: '#dc5252',
    950: '#000000',
  },
}
SCSS
$custom: #dc5252;
$custom-light: #ee8982;
$custom-dark: #000000;
JSON
{
  "hex": "#dc5252",
  "rgb": {
    "r": 220,
    "g": 82,
    "b": 82
  },
  "hsl": {
    "h": 0,
    "s": 66.346,
    "l": 59.216
  },
  "oklch": {
    "l": 0.62318,
    "c": 0.17331,
    "h": 23.6
  },
  "luminance": 0.21859
}

Semantic roles & 50–950 ramp

primary
#DC5252
secondary
#AAE0E0
accent
#E9E93F
background
#FFF8F8
surface
#FFF0EF
border
#D7CBCA
text
#180C0A
muted
#867D7C

Preview Lab

Preview with #DC5252

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

Preview Lab → · Contrast checker → · Palette generator →

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