#D5791F#D5791F

#D5791F is a light, vivid orange. Relative luminance 0.279; OKLCH L 66.5% C 0.148 H 58.3°. Best body text is #000000 at 6.58:1 contrast (WCAG AA passes).

Color values

HEX#D5791F
RGBrgb(213, 121, 31)
HSLhsl(30, 75%, 48%)
HSVhsv(30, 85%, 84%)
CMYKcmyk(0%, 43.2%, 85.4%, 16.5%)
CIE-LABlab(59.82, 29.96, 59.74)
CIE-LCHlch(59.82, 66.83, 63.37°)
OKLaboklab(66.47% 0.0779 0.126)
OKLCHoklch(66.47% 0.148 58.3)
XYZxyz(34.5285, 27.9237, 4.8675)
Luminance0.2792 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5791F #1F7BD5
analogous
#D51F20 #D5791F #D5D41F
triadic
#D5791F #1FD579 #791FD5
tetradic
#D5791F #20D51F #1F7BD5 #D41FD5
square
#D5791F #20D51F #1F7BD5 #D41FD5
split-complementary
#D5791F #1FD5D4 #1F20D5
monochromatic
#6A3C0F #A05B17 #D5791F #E5984C #EDB782

Accessibility & contrast

On white

3.19
#D5791F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.58
#D5791F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D5791F
6.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D5791F#FFFFFF#000000##000000
##D5791F1.003.196.586.58
#FFFFFF3.191.0021.0021.00
#0000006.5821.001.001.00
##0000006.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#958309
Deuteranopia (green-blind)
#AB981F
Tritanopia (blue-blind)
#E96468
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #d5791f;
/* rgb */ color: rgb(213, 121, 31);
/* oklch */ color: oklch(66.5% 0.148 58.3);
Tailwind
colors: {
  custom: {
    50: '#e9a064',
    500: '#d5791f',
    950: '#000000',
  },
}
SCSS
$custom: #d5791f;
$custom-light: #e9a064;
$custom-dark: #000000;
JSON
{
  "hex": "#d5791f",
  "rgb": {
    "r": 213,
    "g": 121,
    "b": 31
  },
  "hsl": {
    "h": 29.67,
    "s": 74.59,
    "l": 47.843
  },
  "oklch": {
    "l": 0.66468,
    "c": 0.14815,
    "h": 58.3
  },
  "luminance": 0.2792
}

Semantic roles & 50–950 ramp

primary
#D5791F
secondary
#7AA8D5
accent
#95F137
background
#FFF9F6
surface
#FFF2EB
border
#D7CCC6
text
#180F06
muted
#867E7A

Preview Lab

Preview with #D5791F

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

Preview Lab → · Contrast checker → · Palette generator →

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