#5A150E#5A150E

#5A150E is a dark, moderate red. Relative luminance 0.027; OKLCH L 31.3% C 0.102 H 29.7°. Best body text is #FFFFFF at 13.56:1 contrast (WCAG AA passes).

Color values

HEX#5A150E
RGBrgb(90, 21, 14)
HSLhsl(6, 73%, 20%)
HSVhsv(6, 84%, 35%)
CMYKcmyk(0%, 76.7%, 84.4%, 64.7%)
CIE-LABlab(18.98, 30.96, 22.65)
CIE-LCHlch(18.98, 38.36, 36.19°)
OKLaboklab(31.34% 0.0884 0.0504)
OKLCHoklch(31.34% 0.102 29.7)
XYZxyz(4.5644, 2.7424, 0.7044)
Luminance0.0274 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A150E #0E535A
analogous
#5A0E2D #5A150E #5A3B0E
triadic
#5A150E #0E5A15 #150E5A
tetradic
#5A150E #2D5A0E #0E535A #3B0E5A
square
#5A150E #2D5A0E #0E535A #3B0E5A
split-complementary
#5A150E #0E5A3B #0E2D5A
monochromatic
#1A0604 #250906 #5A150E #8F2116 #C42E1E

Accessibility & contrast

On white

13.56
#5A150E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5A150E
13.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A150E#FFFFFF#000000##FFFFFF
##5A150E1.0013.561.5513.56
#FFFFFF13.561.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#29240D
Deuteranopia (green-blind)
#3A340B
Tritanopia (blue-blind)
#640014
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #5a150e;
/* rgb */ color: rgb(90, 21, 14);
/* oklch */ color: oklch(31.3% 0.102 29.7);
Tailwind
colors: {
  custom: {
    50: '#8f584d',
    500: '#5a150e',
    950: '#000000',
  },
}
SCSS
$custom: #5a150e;
$custom-light: #8f584d;
$custom-dark: #000000;
JSON
{
  "hex": "#5a150e",
  "rgb": {
    "r": 90,
    "g": 21,
    "b": 14
  },
  "hsl": {
    "h": 5.526,
    "s": 73.077,
    "l": 20.392
  },
  "oklch": {
    "l": 0.31344,
    "c": 0.10171,
    "h": 29.7
  },
  "luminance": 0.02742
}

Semantic roles & 50–950 ramp

primary
#5A150E
secondary
#308B94
accent
#DFF038
background
#F9F5F4
surface
#F2E9E7
border
#CCC5C3
text
#0E0301
muted
#7E7877

Preview Lab

Preview with #5A150E

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

Preview Lab → · Contrast checker → · Palette generator →

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