#DF4540#DF4540

#DF4540 is a mid, vivid red. Relative luminance 0.203; OKLCH L 61.1% C 0.192 H 26.4°. Best body text is #000000 at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#DF4540
RGBrgb(223, 69, 64)
HSLhsl(2, 71%, 56%)
HSVhsv(2, 71%, 87%)
CMYKcmyk(0%, 69.1%, 71.3%, 12.5%)
CIE-LABlab(52.20, 59.20, 37.43)
CIE-LCHlch(52.20, 70.04, 32.30°)
OKLaboklab(61.07% 0.1716 0.0853)
OKLCHoklch(61.07% 0.192 26.4)
XYZxyz(33.4887, 20.3194, 7.0082)
Luminance0.2031 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DF4540 #40DADF
analogous
#DF408B #DF4540 #DF9540
triadic
#DF4540 #40DF45 #4540DF
tetradic
#DF4540 #8BDF40 #40DADF #9540DF
square
#DF4540 #8BDF40 #40DADF #9540DF
split-complementary
#DF4540 #40DF95 #408BDF
monochromatic
#8D1B18 #C12520 #DF4540 #E87874 #F1ABA9

Accessibility & contrast

On white

4.15
#DF4540 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.06
#DF4540 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DF4540
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DF4540#FFFFFF#000000##000000
##DF45401.004.155.065.06
#FFFFFF4.151.0021.0021.00
#0000005.0621.001.001.00
##0000005.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#71673E
Deuteranopia (green-blind)
#97893B
Tritanopia (blue-blind)
#F51045
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #df4540;
/* rgb */ color: rgb(223, 69, 64);
/* oklch */ color: oklch(61.1% 0.192 26.4);
Tailwind
colors: {
  custom: {
    50: '#f28275',
    500: '#df4540',
    950: '#000000',
  },
}
SCSS
$custom: #df4540;
$custom-light: #f28275;
$custom-dark: #000000;
JSON
{
  "hex": "#df4540",
  "rgb": {
    "r": 223,
    "g": 69,
    "b": 64
  },
  "hsl": {
    "h": 1.887,
    "s": 71.3,
    "l": 56.275
  },
  "oklch": {
    "l": 0.61067,
    "c": 0.19162,
    "h": 26.4
  },
  "luminance": 0.20314
}

Semantic roles & 50–950 ramp

primary
#DF4540
secondary
#9DDCDE
accent
#E8EE3A
background
#FFF8F7
surface
#FFEFED
border
#D7CAC8
text
#180B08
muted
#867C7B

Preview Lab

Preview with #DF4540

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

Preview Lab → · Contrast checker → · Palette generator →

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