#DF5040#DF5040

#DF5040 is a light, vivid red. Relative luminance 0.218; OKLCH L 62.3% C 0.181 H 29.5°. Best body text is #000000 at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#DF5040
RGBrgb(223, 80, 64)
HSLhsl(6, 71%, 56%)
HSVhsv(6, 71%, 87%)
CMYKcmyk(0%, 64.1%, 71.3%, 12.5%)
CIE-LABlab(53.81, 54.81, 39.29)
CIE-LCHlch(53.81, 67.43, 35.63°)
OKLaboklab(62.28% 0.1578 0.0893)
OKLCHoklch(62.28% 0.181 29.5)
XYZxyz(34.2291, 21.8003, 7.2550)
Luminance0.2180 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DF5040 #40CFDF
analogous
#DF4080 #DF5040 #DFA040
triadic
#DF5040 #40DF50 #5040DF
tetradic
#DF5040 #80DF40 #40CFDF #A040DF
square
#DF5040 #80DF40 #40CFDF #A040DF
split-complementary
#DF5040 #40DFA0 #4080DF
monochromatic
#8D2318 #C13120 #DF5040 #E88074 #F1B0A9

Accessibility & contrast

On white

3.92
#DF5040 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.36
#DF5040 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DF5040
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DF5040#FFFFFF#000000##000000
##DF50401.003.925.365.36
#FFFFFF3.921.0021.0021.00
#0000005.3621.001.001.00
##0000005.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#786D3D
Deuteranopia (green-blind)
#9B8C3B
Tritanopia (blue-blind)
#F52B4D
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #df5040;
/* rgb */ color: rgb(223, 80, 64);
/* oklch */ color: oklch(62.3% 0.181 29.5);
Tailwind
colors: {
  custom: {
    50: '#f18875',
    500: '#df5040',
    950: '#000000',
  },
}
SCSS
$custom: #df5040;
$custom-light: #f18875;
$custom-dark: #000000;
JSON
{
  "hex": "#df5040",
  "rgb": {
    "r": 223,
    "g": 80,
    "b": 64
  },
  "hsl": {
    "h": 6.038,
    "s": 71.3,
    "l": 56.275
  },
  "oklch": {
    "l": 0.6228,
    "c": 0.18133,
    "h": 29.5
  },
  "luminance": 0.21795
}

Semantic roles & 50–950 ramp

primary
#DF5040
secondary
#9DD8DE
accent
#DCEE3A
background
#FFF8F7
surface
#FFF0ED
border
#D7CBC8
text
#180C08
muted
#867D7B

Preview Lab

Preview with #DF5040

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

Preview Lab → · Contrast checker → · Palette generator →

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