#DF4840#DF4840

#DF4840 is a mid, vivid red. Relative luminance 0.207; OKLCH L 61.4% C 0.189 H 27.2°. Best body text is #000000 at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#DF4840
RGBrgb(223, 72, 64)
HSLhsl(3, 71%, 56%)
HSVhsv(3, 71%, 87%)
CMYKcmyk(0%, 67.7%, 71.3%, 12.5%)
CIE-LABlab(52.62, 58.05, 37.91)
CIE-LCHlch(52.62, 69.33, 33.15°)
OKLaboklab(61.38% 0.168 0.0863)
OKLCHoklch(61.38% 0.189 27.2)
XYZxyz(33.6779, 20.6978, 7.0712)
Luminance0.2069 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DF4840 #40D7DF
analogous
#DF4088 #DF4840 #DF9840
triadic
#DF4840 #40DF48 #4840DF
tetradic
#DF4840 #88DF40 #40D7DF #9840DF
square
#DF4840 #88DF40 #40D7DF #9840DF
split-complementary
#DF4840 #40DF98 #4088DF
monochromatic
#8D1E18 #C12920 #DF4840 #E87A74 #F1ACA9

Accessibility & contrast

On white

4.09
#DF4840 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.14
#DF4840 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DF4840
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DF4840#FFFFFF#000000##000000
##DF48401.004.095.145.14
#FFFFFF4.091.0021.0021.00
#0000005.1421.001.001.00
##0000005.1421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #df4840;
/* rgb */ color: rgb(223, 72, 64);
/* oklch */ color: oklch(61.4% 0.189 27.2);
Tailwind
colors: {
  custom: {
    50: '#f18375',
    500: '#df4840',
    950: '#000000',
  },
}
SCSS
$custom: #df4840;
$custom-light: #f18375;
$custom-dark: #000000;
JSON
{
  "hex": "#df4840",
  "rgb": {
    "r": 223,
    "g": 72,
    "b": 64
  },
  "hsl": {
    "h": 3.019,
    "s": 71.3,
    "l": 56.275
  },
  "oklch": {
    "l": 0.61382,
    "c": 0.18887,
    "h": 27.2
  },
  "luminance": 0.20693
}

Semantic roles & 50–950 ramp

primary
#DF4840
secondary
#9DDBDE
accent
#E5EE3A
background
#FFF8F7
surface
#FFF0ED
border
#D7CBC8
text
#180B08
muted
#867C7B

Preview Lab

Preview with #DF4840

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

Preview Lab → · Contrast checker → · Palette generator →

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