#DF4842#DF4842

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

Color values

HEX#DF4842
RGBrgb(223, 72, 66)
HSLhsl(2, 71%, 57%)
HSVhsv(2, 70%, 87%)
CMYKcmyk(0%, 67.7%, 70.4%, 12.5%)
CIE-LABlab(52.64, 58.14, 36.82)
CIE-LCHlch(52.64, 68.82, 32.34°)
OKLaboklab(61.41% 0.1687 0.0843)
OKLCHoklch(61.41% 0.189 26.6)
XYZxyz(33.7358, 20.7210, 7.3764)
Luminance0.2072 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DF4842 #42D9DF
analogous
#DF428B #DF4842 #DF9742
triadic
#DF4842 #42DF48 #4842DF
tetradic
#DF4842 #8BDF42 #42D9DF #9742DF
square
#DF4842 #8BDF42 #42D9DF #9742DF
split-complementary
#DF4842 #42DF97 #428BDF
monochromatic
#8E1D18 #C32721 #DF4842 #E87B76 #F1ADAB

Accessibility & contrast

On white

4.08
#DF4842 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##DF4842#FFFFFF#000000##000000
##DF48421.004.085.145.14
#FFFFFF4.081.0021.0021.00
#0000005.1421.001.001.00
##0000005.1421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #df4842;
/* rgb */ color: rgb(223, 72, 66);
/* oklch */ color: oklch(61.4% 0.189 26.6);
Tailwind
colors: {
  custom: {
    50: '#f18377',
    500: '#df4842',
    950: '#000000',
  },
}
SCSS
$custom: #df4842;
$custom-light: #f18377;
$custom-dark: #000000;
JSON
{
  "hex": "#df4842",
  "rgb": {
    "r": 223,
    "g": 72,
    "b": 66
  },
  "hsl": {
    "h": 2.293,
    "s": 71.041,
    "l": 56.667
  },
  "oklch": {
    "l": 0.6141,
    "c": 0.18858,
    "h": 26.6
  },
  "luminance": 0.20716
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #DF4842

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

Preview Lab → · Contrast checker → · Palette generator →

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