#DF4740#DF4740

#DF4740 is a mid, vivid red. Relative luminance 0.206; OKLCH L 61.3% C 0.190 H 26.9°. Best body text is #000000 at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#DF4740
RGBrgb(223, 71, 64)
HSLhsl(3, 71%, 56%)
HSVhsv(3, 71%, 87%)
CMYKcmyk(0%, 68.2%, 71.3%, 12.5%)
CIE-LABlab(52.48, 58.44, 37.75)
CIE-LCHlch(52.48, 69.57, 32.86°)
OKLaboklab(61.28% 0.1692 0.086)
OKLCHoklch(61.28% 0.19 26.9)
XYZxyz(33.6138, 20.5696, 7.0499)
Luminance0.2056 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DF4740 #40D8DF
analogous
#DF4089 #DF4740 #DF9740
triadic
#DF4740 #40DF47 #4740DF
tetradic
#DF4740 #89DF40 #40D8DF #9740DF
square
#DF4740 #89DF40 #40D8DF #9740DF
split-complementary
#DF4740 #40DF97 #4089DF
monochromatic
#8D1D18 #C12720 #DF4740 #E87A74 #F1ACA9

Accessibility & contrast

On white

4.11
#DF4740 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.11
#DF4740 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DF4740
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DF4740#FFFFFF#000000##000000
##DF47401.004.115.115.11
#FFFFFF4.111.0021.0021.00
#0000005.1121.001.001.00
##0000005.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#72683E
Deuteranopia (green-blind)
#98893B
Tritanopia (blue-blind)
#F51747
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #df4740;
/* rgb */ color: rgb(223, 71, 64);
/* oklch */ color: oklch(61.3% 0.190 26.9);
Tailwind
colors: {
  custom: {
    50: '#f18375',
    500: '#df4740',
    950: '#000000',
  },
}
SCSS
$custom: #df4740;
$custom-light: #f18375;
$custom-dark: #000000;
JSON
{
  "hex": "#df4740",
  "rgb": {
    "r": 223,
    "g": 71,
    "b": 64
  },
  "hsl": {
    "h": 2.642,
    "s": 71.3,
    "l": 56.275
  },
  "oklch": {
    "l": 0.61276,
    "c": 0.18979,
    "h": 26.9
  },
  "luminance": 0.20565
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #DF4740

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

Preview Lab → · Contrast checker → · Palette generator →

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