#4E1F23#4E1F23

#4E1F23 is a dark, moderate red. Relative luminance 0.027; OKLCH L 31.0% C 0.071 H 17.0°. Best body text is #FFFFFF at 13.60:1 contrast (WCAG AA passes).

Color values

HEX#4E1F23
RGBrgb(78, 31, 35)
HSLhsl(355, 43%, 21%)
HSVhsv(355, 60%, 31%)
CMYKcmyk(0%, 60.3%, 55.1%, 69.4%)
CIE-LABlab(18.89, 22.58, 8.21)
CIE-LCHlch(18.89, 24.03, 19.99°)
OKLaboklab(30.95% 0.0679 0.0207)
OKLCHoklch(30.95% 0.071 17)
XYZxyz(3.9355, 2.7215, 1.9078)
Luminance0.0272 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E1F23 #1F4E4A
analogous
#4E1F3B #4E1F23 #4E331F
triadic
#4E1F23 #234E1F #1F234E
tetradic
#4E1F23 #3B4E1F #1F4E4A #331F4E
square
#4E1F23 #3B4E1F #1F4E4A #331F4E
split-complementary
#4E1F23 #1F4E33 #1F3B4E
monochromatic
#16090A #220E0F #4E1F23 #7A3037 #A6424A

Accessibility & contrast

On white

13.60
#4E1F23 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.54
#4E1F23 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E1F23
13.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E1F23#FFFFFF#000000##FFFFFF
##4E1F231.0013.601.5413.60
#FFFFFF13.601.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#292823
Deuteranopia (green-blind)
#353222
Tritanopia (blue-blind)
#551821
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #4e1f23;
/* rgb */ color: rgb(78, 31, 35);
/* oklch */ color: oklch(31.0% 0.071 17.0);
Tailwind
colors: {
  custom: {
    50: '#835c5d',
    500: '#4e1f23',
    950: '#000000',
  },
}
SCSS
$custom: #4e1f23;
$custom-light: #835c5d;
$custom-dark: #000000;
JSON
{
  "hex": "#4e1f23",
  "rgb": {
    "r": 78,
    "g": 31,
    "b": 35
  },
  "hsl": {
    "h": 354.894,
    "s": 43.119,
    "l": 21.373
  },
  "oklch": {
    "l": 0.30951,
    "c": 0.07101,
    "h": 17
  },
  "luminance": 0.02721
}

Semantic roles & 50–950 ramp

primary
#4E1F23
secondary
#46837E
accent
#D3C855
background
#F8F5F5
surface
#EFE9E9
border
#CAC5C5
text
#0B0404
muted
#7C7979

Preview Lab

Preview with #4E1F23

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

Preview Lab → · Contrast checker → · Palette generator →

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