#5A0F11#5A0F11

#5A0F11 is a dark, moderate red. Relative luminance 0.026; OKLCH L 30.8% C 0.107 H 25.0°. Best body text is #FFFFFF at 13.90:1 contrast (WCAG AA passes).

Color values

HEX#5A0F11
RGBrgb(90, 15, 17)
HSLhsl(358, 71%, 21%)
HSVhsv(358, 83%, 35%)
CMYKcmyk(0%, 83.3%, 81.1%, 64.7%)
CIE-LABlab(18.17, 33.44, 20.07)
CIE-LCHlch(18.17, 39.00, 30.97°)
OKLaboklab(30.75% 0.0969 0.0452)
OKLCHoklch(30.75% 0.107 25)
XYZxyz(4.4890, 2.5565, 0.7873)
Luminance0.0256 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A0F11 #0F5A58
analogous
#5A0F36 #5A0F11 #5A320F
triadic
#5A0F11 #115A0F #0F115A
tetradic
#5A0F11 #365A0F #0F5A58 #320F5A
square
#5A0F11 #365A0F #0F5A58 #320F5A
split-complementary
#5A0F11 #0F5A32 #0F365A
monochromatic
#1A0405 #260607 #5A0F11 #8E181B #C32025

Accessibility & contrast

On white

13.90
#5A0F11 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.51
#5A0F11 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5A0F11
13.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A0F11#FFFFFF#000000##FFFFFF
##5A0F111.0013.901.5113.90
#FFFFFF13.901.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#262210
Deuteranopia (green-blind)
#39320E
Tritanopia (blue-blind)
#640011
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #5a0f11;
/* rgb */ color: rgb(90, 15, 17);
/* oklch */ color: oklch(30.8% 0.107 25.0);
Tailwind
colors: {
  custom: {
    50: '#8f554f',
    500: '#5a0f11',
    950: '#000000',
  },
}
SCSS
$custom: #5a0f11;
$custom-light: #8f554f;
$custom-dark: #000000;
JSON
{
  "hex": "#5a0f11",
  "rgb": {
    "r": 90,
    "g": 15,
    "b": 17
  },
  "hsl": {
    "h": 358.4,
    "s": 71.429,
    "l": 20.588
  },
  "oklch": {
    "l": 0.30753,
    "c": 0.10691,
    "h": 25
  },
  "luminance": 0.02556
}

Semantic roles & 50–950 ramp

primary
#5A0F11
secondary
#319491
accent
#EEE93A
background
#F9F5F4
surface
#F2E9E7
border
#CCC5C3
text
#0E0302
muted
#7E7878

Preview Lab

Preview with #5A0F11

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

Preview Lab → · Contrast checker → · Palette generator →

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