#4E1F12#4E1F12

#4E1F12 is a dark, moderate red. Relative luminance 0.026; OKLCH L 30.6% C 0.075 H 36.4°. Best body text is #FFFFFF at 13.74:1 contrast (WCAG AA passes).

Color values

HEX#4E1F12
RGBrgb(78, 31, 18)
HSLhsl(13, 63%, 19%)
HSVhsv(13, 77%, 31%)
CMYKcmyk(0%, 60.3%, 76.9%, 69.4%)
CIE-LABlab(18.56, 21.13, 19.33)
CIE-LCHlch(18.56, 28.64, 42.45°)
OKLaboklab(30.59% 0.0602 0.0443)
OKLCHoklch(30.59% 0.075 36.4)
XYZxyz(3.7414, 2.6438, 0.8854)
Luminance0.0264 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E1F12 #12414E
analogous
#4E1223 #4E1F12 #4E3D12
triadic
#4E1F12 #124E1F #1F124E
tetradic
#4E1F12 #234E12 #12414E #3D124E
square
#4E1F12 #234E12 #12414E #3D124E
split-complementary
#4E1F12 #124E3D #12234E
monochromatic
#190A06 #1C0B07 #4E1F12 #80331D #B14729

Accessibility & contrast

On white

13.74
#4E1F12 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.53
#4E1F12 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E1F12
13.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E1F12#FFFFFF#000000##FFFFFF
##4E1F121.0013.741.5313.74
#FFFFFF13.741.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C2711
Deuteranopia (green-blind)
#373111
Tritanopia (blue-blind)
#56151C
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #4e1f12;
/* rgb */ color: rgb(78, 31, 18);
/* oklch */ color: oklch(30.6% 0.075 36.4);
Tailwind
colors: {
  custom: {
    50: '#845c50',
    500: '#4e1f12',
    950: '#000000',
  },
}
SCSS
$custom: #4e1f12;
$custom-light: #845c50;
$custom-dark: #000000;
JSON
{
  "hex": "#4e1f12",
  "rgb": {
    "r": 78,
    "g": 31,
    "b": 18
  },
  "hsl": {
    "h": 13,
    "s": 62.5,
    "l": 18.824
  },
  "oklch": {
    "l": 0.30589,
    "c": 0.07474,
    "h": 36.4
  },
  "luminance": 0.02643
}

Semantic roles & 50–950 ramp

primary
#4E1F12
secondary
#357587
accent
#C2E642
background
#F8F5F4
surface
#F0E9E7
border
#CBC5C3
text
#0C0402
muted
#7D7978

Preview Lab

Preview with #4E1F12

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

Preview Lab → · Contrast checker → · Palette generator →

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