#DF7942#DF7942

#DF7942 is a light, vivid orange. Relative luminance 0.298; OKLCH L 68.1% C 0.144 H 47.2°. Best body text is #000000 at 6.95:1 contrast (WCAG AA passes).

Color values

HEX#DF7942
RGBrgb(223, 121, 66)
HSLhsl(21, 71%, 57%)
HSVhsv(21, 70%, 87%)
CMYKcmyk(0%, 45.7%, 70.4%, 12.5%)
CIE-LABlab(61.45, 35.34, 46.79)
CIE-LCHlch(61.45, 58.64, 52.93°)
OKLaboklab(68.08% 0.0982 0.1059)
OKLCHoklch(68.08% 0.144 47.2)
XYZxyz(38.2555, 29.7604, 8.8829)
Luminance0.2976 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DF7942 #42A8DF
analogous
#DF425A #DF7942 #DFC842
triadic
#DF7942 #42DF79 #7942DF
tetradic
#DF7942 #5ADF42 #42A8DF #C842DF
square
#DF7942 #5ADF42 #42A8DF #C842DF
split-complementary
#DF7942 #42DFC8 #425ADF
monochromatic
#8E4218 #C35A21 #DF7942 #E89E76 #F1C3AB

Accessibility & contrast

On white

3.02
#DF7942 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.95
#DF7942 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DF7942
6.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DF7942#FFFFFF#000000##000000
##DF79421.003.026.956.95
#FFFFFF3.021.0021.0021.00
#0000006.9521.001.001.00
##0000006.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#95863C
Deuteranopia (green-blind)
#AE9D41
Tritanopia (blue-blind)
#F4646D
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #df7942;
/* rgb */ color: rgb(223, 121, 66);
/* oklch */ color: oklch(68.1% 0.144 47.2);
Tailwind
colors: {
  custom: {
    50: '#efa179',
    500: '#df7942',
    950: '#000000',
  },
}
SCSS
$custom: #df7942;
$custom-light: #efa179;
$custom-dark: #000000;
JSON
{
  "hex": "#df7942",
  "rgb": {
    "r": 223,
    "g": 121,
    "b": 66
  },
  "hsl": {
    "h": 21.019,
    "s": 71.041,
    "l": 56.667
  },
  "oklch": {
    "l": 0.68084,
    "c": 0.14444,
    "h": 47.2
  },
  "luminance": 0.29756
}

Semantic roles & 50–950 ramp

primary
#DF7942
secondary
#9EC8DF
accent
#AFEE3A
background
#FFFAF7
surface
#FFF3ED
border
#D7CDC8
text
#180F09
muted
#867F7B

Preview Lab

Preview with #DF7942

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

Preview Lab → · Contrast checker → · Palette generator →

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