#5E1F2B#5E1F2B

#5E1F2B is a dark, moderate red. Relative luminance 0.035; OKLCH L 34.0% C 0.092 H 12.0°. Best body text is #FFFFFF at 12.30:1 contrast (WCAG AA passes).

Color values

HEX#5E1F2B
RGBrgb(94, 31, 43)
HSLhsl(349, 50%, 25%)
HSVhsv(349, 67%, 37%)
CMYKcmyk(0%, 67%, 54.3%, 63.1%)
CIE-LABlab(22.07, 29.80, 7.49)
CIE-LCHlch(22.07, 30.73, 14.11°)
OKLaboklab(33.98% 0.0902 0.0191)
OKLCHoklch(33.98% 0.092 12)
XYZxyz(5.5426, 3.5348, 2.6754)
Luminance0.0353 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E1F2B #1F5E52
analogous
#5E1F4B #5E1F2B #5E321F
triadic
#5E1F2B #2B5E1F #1F2B5E
tetradic
#5E1F2B #4B5E1F #1F5E52 #321F5E
square
#5E1F2B #4B5E1F #1F5E52 #321F5E
split-complementary
#5E1F2B #1F5E32 #1F4B5E
monochromatic
#17080B #301016 #5E1F2B #8C2E40 #BA3D55

Accessibility & contrast

On white

12.30
#5E1F2B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.71
#5E1F2B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E1F2B
12.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E1F2B#FFFFFF#000000##FFFFFF
##5E1F2B1.0012.301.7112.30
#FFFFFF12.301.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D2D2B
Deuteranopia (green-blind)
#3D3A2A
Tritanopia (blue-blind)
#671524
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #5e1f2b;
/* rgb */ color: rgb(94, 31, 43);
/* oklch */ color: oklch(34.0% 0.092 12.0);
Tailwind
colors: {
  custom: {
    50: '#905e64',
    500: '#5e1f2b',
    950: '#000000',
  },
}
SCSS
$custom: #5e1f2b;
$custom-light: #905e64;
$custom-dark: #000000;
JSON
{
  "hex": "#5e1f2b",
  "rgb": {
    "r": 94,
    "g": 31,
    "b": 43
  },
  "hsl": {
    "h": 348.571,
    "s": 50.4,
    "l": 24.51
  },
  "oklch": {
    "l": 0.33983,
    "c": 0.09216,
    "h": 12
  },
  "luminance": 0.03534
}

Semantic roles & 50–950 ramp

primary
#5E1F2B
secondary
#469384
accent
#DABF4E
background
#F9F5F5
surface
#F1E9EA
border
#CBC5C6
text
#0D0505
muted
#7E7979

Preview Lab

Preview with #5E1F2B

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

Preview Lab → · Contrast checker → · Palette generator →

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