#5A1115#5A1115

#5A1115 is a dark, moderate red. Relative luminance 0.026; OKLCH L 31.0% C 0.105 H 23.1°. Best body text is #FFFFFF at 13.76:1 contrast (WCAG AA passes).

Color values

HEX#5A1115
RGBrgb(90, 17, 21)
HSLhsl(357, 68%, 21%)
HSVhsv(357, 81%, 35%)
CMYKcmyk(0%, 81.1%, 76.7%, 64.7%)
CIE-LABlab(18.49, 32.91, 17.91)
CIE-LCHlch(18.49, 37.46, 28.56°)
OKLaboklab(31.01% 0.0962 0.0411)
OKLCHoklch(31.01% 0.105 23.1)
XYZxyz(4.5528, 2.6294, 0.9771)
Luminance0.0263 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A1115 #115A56
analogous
#5A1139 #5A1115 #5A3111
triadic
#5A1115 #155A11 #11155A
tetradic
#5A1115 #395A11 #115A56 #31115A
square
#5A1115 #395A11 #115A56 #31115A
split-complementary
#5A1115 #115A31 #11395A
monochromatic
#1A0506 #270709 #5A1115 #8D1B21 #C1242D

Accessibility & contrast

On white

13.76
#5A1115 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.53
#5A1115 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5A1115
13.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A1115#FFFFFF#000000##FFFFFF
##5A11151.0013.761.5313.76
#FFFFFF13.761.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#272314
Deuteranopia (green-blind)
#393313
Tritanopia (blue-blind)
#640013
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #5a1115;
/* rgb */ color: rgb(90, 17, 21);
/* oklch */ color: oklch(31.0% 0.105 23.1);
Tailwind
colors: {
  custom: {
    50: '#8f5652',
    500: '#5a1115',
    950: '#000000',
  },
}
SCSS
$custom: #5a1115;
$custom-light: #8f5652;
$custom-dark: #000000;
JSON
{
  "hex": "#5a1115",
  "rgb": {
    "r": 90,
    "g": 17,
    "b": 21
  },
  "hsl": {
    "h": 356.712,
    "s": 68.224,
    "l": 20.98
  },
  "oklch": {
    "l": 0.31011,
    "c": 0.1046,
    "h": 23.1
  },
  "luminance": 0.02629
}

Semantic roles & 50–950 ramp

primary
#5A1115
secondary
#34938E
accent
#EBE23D
background
#F9F5F4
surface
#F2E9E7
border
#CCC5C3
text
#0E0302
muted
#7E7878

Preview Lab

Preview with #5A1115

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

Preview Lab → · Contrast checker → · Palette generator →

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