#DC5742#DC5742

#DC5742 is a light, vivid red. Relative luminance 0.224; OKLCH L 62.7% C 0.171 H 31.3°. Best body text is #000000 at 5.49:1 contrast (WCAG AA passes).

Color values

HEX#DC5742
RGBrgb(220, 87, 66)
HSLhsl(8, 69%, 56%)
HSVhsv(8, 70%, 86%)
CMYKcmyk(0%, 60.5%, 70%, 13.7%)
CIE-LABlab(54.48, 50.83, 38.82)
CIE-LCHlch(54.48, 63.96, 37.37°)
OKLaboklab(62.7% 0.1461 0.0888)
OKLCHoklch(62.7% 0.171 31.3)
XYZxyz(33.9102, 22.4300, 7.6970)
Luminance0.2243 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DC5742 #42C7DC
analogous
#DC427A #DC5742 #DCA442
triadic
#DC5742 #42DC57 #5742DC
tetradic
#DC5742 #7ADC42 #42C7DC #A442DC
square
#DC5742 #7ADC42 #42C7DC #A442DC
split-complementary
#DC5742 #42DCA4 #427ADC
monochromatic
#8A291A #BE3823 #DC5742 #E68576 #EFB3A9

Accessibility & contrast

On white

3.83
#DC5742 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.49
#DC5742 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DC5742
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DC5742#FFFFFF#000000##000000
##DC57421.003.835.495.49
#FFFFFF3.831.0021.0021.00
#0000005.4921.001.001.00
##0000005.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#7B703F
Deuteranopia (green-blind)
#9C8D3E
Tritanopia (blue-blind)
#F13953
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #dc5742;
/* rgb */ color: rgb(220, 87, 66);
/* oklch */ color: oklch(62.7% 0.171 31.3);
Tailwind
colors: {
  custom: {
    50: '#ee8b77',
    500: '#dc5742',
    950: '#000000',
  },
}
SCSS
$custom: #dc5742;
$custom-light: #ee8b77;
$custom-dark: #000000;
JSON
{
  "hex": "#dc5742",
  "rgb": {
    "r": 220,
    "g": 87,
    "b": 66
  },
  "hsl": {
    "h": 8.182,
    "s": 68.75,
    "l": 56.078
  },
  "oklch": {
    "l": 0.62695,
    "c": 0.17098,
    "h": 31.3
  },
  "luminance": 0.22425
}

Semantic roles & 50–950 ramp

primary
#DC5742
secondary
#9DD4DD
accent
#D4EC3C
background
#FFF8F7
surface
#FFF0ED
border
#D7CBC8
text
#180C09
muted
#867D7B

Preview Lab

Preview with #DC5742

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

Preview Lab → · Contrast checker → · Palette generator →

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