#4E1F17#4E1F17

#4E1F17 is a dark, moderate red. Relative luminance 0.027; OKLCH L 30.7% C 0.073 H 31.5°. Best body text is #FFFFFF at 13.70:1 contrast (WCAG AA passes).

Color values

HEX#4E1F17
RGBrgb(78, 31, 23)
HSLhsl(9, 54%, 20%)
HSVhsv(9, 71%, 31%)
CMYKcmyk(0%, 60.3%, 70.5%, 69.4%)
CIE-LABlab(18.64, 21.48, 16.16)
CIE-LCHlch(18.64, 26.88, 36.95°)
OKLaboklab(30.67% 0.0623 0.0381)
OKLCHoklch(30.67% 0.073 31.5)
XYZxyz(3.7869, 2.6620, 1.1248)
Luminance0.0266 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E1F17 #17464E
analogous
#4E172B #4E1F17 #4E3A17
triadic
#4E1F17 #174E1F #1F174E
tetradic
#4E1F17 #2B4E17 #17464E #3A174E
square
#4E1F17 #2B4E17 #17464E #3A174E
split-complementary
#4E1F17 #174E3A #172B4E
monochromatic
#180907 #1F0C09 #4E1F17 #7D3225 #AD4533

Accessibility & contrast

On white

13.70
#4E1F17 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4E1F17
13.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E1F17#FFFFFF#000000##FFFFFF
##4E1F171.0013.701.5313.70
#FFFFFF13.701.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B2716
Deuteranopia (green-blind)
#373116
Tritanopia (blue-blind)
#56161D
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #4e1f17;
/* rgb */ color: rgb(78, 31, 23);
/* oklch */ color: oklch(30.7% 0.073 31.5);
Tailwind
colors: {
  custom: {
    50: '#845c54',
    500: '#4e1f17',
    950: '#000000',
  },
}
SCSS
$custom: #4e1f17;
$custom-light: #845c54;
$custom-dark: #000000;
JSON
{
  "hex": "#4e1f17",
  "rgb": {
    "r": 78,
    "g": 31,
    "b": 23
  },
  "hsl": {
    "h": 8.727,
    "s": 54.455,
    "l": 19.804
  },
  "oklch": {
    "l": 0.30674,
    "c": 0.07308,
    "h": 31.5
  },
  "luminance": 0.02662
}

Semantic roles & 50–950 ramp

primary
#4E1F17
secondary
#3C7A85
accent
#C8DE4A
background
#F8F5F4
surface
#F0E9E7
border
#CBC5C3
text
#0B0402
muted
#7C7978

Preview Lab

Preview with #4E1F17

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

Preview Lab → · Contrast checker → · Palette generator →

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