#5A0F16#5A0F16

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

Color values

HEX#5A0F16
RGBrgb(90, 15, 22)
HSLhsl(354, 71%, 21%)
HSVhsv(354, 83%, 35%)
CMYKcmyk(0%, 83.3%, 75.6%, 64.7%)
CIE-LABlab(18.25, 33.69, 16.93)
CIE-LCHlch(18.25, 37.70, 26.68°)
OKLaboklab(30.84% 0.0989 0.0391)
OKLCHoklch(30.84% 0.106 21.6)
XYZxyz(4.5326, 2.5739, 1.0171)
Luminance0.0257 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A0F16 #0F5A53
analogous
#5A0F3B #5A0F16 #5A2D0F
triadic
#5A0F16 #165A0F #0F165A
tetradic
#5A0F16 #3B5A0F #0F5A53 #2D0F5A
square
#5A0F16 #3B5A0F #0F5A53 #2D0F5A
split-complementary
#5A0F16 #0F5A2D #0F3B5A
monochromatic
#1A0406 #260609 #5A0F16 #8E1823 #C32030

Accessibility & contrast

On white

13.87
#5A0F16 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5A0F16
13.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A0F16#FFFFFF#000000##FFFFFF
##5A0F161.0013.871.5113.87
#FFFFFF13.871.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#262216
Deuteranopia (green-blind)
#383214
Tritanopia (blue-blind)
#640012
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #5a0f16;
/* rgb */ color: rgb(90, 15, 22);
/* oklch */ color: oklch(30.8% 0.106 21.6);
Tailwind
colors: {
  custom: {
    50: '#8f5553',
    500: '#5a0f16',
    950: '#000000',
  },
}
SCSS
$custom: #5a0f16;
$custom-light: #8f5553;
$custom-dark: #000000;
JSON
{
  "hex": "#5a0f16",
  "rgb": {
    "r": 90,
    "g": 15,
    "b": 22
  },
  "hsl": {
    "h": 354.4,
    "s": 71.429,
    "l": 20.588
  },
  "oklch": {
    "l": 0.30835,
    "c": 0.10639,
    "h": 21.6
  },
  "luminance": 0.02573
}

Semantic roles & 50–950 ramp

primary
#5A0F16
secondary
#31948A
accent
#EEDD3A
background
#F9F5F4
surface
#F2E9E7
border
#CCC5C3
text
#0E0302
muted
#7E7878

Preview Lab

Preview with #5A0F16

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

Preview Lab → · Contrast checker → · Palette generator →

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