#5E151F#5E151F

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

Color values

HEX#5E151F
RGBrgb(94, 21, 31)
HSLhsl(352, 63%, 23%)
HSVhsv(352, 78%, 37%)
CMYKcmyk(0%, 77.7%, 67%, 63.1%)
CIE-LABlab(20.11, 33.35, 13.19)
CIE-LCHlch(20.11, 35.86, 21.57°)
OKLaboklab(32.43% 0.0994 0.0318)
OKLCHoklch(32.43% 0.104 17.8)
XYZxyz(5.1321, 3.0157, 1.6079)
Luminance0.0301 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E151F #155E54
analogous
#5E1543 #5E151F #5E3015
triadic
#5E151F #1F5E15 #151F5E
tetradic
#5E151F #435E15 #155E54 #30155E
square
#5E151F #435E15 #155E54 #30155E
split-complementary
#5E151F #155E30 #15435E
monochromatic
#190608 #2C0A0F #5E151F #90202F #C22B40

Accessibility & contrast

On white

13.10
#5E151F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5E151F
13.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E151F#FFFFFF#000000##FFFFFF
##5E151F1.0013.101.6013.10
#FFFFFF13.101.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#29271F
Deuteranopia (green-blind)
#3B361D
Tritanopia (blue-blind)
#680119
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #5e151f;
/* rgb */ color: rgb(94, 21, 31);
/* oklch */ color: oklch(32.4% 0.104 17.8);
Tailwind
colors: {
  custom: {
    50: '#91595a',
    500: '#5e151f',
    950: '#000000',
  },
}
SCSS
$custom: #5e151f;
$custom-light: #91595a;
$custom-dark: #000000;
JSON
{
  "hex": "#5e151f",
  "rgb": {
    "r": 94,
    "g": 21,
    "b": 31
  },
  "hsl": {
    "h": 351.781,
    "s": 63.478,
    "l": 22.549
  },
  "oklch": {
    "l": 0.32426,
    "c": 0.10436,
    "h": 17.8
  },
  "luminance": 0.03015
}

Semantic roles & 50–950 ramp

primary
#5E151F
secondary
#399589
accent
#E7D041
background
#F9F5F5
surface
#F2E9E9
border
#CCC5C5
text
#0E0403
muted
#7E7978

Preview Lab

Preview with #5E151F

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

Preview Lab → · Contrast checker → · Palette generator →

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