#DF4942#DF4942

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

Color values

HEX#DF4942
RGBrgb(223, 73, 66)
HSLhsl(3, 71%, 57%)
HSVhsv(3, 70%, 87%)
CMYKcmyk(0%, 67.3%, 70.4%, 12.5%)
CIE-LABlab(52.79, 57.75, 36.99)
CIE-LCHlch(52.79, 68.58, 32.64°)
OKLaboklab(61.52% 0.1674 0.0847)
OKLCHoklch(61.52% 0.188 26.8)
XYZxyz(33.8010, 20.8513, 7.3981)
Luminance0.2085 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DF4942 #42D8DF
analogous
#DF428A #DF4942 #DF9842
triadic
#DF4942 #42DF49 #4942DF
tetradic
#DF4942 #8ADF42 #42D8DF #9842DF
square
#DF4942 #8ADF42 #42D8DF #9842DF
split-complementary
#DF4942 #42DF98 #428ADF
monochromatic
#8E1D18 #C32821 #DF4942 #E87B76 #F1AEAB

Accessibility & contrast

On white

4.06
#DF4942 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.17
#DF4942 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DF4942
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DF4942#FFFFFF#000000##000000
##DF49421.004.065.175.17
#FFFFFF4.061.0021.0021.00
#0000005.1721.001.001.00
##0000005.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#736940
Deuteranopia (green-blind)
#988A3D
Tritanopia (blue-blind)
#F51D49
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #df4942;
/* rgb */ color: rgb(223, 73, 66);
/* oklch */ color: oklch(61.5% 0.188 26.8);
Tailwind
colors: {
  custom: {
    50: '#f18477',
    500: '#df4942',
    950: '#000000',
  },
}
SCSS
$custom: #df4942;
$custom-light: #f18477;
$custom-dark: #000000;
JSON
{
  "hex": "#df4942",
  "rgb": {
    "r": 223,
    "g": 73,
    "b": 66
  },
  "hsl": {
    "h": 2.675,
    "s": 71.041,
    "l": 56.667
  },
  "oklch": {
    "l": 0.61517,
    "c": 0.18763,
    "h": 26.8
  },
  "luminance": 0.20846
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #DF4942

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

Preview Lab → · Contrast checker → · Palette generator →

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