#7F381B#7F381B

#7F381B is a dark, moderate orange. Relative luminance 0.074; OKLCH L 43.1% C 0.107 H 41.4°. Best body text is #FFFFFF at 8.45:1 contrast (WCAG AA passes).

Color values

HEX#7F381B
RGBrgb(127, 56, 27)
HSLhsl(17, 65%, 30%)
HSVhsv(17, 79%, 50%)
CMYKcmyk(0%, 55.9%, 78.7%, 50.2%)
CIE-LABlab(32.75, 28.77, 31.96)
CIE-LCHlch(32.75, 43.00, 48.01°)
OKLaboklab(43.1% 0.0802 0.0707)
OKLCHoklch(43.1% 0.107 41.4)
XYZxyz(10.3654, 7.4208, 1.9232)
Luminance0.0742 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F381B #1B627F
analogous
#7F1B30 #7F381B #7F6A1B
triadic
#7F381B #1B7F38 #381B7F
tetradic
#7F381B #307F1B #1B627F #6A1B7F
square
#7F381B #307F1B #1B627F #6A1B7F
split-complementary
#7F381B #1B7F6A #1B307F
monochromatic
#1A0B06 #4D2210 #7F381B #B14E26 #D66A3E

Accessibility & contrast

On white

8.45
#7F381B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.48
#7F381B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F381B
8.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F381B#FFFFFF#000000##FFFFFF
##7F381B1.008.452.488.45
#FFFFFF8.451.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C4317
Deuteranopia (green-blind)
#5D5319
Tritanopia (blue-blind)
#8C2932
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #7f381b;
/* rgb */ color: rgb(127, 56, 27);
/* oklch */ color: oklch(43.1% 0.107 41.4);
Tailwind
colors: {
  custom: {
    50: '#aa7059',
    500: '#7f381b',
    950: '#000000',
  },
}
SCSS
$custom: #7f381b;
$custom-light: #aa7059;
$custom-dark: #000000;
JSON
{
  "hex": "#7f381b",
  "rgb": {
    "r": 127,
    "g": 56,
    "b": 27
  },
  "hsl": {
    "h": 17.4,
    "s": 64.935,
    "l": 30.196
  },
  "oklch": {
    "l": 0.43104,
    "c": 0.10687,
    "h": 41.4
  },
  "luminance": 0.0742
}

Semantic roles & 50–950 ramp

primary
#7F381B
secondary
#4392B3
accent
#B7E840
background
#FBF6F5
surface
#F6ECE9
border
#D0C7C5
text
#110803
muted
#807B78

Preview Lab

Preview with #7F381B

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

Preview Lab → · Contrast checker → · Palette generator →

#7F381B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva