#5E131F#5E131F

#5E131F is a dark, moderate red. Relative luminance 0.029; OKLCH L 32.2% C 0.107 H 16.9°. Best body text is #FFFFFF at 13.22:1 contrast (WCAG AA passes).

Color values

HEX#5E131F
RGBrgb(94, 19, 31)
HSLhsl(350, 66%, 22%)
HSVhsv(350, 80%, 37%)
CMYKcmyk(0%, 79.8%, 67%, 63.1%)
CIE-LABlab(19.82, 34.14, 12.82)
CIE-LCHlch(19.82, 36.47, 20.58°)
OKLaboklab(32.21% 0.1019 0.031)
OKLCHoklch(32.21% 0.107 16.9)
XYZxyz(5.0968, 2.9451, 1.5961)
Luminance0.0294 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E131F #135E52
analogous
#5E1345 #5E131F #5E2D13
triadic
#5E131F #1F5E13 #131F5E
tetradic
#5E131F #455E13 #135E52 #2D135E
square
#5E131F #455E13 #135E52 #2D135E
split-complementary
#5E131F #135E2D #13455E
monochromatic
#190508 #2B090E #5E131F #911D30 #C42841

Accessibility & contrast

On white

13.22
#5E131F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.59
#5E131F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E131F
13.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E131F#FFFFFF#000000##FFFFFF
##5E131F1.0013.221.5913.22
#FFFFFF13.221.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#28261F
Deuteranopia (green-blind)
#3B361D
Tritanopia (blue-blind)
#680018
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #5e131f;
/* rgb */ color: rgb(94, 19, 31);
/* oklch */ color: oklch(32.2% 0.107 16.9);
Tailwind
colors: {
  custom: {
    50: '#91585a',
    500: '#5e131f',
    950: '#000000',
  },
}
SCSS
$custom: #5e131f;
$custom-light: #91585a;
$custom-dark: #000000;
JSON
{
  "hex": "#5e131f",
  "rgb": {
    "r": 94,
    "g": 19,
    "b": 31
  },
  "hsl": {
    "h": 350.4,
    "s": 66.372,
    "l": 22.157
  },
  "oklch": {
    "l": 0.32215,
    "c": 0.10651,
    "h": 16.9
  },
  "luminance": 0.02944
}

Semantic roles & 50–950 ramp

primary
#5E131F
secondary
#379687
accent
#E9CE3F
background
#F9F5F5
surface
#F2E9E9
border
#CCC5C5
text
#0E0403
muted
#7E7978

Preview Lab

Preview with #5E131F

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

Preview Lab → · Contrast checker → · Palette generator →

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