#DF4240#DF4240

#DF4240 is a mid, vivid red. Relative luminance 0.200; OKLCH L 60.8% C 0.194 H 25.7°. Best body text is #000000 at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#DF4240
RGBrgb(223, 66, 64)
HSLhsl(1, 71%, 56%)
HSVhsv(1, 71%, 87%)
CMYKcmyk(0%, 70.4%, 71.3%, 12.5%)
CIE-LABlab(51.79, 60.31, 36.96)
CIE-LCHlch(51.79, 70.73, 31.50°)
OKLaboklab(60.77% 0.1751 0.0842)
OKLCHoklch(60.77% 0.194 25.7)
XYZxyz(33.3088, 19.9596, 6.9482)
Luminance0.1996 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DF4240 #40DDDF
analogous
#DF408E #DF4240 #DF9240
triadic
#DF4240 #40DF42 #4240DF
tetradic
#DF4240 #8EDF40 #40DDDF #9240DF
square
#DF4240 #8EDF40 #40DDDF #9240DF
split-complementary
#DF4240 #40DF92 #408EDF
monochromatic
#8D1918 #C12220 #DF4240 #E87674 #F1AAA9

Accessibility & contrast

On white

4.21
#DF4240 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.99
#DF4240 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DF4240
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DF4240#FFFFFF#000000##000000
##DF42401.004.214.994.99
#FFFFFF4.211.0021.0021.00
#0000004.9921.001.001.00
##0000004.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#6F663E
Deuteranopia (green-blind)
#96883B
Tritanopia (blue-blind)
#F50143
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #df4240;
/* rgb */ color: rgb(223, 66, 64);
/* oklch */ color: oklch(60.8% 0.194 25.7);
Tailwind
colors: {
  custom: {
    50: '#f28075',
    500: '#df4240',
    950: '#000000',
  },
}
SCSS
$custom: #df4240;
$custom-light: #f28075;
$custom-dark: #000000;
JSON
{
  "hex": "#df4240",
  "rgb": {
    "r": 223,
    "g": 66,
    "b": 64
  },
  "hsl": {
    "h": 0.755,
    "s": 71.3,
    "l": 56.275
  },
  "oklch": {
    "l": 0.60765,
    "c": 0.19432,
    "h": 25.7
  },
  "luminance": 0.19955
}

Semantic roles & 50–950 ramp

primary
#DF4240
secondary
#9DDDDE
accent
#ECEE3A
background
#FFF8F7
surface
#FFEFED
border
#D7CAC8
text
#190B08
muted
#867C7B

Preview Lab

Preview with #DF4240

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

Preview Lab → · Contrast checker → · Palette generator →

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