#5E131E#5E131E

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

Color values

HEX#5E131E
RGBrgb(94, 19, 30)
HSLhsl(351, 66%, 22%)
HSVhsv(351, 80%, 37%)
CMYKcmyk(0%, 79.8%, 68.1%, 63.1%)
CIE-LABlab(19.80, 34.07, 13.49)
CIE-LCHlch(19.80, 36.64, 21.60°)
OKLaboklab(32.19% 0.1015 0.0324)
OKLCHoklch(32.19% 0.107 17.7)
XYZxyz(5.0838, 2.9399, 1.5278)
Luminance0.0294 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E131E #135E53
analogous
#5E1344 #5E131E #5E2E13
triadic
#5E131E #1E5E13 #131E5E
tetradic
#5E131E #445E13 #135E53 #2E135E
square
#5E131E #445E13 #135E53 #2E135E
split-complementary
#5E131E #135E2E #13445E
monochromatic
#190508 #2B090E #5E131E #911D2E #C4283E

Accessibility & contrast

On white

13.23
#5E131E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5E131E
13.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E131E#FFFFFF#000000##FFFFFF
##5E131E1.0013.231.5913.23
#FFFFFF13.231.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.231.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5e131e;
/* rgb */ color: rgb(94, 19, 30);
/* oklch */ color: oklch(32.2% 0.107 17.7);
Tailwind
colors: {
  custom: {
    50: '#915859',
    500: '#5e131e',
    950: '#000000',
  },
}
SCSS
$custom: #5e131e;
$custom-light: #915859;
$custom-dark: #000000;
JSON
{
  "hex": "#5e131e",
  "rgb": {
    "r": 94,
    "g": 19,
    "b": 30
  },
  "hsl": {
    "h": 351.2,
    "s": 66.372,
    "l": 22.157
  },
  "oklch": {
    "l": 0.32193,
    "c": 0.10652,
    "h": 17.7
  },
  "luminance": 0.02939
}

Semantic roles & 50–950 ramp

primary
#5E131E
secondary
#379688
accent
#E9D03F
background
#F9F5F5
surface
#F2E9E9
border
#CCC5C5
text
#0E0403
muted
#7E7978

Preview Lab

Preview with #5E131E

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

Preview Lab → · Contrast checker → · Palette generator →

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