#4D1F0C#4D1F0C

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

Color values

HEX#4D1F0C
RGBrgb(77, 31, 12)
HSLhsl(18, 73%, 17%)
HSVhsv(18, 84%, 30%)
CMYKcmyk(0%, 59.7%, 84.4%, 69.8%)
CIE-LABlab(18.30, 20.35, 22.16)
CIE-LCHlch(18.30, 30.09, 47.44°)
OKLaboklab(30.33% 0.0566 0.0501)
OKLCHoklch(30.33% 0.076 41.5)
XYZxyz(3.6173, 2.5848, 0.6562)
Luminance0.0258 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D1F0C #0C3A4D
analogous
#4D0C1A #4D1F0C #4D3F0C
triadic
#4D1F0C #0C4D1F #1F0C4D
tetradic
#4D1F0C #1A4D0C #0C3A4D #3F0C4D
square
#4D1F0C #1A4D0C #0C3A4D #3F0C4D
split-complementary
#4D1F0C #0C4D3F #0C1A4D
monochromatic
#1A0B04 #1A0B04 #4D1F0C #823414 #B74A1D

Accessibility & contrast

On white

13.84
#4D1F0C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4D1F0C
13.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D1F0C#FFFFFF#000000##FFFFFF
##4D1F0C1.0013.841.5213.84
#FFFFFF13.841.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.841.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4d1f0c;
/* rgb */ color: rgb(77, 31, 12);
/* oklch */ color: oklch(30.3% 0.076 41.5);
Tailwind
colors: {
  custom: {
    50: '#845c4c',
    500: '#4d1f0c',
    950: '#000000',
  },
}
SCSS
$custom: #4d1f0c;
$custom-light: #845c4c;
$custom-dark: #000000;
JSON
{
  "hex": "#4d1f0c",
  "rgb": {
    "r": 77,
    "g": 31,
    "b": 12
  },
  "hsl": {
    "h": 17.538,
    "s": 73.034,
    "l": 17.451
  },
  "oklch": {
    "l": 0.30332,
    "c": 0.07564,
    "h": 41.5
  },
  "luminance": 0.02584
}

Semantic roles & 50–950 ramp

primary
#4D1F0C
secondary
#2C6E89
accent
#BAF038
background
#F8F5F4
surface
#F0E9E7
border
#CBC5C3
text
#0C0401
muted
#7D7977

Preview Lab

Preview with #4D1F0C

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

Preview Lab → · Contrast checker → · Palette generator →

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