#5E2128#5E2128

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

Color values

HEX#5E2128
RGBrgb(94, 33, 40)
HSLhsl(353, 48%, 25%)
HSVhsv(353, 65%, 37%)
CMYKcmyk(0%, 64.9%, 57.4%, 63.1%)
CIE-LABlab(22.38, 28.48, 9.98)
CIE-LCHlch(22.38, 30.18, 19.32°)
OKLaboklab(34.19% 0.0856 0.025)
OKLCHoklch(34.19% 0.089 16.3)
XYZxyz(5.5434, 3.6213, 2.4141)
Luminance0.0362 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E2128 #215E57
analogous
#5E2146 #5E2128 #5E3921
triadic
#5E2128 #285E21 #21285E
tetradic
#5E2128 #465E21 #215E57 #39215E
square
#5E2128 #465E21 #215E57 #39215E
split-complementary
#5E2128 #215E39 #21465E
monochromatic
#17080A #311115 #5E2128 #8B313B #B9414F

Accessibility & contrast

On white

12.18
#5E2128 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.72
#5E2128 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E2128
12.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E2128#FFFFFF#000000##FFFFFF
##5E21281.0012.181.7212.18
#FFFFFF12.181.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F2E28
Deuteranopia (green-blind)
#3F3A27
Tritanopia (blue-blind)
#671724
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #5e2128;
/* rgb */ color: rgb(94, 33, 40);
/* oklch */ color: oklch(34.2% 0.089 16.3);
Tailwind
colors: {
  custom: {
    50: '#905f61',
    500: '#5e2128',
    950: '#000000',
  },
}
SCSS
$custom: #5e2128;
$custom-light: #905f61;
$custom-dark: #000000;
JSON
{
  "hex": "#5e2128",
  "rgb": {
    "r": 94,
    "g": 33,
    "b": 40
  },
  "hsl": {
    "h": 353.115,
    "s": 48.031,
    "l": 24.902
  },
  "oklch": {
    "l": 0.34189,
    "c": 0.08914,
    "h": 16.3
  },
  "luminance": 0.03621
}

Semantic roles & 50–950 ramp

primary
#5E2128
secondary
#49928A
accent
#D8C850
background
#F9F5F5
surface
#F1E9E9
border
#CBC5C5
text
#0D0505
muted
#7E7979

Preview Lab

Preview with #5E2128

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

Preview Lab → · Contrast checker → · Palette generator →

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