#5E151C#5E151C

#5E151C is a dark, moderate red. Relative luminance 0.030; OKLCH L 32.4% C 0.104 H 20.2°. Best body text is #FFFFFF at 13.13:1 contrast (WCAG AA passes).

Color values

HEX#5E151C
RGBrgb(94, 21, 28)
HSLhsl(354, 63%, 23%)
HSVhsv(354, 78%, 37%)
CMYKcmyk(0%, 77.7%, 70.2%, 63.1%)
CIE-LABlab(20.05, 33.15, 15.19)
CIE-LCHlch(20.05, 36.46, 24.62°)
OKLaboklab(32.36% 0.0981 0.0361)
OKLCHoklch(32.36% 0.104 20.2)
XYZxyz(5.0944, 3.0006, 1.4093)
Luminance0.0300 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E151C #155E57
analogous
#5E1540 #5E151C #5E3315
triadic
#5E151C #1C5E15 #151C5E
tetradic
#5E151C #405E15 #155E57 #33155E
square
#5E151C #405E15 #155E57 #33155E
split-complementary
#5E151C #155E33 #15405E
monochromatic
#190607 #2C0A0D #5E151C #90202B #C22B3A

Accessibility & contrast

On white

13.13
#5E151C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#5E151C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E151C
13.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E151C#FFFFFF#000000##FFFFFF
##5E151C1.0013.131.6013.13
#FFFFFF13.131.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#29271C
Deuteranopia (green-blind)
#3C361A
Tritanopia (blue-blind)
#680018
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #5e151c;
/* rgb */ color: rgb(94, 21, 28);
/* oklch */ color: oklch(32.4% 0.104 20.2);
Tailwind
colors: {
  custom: {
    50: '#915958',
    500: '#5e151c',
    950: '#000000',
  },
}
SCSS
$custom: #5e151c;
$custom-light: #915958;
$custom-dark: #000000;
JSON
{
  "hex": "#5e151c",
  "rgb": {
    "r": 94,
    "g": 21,
    "b": 28
  },
  "hsl": {
    "h": 354.247,
    "s": 63.478,
    "l": 22.549
  },
  "oklch": {
    "l": 0.32362,
    "c": 0.10448,
    "h": 20.2
  },
  "luminance": 0.03
}

Semantic roles & 50–950 ramp

primary
#5E151C
secondary
#39958D
accent
#E7D741
background
#F9F5F5
surface
#F2E9E9
border
#CCC5C5
text
#0E0403
muted
#7E7978

Preview Lab

Preview with #5E151C

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

Preview Lab → · Contrast checker → · Palette generator →

#5E151C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva