#DF5840#DF5840

#DF5840 is a light, vivid red. Relative luminance 0.230; OKLCH L 63.3% C 0.174 H 32.2°. Best body text is #000000 at 5.61:1 contrast (WCAG AA passes).

Color values

HEX#DF5840
RGBrgb(223, 88, 64)
HSLhsl(9, 71%, 56%)
HSVhsv(9, 71%, 87%)
CMYKcmyk(0%, 60.5%, 71.3%, 12.5%)
CIE-LABlab(55.12, 51.34, 40.77)
CIE-LCHlch(55.12, 65.55, 38.45°)
OKLaboklab(63.26% 0.147 0.0925)
OKLCHoklch(63.26% 0.174 32.2)
XYZxyz(34.8502, 23.0424, 7.4620)
Luminance0.2304 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DF5840 #40C7DF
analogous
#DF4078 #DF5840 #DFA840
triadic
#DF5840 #40DF58 #5840DF
tetradic
#DF5840 #78DF40 #40C7DF #A840DF
square
#DF5840 #78DF40 #40C7DF #A840DF
split-complementary
#DF5840 #40DFA8 #4078DF
monochromatic
#8D2918 #C13920 #DF5840 #E88674 #F1B4A9

Accessibility & contrast

On white

3.74
#DF5840 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.61
#DF5840 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DF5840
5.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DF5840#FFFFFF#000000##000000
##DF58401.003.745.615.61
#FFFFFF3.741.0021.0021.00
#0000005.6121.001.001.00
##0000005.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#7D713D
Deuteranopia (green-blind)
#9E8F3C
Tritanopia (blue-blind)
#F53953
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #df5840;
/* rgb */ color: rgb(223, 88, 64);
/* oklch */ color: oklch(63.3% 0.174 32.2);
Tailwind
colors: {
  custom: {
    50: '#f18c76',
    500: '#df5840',
    950: '#000000',
  },
}
SCSS
$custom: #df5840;
$custom-light: #f18c76;
$custom-dark: #000000;
JSON
{
  "hex": "#df5840",
  "rgb": {
    "r": 223,
    "g": 88,
    "b": 64
  },
  "hsl": {
    "h": 9.057,
    "s": 71.3,
    "l": 56.275
  },
  "oklch": {
    "l": 0.6326,
    "c": 0.17368,
    "h": 32.2
  },
  "luminance": 0.23038
}

Semantic roles & 50–950 ramp

primary
#DF5840
secondary
#9DD4DE
accent
#D3EE3A
background
#FFF8F7
surface
#FFF0ED
border
#D7CBC8
text
#180C08
muted
#867D7B

Preview Lab

Preview with #DF5840

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

Preview Lab → · Contrast checker → · Palette generator →

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