#5E121C#5E121C

#5E121C is a dark, moderate red. Relative luminance 0.029; OKLCH L 32.0% C 0.108 H 18.9°. Best body text is #FFFFFF at 13.30:1 contrast (WCAG AA passes).

Color values

HEX#5E121C
RGBrgb(94, 18, 28)
HSLhsl(352, 68%, 22%)
HSVhsv(352, 81%, 37%)
CMYKcmyk(0%, 80.9%, 70.2%, 63.1%)
CIE-LABlab(19.63, 34.32, 14.66)
CIE-LCHlch(19.63, 37.32, 23.13°)
OKLaboklab(32.05% 0.1018 0.0348)
OKLCHoklch(32.05% 0.108 18.9)
XYZxyz(5.0425, 2.8969, 1.3920)
Luminance0.0290 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E121C #125E54
analogous
#5E1242 #5E121C #5E2E12
triadic
#5E121C #1C5E12 #121C5E
tetradic
#5E121C #425E12 #125E54 #2E125E
square
#5E121C #425E12 #125E54 #2E125E
split-complementary
#5E121C #125E2E #12425E
monochromatic
#1A0508 #2B080D #5E121C #911C2B #C5263B

Accessibility & contrast

On white

13.30
#5E121C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5E121C
13.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E121C#FFFFFF#000000##FFFFFF
##5E121C1.0013.301.5813.30
#FFFFFF13.301.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#28251C
Deuteranopia (green-blind)
#3B351A
Tritanopia (blue-blind)
#680016
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #5e121c;
/* rgb */ color: rgb(94, 18, 28);
/* oklch */ color: oklch(32.0% 0.108 18.9);
Tailwind
colors: {
  custom: {
    50: '#925757',
    500: '#5e121c',
    950: '#000000',
  },
}
SCSS
$custom: #5e121c;
$custom-light: #925757;
$custom-dark: #000000;
JSON
{
  "hex": "#5e121c",
  "rgb": {
    "r": 94,
    "g": 18,
    "b": 28
  },
  "hsl": {
    "h": 352.105,
    "s": 67.857,
    "l": 21.961
  },
  "oklch": {
    "l": 0.3205,
    "c": 0.10759,
    "h": 18.9
  },
  "luminance": 0.02896
}

Semantic roles & 50–950 ramp

primary
#5E121C
secondary
#35968A
accent
#EBD43D
background
#F9F5F5
surface
#F2E9E9
border
#CCC5C5
text
#0E0303
muted
#7E7878

Preview Lab

Preview with #5E121C

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

Preview Lab → · Contrast checker → · Palette generator →

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