#5A1510#5A1510

#5A1510 is a dark, moderate red. Relative luminance 0.027; OKLCH L 31.4% C 0.101 H 28.5°. Best body text is #FFFFFF at 13.55:1 contrast (WCAG AA passes).

Color values

HEX#5A1510
RGBrgb(90, 21, 16)
HSLhsl(4, 70%, 21%)
HSVhsv(4, 82%, 35%)
CMYKcmyk(0%, 76.7%, 82.2%, 64.7%)
CIE-LABlab(19.01, 31.04, 21.62)
CIE-LCHlch(19.01, 37.83, 34.85°)
OKLaboklab(31.37% 0.0891 0.0483)
OKLCHoklch(31.37% 0.101 28.5)
XYZxyz(4.5787, 2.7481, 0.7795)
Luminance0.0275 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A1510 #10555A
analogous
#5A1030 #5A1510 #5A3A10
triadic
#5A1510 #105A15 #15105A
tetradic
#5A1510 #305A10 #10555A #3A105A
square
#5A1510 #305A10 #10555A #3A105A
split-complementary
#5A1510 #105A3A #10305A
monochromatic
#1A0605 #260907 #5A1510 #8E2119 #C22D22

Accessibility & contrast

On white

13.55
#5A1510 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#5A1510 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5A1510
13.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A1510#FFFFFF#000000##FFFFFF
##5A15101.0013.551.5513.55
#FFFFFF13.551.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#29250F
Deuteranopia (green-blind)
#3A340D
Tritanopia (blue-blind)
#640014
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #5a1510;
/* rgb */ color: rgb(90, 21, 16);
/* oklch */ color: oklch(31.4% 0.101 28.5);
Tailwind
colors: {
  custom: {
    50: '#8f584e',
    500: '#5a1510',
    950: '#000000',
  },
}
SCSS
$custom: #5a1510;
$custom-light: #8f584e;
$custom-dark: #000000;
JSON
{
  "hex": "#5a1510",
  "rgb": {
    "r": 90,
    "g": 21,
    "b": 16
  },
  "hsl": {
    "h": 4.054,
    "s": 69.811,
    "l": 20.784
  },
  "oklch": {
    "l": 0.31369,
    "c": 0.10135,
    "h": 28.5
  },
  "luminance": 0.02747
}

Semantic roles & 50–950 ramp

primary
#5A1510
secondary
#338D93
accent
#E1ED3B
background
#F9F5F4
surface
#F2E9E7
border
#CCC5C3
text
#0E0301
muted
#7E7877

Preview Lab

Preview with #5A1510

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

Preview Lab → · Contrast checker → · Palette generator →

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