#DF4940#DF4940

#DF4940 is a mid, vivid red. Relative luminance 0.208; OKLCH L 61.5% C 0.188 H 27.5°. Best body text is #000000 at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#DF4940
RGBrgb(223, 73, 64)
HSLhsl(3, 71%, 56%)
HSVhsv(3, 71%, 87%)
CMYKcmyk(0%, 67.3%, 71.3%, 12.5%)
CIE-LABlab(52.76, 57.66, 38.08)
CIE-LCHlch(52.76, 69.10, 33.44°)
OKLaboklab(61.49% 0.1668 0.0867)
OKLCHoklch(61.49% 0.188 27.5)
XYZxyz(33.7431, 20.8282, 7.0930)
Luminance0.2082 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DF4940 #40D6DF
analogous
#DF4087 #DF4940 #DF9940
triadic
#DF4940 #40DF49 #4940DF
tetradic
#DF4940 #87DF40 #40D6DF #9940DF
square
#DF4940 #87DF40 #40D6DF #9940DF
split-complementary
#DF4940 #40DF99 #4087DF
monochromatic
#8D1E18 #C12A20 #DF4940 #E87B74 #F1ADA9

Accessibility & contrast

On white

4.07
#DF4940 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.16
#DF4940 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DF4940
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DF4940#FFFFFF#000000##000000
##DF49401.004.075.165.16
#FFFFFF4.071.0021.0021.00
#0000005.1621.001.001.00
##0000005.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#73693E
Deuteranopia (green-blind)
#998A3B
Tritanopia (blue-blind)
#F51C48
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #df4940;
/* rgb */ color: rgb(223, 73, 64);
/* oklch */ color: oklch(61.5% 0.188 27.5);
Tailwind
colors: {
  custom: {
    50: '#f18475',
    500: '#df4940',
    950: '#000000',
  },
}
SCSS
$custom: #df4940;
$custom-light: #f18475;
$custom-dark: #000000;
JSON
{
  "hex": "#df4940",
  "rgb": {
    "r": 223,
    "g": 73,
    "b": 64
  },
  "hsl": {
    "h": 3.396,
    "s": 71.3,
    "l": 56.275
  },
  "oklch": {
    "l": 0.6149,
    "c": 0.18794,
    "h": 27.5
  },
  "luminance": 0.20823
}

Semantic roles & 50–950 ramp

primary
#DF4940
secondary
#9DDADE
accent
#E4EE3A
background
#FFF8F7
surface
#FFF0ED
border
#D7CBC8
text
#180B08
muted
#867C7B

Preview Lab

Preview with #DF4940

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

Preview Lab → · Contrast checker → · Palette generator →

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