#5E1123#5E1123

#5E1123 is a dark, moderate red. Relative luminance 0.029; OKLCH L 32.1% C 0.109 H 12.9°. Best body text is #FFFFFF at 13.29:1 contrast (WCAG AA passes).

Color values

HEX#5E1123
RGBrgb(94, 17, 35)
HSLhsl(346, 69%, 22%)
HSVhsv(346, 82%, 37%)
CMYKcmyk(0%, 81.9%, 62.8%, 63.1%)
CIE-LABlab(19.65, 35.18, 9.77)
CIE-LCHlch(19.65, 36.51, 15.52°)
OKLaboklab(32.12% 0.1061 0.0242)
OKLCHoklch(32.12% 0.109 12.9)
XYZxyz(5.1204, 2.9027, 1.8804)
Luminance0.0290 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E1123 #115E4C
analogous
#5E114A #5E1123 #5E2611
triadic
#5E1123 #235E11 #11235E
tetradic
#5E1123 #4A5E11 #115E4C #26115E
square
#5E1123 #4A5E11 #115E4C #26115E
split-complementary
#5E1123 #115E26 #114A5E
monochromatic
#1A050A #2A0810 #5E1123 #921A36 #C6244A

Accessibility & contrast

On white

13.29
#5E1123 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#5E1123 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E1123
13.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E1123#FFFFFF#000000##FFFFFF
##5E11231.0013.291.5813.29
#FFFFFF13.291.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#262523
Deuteranopia (green-blind)
#3A3521
Tritanopia (blue-blind)
#680019
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #5e1123;
/* rgb */ color: rgb(94, 17, 35);
/* oklch */ color: oklch(32.1% 0.109 12.9);
Tailwind
colors: {
  custom: {
    50: '#91575d',
    500: '#5e1123',
    950: '#000000',
  },
}
SCSS
$custom: #5e1123;
$custom-light: #91575d;
$custom-dark: #000000;
JSON
{
  "hex": "#5e1123",
  "rgb": {
    "r": 94,
    "g": 17,
    "b": 35
  },
  "hsl": {
    "h": 345.974,
    "s": 69.369,
    "l": 21.765
  },
  "oklch": {
    "l": 0.32117,
    "c": 0.1088,
    "h": 12.9
  },
  "luminance": 0.02902
}

Semantic roles & 50–950 ramp

primary
#5E1123
secondary
#349780
accent
#ECC33C
background
#F9F5F5
surface
#F2E9E9
border
#CCC5C5
text
#0E0304
muted
#7E7879

Preview Lab

Preview with #5E1123

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

Preview Lab → · Contrast checker → · Palette generator →

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