#5E2129#5E2129

#5E2129 is a dark, moderate red. Relative luminance 0.036; OKLCH L 34.2% C 0.089 H 15.3°. Best body text is #FFFFFF at 12.17:1 contrast (WCAG AA passes).

Color values

HEX#5E2129
RGBrgb(94, 33, 41)
HSLhsl(352, 48%, 25%)
HSVhsv(352, 65%, 37%)
CMYKcmyk(0%, 64.9%, 56.4%, 63.1%)
CIE-LABlab(22.40, 28.58, 9.33)
CIE-LCHlch(22.40, 30.06, 18.08°)
OKLaboklab(34.22% 0.086 0.0235)
OKLCHoklch(34.22% 0.089 15.3)
XYZxyz(5.5606, 3.6282, 2.5049)
Luminance0.0363 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E2129 #215E56
analogous
#5E2148 #5E2129 #5E3821
triadic
#5E2129 #295E21 #21295E
tetradic
#5E2129 #485E21 #215E56 #38215E
square
#5E2129 #485E21 #215E56 #38215E
split-complementary
#5E2129 #215E38 #21485E
monochromatic
#17080A #311115 #5E2129 #8B313D #B94151

Accessibility & contrast

On white

12.17
#5E2129 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.73
#5E2129 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E2129
12.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E2129#FFFFFF#000000##FFFFFF
##5E21291.0012.171.7312.17
#FFFFFF12.171.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F2E29
Deuteranopia (green-blind)
#3F3A28
Tritanopia (blue-blind)
#671724
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #5e2129;
/* rgb */ color: rgb(94, 33, 41);
/* oklch */ color: oklch(34.2% 0.089 15.3);
Tailwind
colors: {
  custom: {
    50: '#905f62',
    500: '#5e2129',
    950: '#000000',
  },
}
SCSS
$custom: #5e2129;
$custom-light: #905f62;
$custom-dark: #000000;
JSON
{
  "hex": "#5e2129",
  "rgb": {
    "r": 94,
    "g": 33,
    "b": 41
  },
  "hsl": {
    "h": 352.131,
    "s": 48.031,
    "l": 24.902
  },
  "oklch": {
    "l": 0.34215,
    "c": 0.08916,
    "h": 15.3
  },
  "luminance": 0.03627
}

Semantic roles & 50–950 ramp

primary
#5E2129
secondary
#499289
accent
#D8C650
background
#F9F5F5
surface
#F1E9EA
border
#CBC5C6
text
#0D0505
muted
#7E7979

Preview Lab

Preview with #5E2129

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

Preview Lab → · Contrast checker → · Palette generator →

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