#DF5742#DF5742

#DF5742 is a light, vivid red. Relative luminance 0.229; OKLCH L 63.2% C 0.174 H 31.2°. Best body text is #000000 at 5.58:1 contrast (WCAG AA passes).

Color values

HEX#DF5742
RGBrgb(223, 87, 66)
HSLhsl(8, 71%, 57%)
HSVhsv(8, 70%, 87%)
CMYKcmyk(0%, 61%, 70.4%, 12.5%)
CIE-LABlab(54.97, 51.88, 39.52)
CIE-LCHlch(54.97, 65.21, 37.30°)
OKLaboklab(63.16% 0.149 0.0902)
OKLCHoklch(63.16% 0.174 31.2)
XYZxyz(34.8266, 22.9025, 7.7399)
Luminance0.2290 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DF5742 #42CADF
analogous
#DF427C #DF5742 #DFA542
triadic
#DF5742 #42DF57 #5742DF
tetradic
#DF5742 #7CDF42 #42CADF #A542DF
square
#DF5742 #7CDF42 #42CADF #A542DF
split-complementary
#DF5742 #42DFA5 #427CDF
monochromatic
#8E2818 #C33721 #DF5742 #E88676 #F1B4AB

Accessibility & contrast

On white

3.76
#DF5742 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.58
#DF5742 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DF5742
5.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DF5742#FFFFFF#000000##000000
##DF57421.003.765.585.58
#FFFFFF3.761.0021.0021.00
#0000005.5821.001.001.00
##0000005.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#7C713F
Deuteranopia (green-blind)
#9E8F3E
Tritanopia (blue-blind)
#F53853
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #df5742;
/* rgb */ color: rgb(223, 87, 66);
/* oklch */ color: oklch(63.2% 0.174 31.2);
Tailwind
colors: {
  custom: {
    50: '#f18c77',
    500: '#df5742',
    950: '#000000',
  },
}
SCSS
$custom: #df5742;
$custom-light: #f18c77;
$custom-dark: #000000;
JSON
{
  "hex": "#df5742",
  "rgb": {
    "r": 223,
    "g": 87,
    "b": 66
  },
  "hsl": {
    "h": 8.025,
    "s": 71.041,
    "l": 56.667
  },
  "oklch": {
    "l": 0.63159,
    "c": 0.17421,
    "h": 31.2
  },
  "luminance": 0.22898
}

Semantic roles & 50–950 ramp

primary
#DF5742
secondary
#9ED6DF
accent
#D6EE3A
background
#FFF8F7
surface
#FFF0ED
border
#D7CBC8
text
#180C09
muted
#867D7B

Preview Lab

Preview with #DF5742

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

Preview Lab → · Contrast checker → · Palette generator →

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