#4D271A#4D271A

#4D271A is a dark, moderate orange. Relative luminance 0.031; OKLCH L 32.0% C 0.061 H 39.5°. Best body text is #FFFFFF at 12.96:1 contrast (WCAG AA passes).

Color values

HEX#4D271A
RGBrgb(77, 39, 26)
HSLhsl(15, 50%, 20%)
HSVhsv(15, 66%, 30%)
CMYKcmyk(0%, 49.4%, 66.2%, 69.8%)
CIE-LABlab(20.45, 16.39, 16.37)
CIE-LCHlch(20.45, 23.16, 44.97°)
OKLaboklab(32.04% 0.0474 0.039)
OKLCHoklch(32.04% 0.061 39.5)
XYZxyz(3.9728, 3.1038, 1.3670)
Luminance0.0310 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D271A #1A404D
analogous
#4D1A26 #4D271A #4D401A
triadic
#4D271A #1A4D27 #271A4D
tetradic
#4D271A #264D1A #1A404D #401A4D
square
#4D271A #264D1A #1A404D #401A4D
split-complementary
#4D271A #1A4D40 #1A264D
monochromatic
#170C08 #1F100B #4D271A #7B3E29 #A95539

Accessibility & contrast

On white

12.96
#4D271A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#4D271A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D271A
12.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D271A#FFFFFF#000000##FFFFFF
##4D271A1.0012.961.6212.96
#FFFFFF12.961.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#312C19
Deuteranopia (green-blind)
#3A3419
Tritanopia (blue-blind)
#552024
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #4d271a;
/* rgb */ color: rgb(77, 39, 26);
/* oklch */ color: oklch(32.0% 0.061 39.5);
Tailwind
colors: {
  custom: {
    50: '#826156',
    500: '#4d271a',
    950: '#000000',
  },
}
SCSS
$custom: #4d271a;
$custom-light: #826156;
$custom-dark: #000000;
JSON
{
  "hex": "#4d271a",
  "rgb": {
    "r": 77,
    "g": 39,
    "b": 26
  },
  "hsl": {
    "h": 15.294,
    "s": 49.515,
    "l": 20.196
  },
  "oklch": {
    "l": 0.32043,
    "c": 0.06136,
    "h": 39.5
  },
  "luminance": 0.03103
}

Semantic roles & 50–950 ramp

primary
#4D271A
secondary
#407283
accent
#B6D94F
background
#F8F5F5
surface
#EFEAE9
border
#CAC6C5
text
#0B0503
muted
#7C7978

Preview Lab

Preview with #4D271A

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

Preview Lab → · Contrast checker → · Palette generator →

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