#5A100F#5A100F

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

Color values

HEX#5A100F
RGBrgb(90, 16, 15)
HSLhsl(1, 71%, 21%)
HSVhsv(1, 83%, 35%)
CMYKcmyk(0%, 82.2%, 83.3%, 64.7%)
CIE-LABlab(18.27, 32.99, 21.30)
CIE-LCHlch(18.27, 39.27, 32.85°)
OKLaboklab(30.82% 0.095 0.0477)
OKLCHoklch(30.82% 0.106 26.7)
XYZxyz(4.4885, 2.5794, 0.7134)
Luminance0.0258 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A100F #0F595A
analogous
#5A0F33 #5A100F #5A350F
triadic
#5A100F #0F5A10 #100F5A
tetradic
#5A100F #335A0F #0F595A #350F5A
square
#5A100F #335A0F #0F595A #350F5A
split-complementary
#5A100F #0F5A35 #0F335A
monochromatic
#1A0504 #260706 #5A100F #8E1918 #C32320

Accessibility & contrast

On white

13.85
#5A100F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.52
#5A100F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5A100F
13.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A100F#FFFFFF#000000##FFFFFF
##5A100F1.0013.851.5213.85
#FFFFFF13.851.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#27220E
Deuteranopia (green-blind)
#39320C
Tritanopia (blue-blind)
#640011
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #5a100f;
/* rgb */ color: rgb(90, 16, 15);
/* oklch */ color: oklch(30.8% 0.106 26.7);
Tailwind
colors: {
  custom: {
    50: '#90564e',
    500: '#5a100f',
    950: '#000000',
  },
}
SCSS
$custom: #5a100f;
$custom-light: #90564e;
$custom-dark: #000000;
JSON
{
  "hex": "#5a100f",
  "rgb": {
    "r": 90,
    "g": 16,
    "b": 15
  },
  "hsl": {
    "h": 0.8,
    "s": 71.429,
    "l": 20.588
  },
  "oklch": {
    "l": 0.3082,
    "c": 0.10628,
    "h": 26.7
  },
  "luminance": 0.02579
}

Semantic roles & 50–950 ramp

primary
#5A100F
secondary
#319294
accent
#ECEE3A
background
#F9F5F4
surface
#F2E9E7
border
#CCC5C3
text
#0E0301
muted
#7E7877

Preview Lab

Preview with #5A100F

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

Preview Lab → · Contrast checker → · Palette generator →

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