#DF4742#DF4742

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

Color values

HEX#DF4742
RGBrgb(223, 71, 66)
HSLhsl(2, 71%, 57%)
HSVhsv(2, 70%, 87%)
CMYKcmyk(0%, 68.2%, 70.4%, 12.5%)
CIE-LABlab(52.50, 58.53, 36.65)
CIE-LCHlch(52.50, 69.06, 32.06°)
OKLaboklab(61.3% 0.1699 0.0839)
OKLCHoklch(61.3% 0.19 26.3)
XYZxyz(33.6717, 20.5927, 7.3550)
Luminance0.2059 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DF4742 #42DADF
analogous
#DF428C #DF4742 #DF9642
triadic
#DF4742 #42DF47 #4742DF
tetradic
#DF4742 #8CDF42 #42DADF #9642DF
square
#DF4742 #8CDF42 #42DADF #9642DF
split-complementary
#DF4742 #42DF96 #428CDF
monochromatic
#8E1C18 #C32621 #DF4742 #E87A76 #F1ADAB

Accessibility & contrast

On white

4.10
#DF4742 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.12
#DF4742 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DF4742
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DF4742#FFFFFF#000000##000000
##DF47421.004.105.125.12
#FFFFFF4.101.0021.0021.00
#0000005.1221.001.001.00
##0000005.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#726840
Deuteranopia (green-blind)
#98893D
Tritanopia (blue-blind)
#F51747
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #df4742;
/* rgb */ color: rgb(223, 71, 66);
/* oklch */ color: oklch(61.3% 0.190 26.3);
Tailwind
colors: {
  custom: {
    50: '#f18377',
    500: '#df4742',
    950: '#000000',
  },
}
SCSS
$custom: #df4742;
$custom-light: #f18377;
$custom-dark: #000000;
JSON
{
  "hex": "#df4742",
  "rgb": {
    "r": 223,
    "g": 71,
    "b": 66
  },
  "hsl": {
    "h": 1.911,
    "s": 71.041,
    "l": 56.667
  },
  "oklch": {
    "l": 0.61303,
    "c": 0.1895,
    "h": 26.3
  },
  "luminance": 0.20588
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #DF4742

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

Preview Lab → · Contrast checker → · Palette generator →

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