#4D1F0B#4D1F0B

#4D1F0B is a dark, moderate orange. Relative luminance 0.026; OKLCH L 30.3% C 0.076 H 42.2°. Best body text is #FFFFFF at 13.85:1 contrast (WCAG AA passes).

Color values

HEX#4D1F0B
RGBrgb(77, 31, 11)
HSLhsl(18, 75%, 17%)
HSVhsv(18, 86%, 30%)
CMYKcmyk(0%, 59.7%, 85.7%, 69.8%)
CIE-LABlab(18.29, 20.30, 22.59)
CIE-LCHlch(18.29, 30.37, 48.06°)
OKLaboklab(30.32% 0.0563 0.0511)
OKLCHoklch(30.32% 0.076 42.2)
XYZxyz(3.6113, 2.5824, 0.6248)
Luminance0.0258 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D1F0B #0B394D
analogous
#4D0B18 #4D1F0B #4D400B
triadic
#4D1F0B #0B4D1F #1F0B4D
tetradic
#4D1F0B #184D0B #0B394D #400B4D
square
#4D1F0B #184D0B #0B394D #400B4D
split-complementary
#4D1F0B #0B4D40 #0B184D
monochromatic
#1B0B04 #1B0B04 #4D1F0B #833513 #B84A1A

Accessibility & contrast

On white

13.85
#4D1F0B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.52
#4D1F0B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D1F0B
13.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D1F0B#FFFFFF#000000##FFFFFF
##4D1F0B1.0013.851.5213.85
#FFFFFF13.851.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C2608
Deuteranopia (green-blind)
#37310A
Tritanopia (blue-blind)
#55151B
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #4d1f0b;
/* rgb */ color: rgb(77, 31, 11);
/* oklch */ color: oklch(30.3% 0.076 42.2);
Tailwind
colors: {
  custom: {
    50: '#845c4c',
    500: '#4d1f0b',
    950: '#000000',
  },
}
SCSS
$custom: #4d1f0b;
$custom-light: #845c4c;
$custom-dark: #000000;
JSON
{
  "hex": "#4d1f0b",
  "rgb": {
    "r": 77,
    "g": 31,
    "b": 11
  },
  "hsl": {
    "h": 18.182,
    "s": 75,
    "l": 17.255
  },
  "oklch": {
    "l": 0.3032,
    "c": 0.076,
    "h": 42.2
  },
  "luminance": 0.02582
}

Semantic roles & 50–950 ramp

primary
#4D1F0B
secondary
#2B6C89
accent
#B9F236
background
#F8F5F4
surface
#F0E9E7
border
#CBC5C3
text
#0C0401
muted
#7D7977

Preview Lab

Preview with #4D1F0B

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

Preview Lab → · Contrast checker → · Palette generator →

#4D1F0B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva