#5A151D#5A151D

#5A151D is a dark, moderate red. Relative luminance 0.028; OKLCH L 31.6% C 0.100 H 18.7°. Best body text is #FFFFFF at 13.46:1 contrast (WCAG AA passes).

Color values

HEX#5A151D
RGBrgb(90, 21, 29)
HSLhsl(353, 62%, 22%)
HSVhsv(353, 77%, 35%)
CMYKcmyk(0%, 76.7%, 67.8%, 64.7%)
CIE-LABlab(19.22, 31.79, 13.27)
CIE-LCHlch(19.22, 34.45, 22.66°)
OKLaboklab(31.6% 0.0946 0.032)
OKLCHoklch(31.6% 0.1 18.7)
XYZxyz(4.7069, 2.7994, 1.4546)
Luminance0.0280 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A151D #155A52
analogous
#5A1540 #5A151D #5A3015
triadic
#5A151D #1D5A15 #151D5A
tetradic
#5A151D #405A15 #155A52 #30155A
square
#5A151D #405A15 #155A52 #30155A
split-complementary
#5A151D #155A30 #15405A
monochromatic
#190608 #28090D #5A151D #8C212D #BD2C3D

Accessibility & contrast

On white

13.46
#5A151D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.56
#5A151D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5A151D
13.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A151D#FFFFFF#000000##FFFFFF
##5A151D1.0013.461.5613.46
#FFFFFF13.461.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#28251D
Deuteranopia (green-blind)
#39341B
Tritanopia (blue-blind)
#630318
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #5a151d;
/* rgb */ color: rgb(90, 21, 29);
/* oklch */ color: oklch(31.6% 0.100 18.7);
Tailwind
colors: {
  custom: {
    50: '#8e5858',
    500: '#5a151d',
    950: '#000000',
  },
}
SCSS
$custom: #5a151d;
$custom-light: #8e5858;
$custom-dark: #000000;
JSON
{
  "hex": "#5a151d",
  "rgb": {
    "r": 90,
    "g": 21,
    "b": 29
  },
  "hsl": {
    "h": 353.043,
    "s": 62.162,
    "l": 21.765
  },
  "oklch": {
    "l": 0.316,
    "c": 0.0998,
    "h": 18.7
  },
  "luminance": 0.02799
}

Semantic roles & 50–950 ramp

primary
#5A151D
secondary
#399287
accent
#E5D243
background
#F9F5F5
surface
#F1E9E9
border
#CBC5C5
text
#0D0403
muted
#7E7978

Preview Lab

Preview with #5A151D

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

Preview Lab → · Contrast checker → · Palette generator →

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