#5A1014#5A1014

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

Color values

HEX#5A1014
RGBrgb(90, 16, 20)
HSLhsl(357, 70%, 21%)
HSVhsv(357, 82%, 35%)
CMYKcmyk(0%, 82.2%, 77.8%, 64.7%)
CIE-LABlab(18.35, 33.22, 18.41)
CIE-LCHlch(18.35, 37.98, 28.99°)
OKLaboklab(30.9% 0.097 0.042)
OKLCHoklch(30.9% 0.106 23.4)
XYZxyz(4.5285, 2.5955, 0.9242)
Luminance0.0260 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A1014 #105A56
analogous
#5A1039 #5A1014 #5A3110
triadic
#5A1014 #145A10 #10145A
tetradic
#5A1014 #395A10 #105A56 #31105A
square
#5A1014 #395A10 #105A56 #31105A
split-complementary
#5A1014 #105A31 #10395A
monochromatic
#1A0506 #260708 #5A1014 #8E1920 #C2222B

Accessibility & contrast

On white

13.82
#5A1014 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5A1014
13.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A1014#FFFFFF#000000##FFFFFF
##5A10141.0013.821.5213.82
#FFFFFF13.821.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.821.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5a1014;
/* rgb */ color: rgb(90, 16, 20);
/* oklch */ color: oklch(30.9% 0.106 23.4);
Tailwind
colors: {
  custom: {
    50: '#8f5651',
    500: '#5a1014',
    950: '#000000',
  },
}
SCSS
$custom: #5a1014;
$custom-light: #8f5651;
$custom-dark: #000000;
JSON
{
  "hex": "#5a1014",
  "rgb": {
    "r": 90,
    "g": 16,
    "b": 20
  },
  "hsl": {
    "h": 356.757,
    "s": 69.811,
    "l": 20.784
  },
  "oklch": {
    "l": 0.30895,
    "c": 0.10565,
    "h": 23.4
  },
  "luminance": 0.02595
}

Semantic roles & 50–950 ramp

primary
#5A1014
secondary
#33938E
accent
#EDE33B
background
#F9F5F4
surface
#F2E9E7
border
#CCC5C3
text
#0E0302
muted
#7E7878

Preview Lab

Preview with #5A1014

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

Preview Lab → · Contrast checker → · Palette generator →

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