#5A151E#5A151E

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

Color values

HEX#5A151E
RGBrgb(90, 21, 30)
HSLhsl(352, 62%, 22%)
HSVhsv(352, 77%, 35%)
CMYKcmyk(0%, 76.7%, 66.7%, 64.7%)
CIE-LABlab(19.24, 31.87, 12.60)
CIE-LCHlch(19.24, 34.27, 21.57°)
OKLaboklab(31.62% 0.095 0.0305)
OKLCHoklch(31.62% 0.1 17.8)
XYZxyz(4.7194, 2.8044, 1.5208)
Luminance0.0280 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A151E #155A51
analogous
#5A1541 #5A151E #5A2F15
triadic
#5A151E #1E5A15 #151E5A
tetradic
#5A151E #415A15 #155A51 #2F155A
square
#5A151E #415A15 #155A51 #2F155A
split-complementary
#5A151E #155A2F #15415A
monochromatic
#190608 #28090D #5A151E #8C212F #BD2C3F

Accessibility & contrast

On white

13.45
#5A151E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5A151E
13.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A151E#FFFFFF#000000##FFFFFF
##5A151E1.0013.451.5613.45
#FFFFFF13.451.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#28251E
Deuteranopia (green-blind)
#39341C
Tritanopia (blue-blind)
#630319
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #5a151e;
/* rgb */ color: rgb(90, 21, 30);
/* oklch */ color: oklch(31.6% 0.100 17.8);
Tailwind
colors: {
  custom: {
    50: '#8e5859',
    500: '#5a151e',
    950: '#000000',
  },
}
SCSS
$custom: #5a151e;
$custom-light: #8e5859;
$custom-dark: #000000;
JSON
{
  "hex": "#5a151e",
  "rgb": {
    "r": 90,
    "g": 21,
    "b": 30
  },
  "hsl": {
    "h": 352.174,
    "s": 62.162,
    "l": 21.765
  },
  "oklch": {
    "l": 0.31623,
    "c": 0.09978,
    "h": 17.8
  },
  "luminance": 0.02804
}

Semantic roles & 50–950 ramp

primary
#5A151E
secondary
#399286
accent
#E5D043
background
#F9F5F5
surface
#F1E9E9
border
#CBC5C5
text
#0D0403
muted
#7E7978

Preview Lab

Preview with #5A151E

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

Preview Lab → · Contrast checker → · Palette generator →

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