#5A150F#5A150F

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

Color values

HEX#5A150F
RGBrgb(90, 21, 15)
HSLhsl(5, 71%, 21%)
HSVhsv(5, 83%, 35%)
CMYKcmyk(0%, 76.7%, 83.3%, 64.7%)
CIE-LABlab(18.99, 31.00, 22.15)
CIE-LCHlch(18.99, 38.10, 35.54°)
OKLaboklab(31.36% 0.0887 0.0494)
OKLCHoklch(31.36% 0.102 29.1)
XYZxyz(4.5714, 2.7452, 0.7410)
Luminance0.0274 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A150F #0F545A
analogous
#5A0F2E #5A150F #5A3A0F
triadic
#5A150F #0F5A15 #150F5A
tetradic
#5A150F #2E5A0F #0F545A #3A0F5A
square
#5A150F #2E5A0F #0F545A #3A0F5A
split-complementary
#5A150F #0F5A3A #0F2E5A
monochromatic
#1A0604 #260906 #5A150F #8E2118 #C32D20

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5A150F#FFFFFF#000000##FFFFFF
##5A150F1.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)
#29250E
Deuteranopia (green-blind)
#3A340C
Tritanopia (blue-blind)
#640014
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #5a150f;
/* rgb */ color: rgb(90, 21, 15);
/* oklch */ color: oklch(31.4% 0.102 29.1);
Tailwind
colors: {
  custom: {
    50: '#8f584e',
    500: '#5a150f',
    950: '#000000',
  },
}
SCSS
$custom: #5a150f;
$custom-light: #8f584e;
$custom-dark: #000000;
JSON
{
  "hex": "#5a150f",
  "rgb": {
    "r": 90,
    "g": 21,
    "b": 15
  },
  "hsl": {
    "h": 4.8,
    "s": 71.429,
    "l": 20.588
  },
  "oklch": {
    "l": 0.31356,
    "c": 0.10153,
    "h": 29.1
  },
  "luminance": 0.02744
}

Semantic roles & 50–950 ramp

primary
#5A150F
secondary
#318C94
accent
#E0EE3A
background
#F9F5F4
surface
#F2E9E7
border
#CCC5C3
text
#0E0301
muted
#7E7877

Preview Lab

Preview with #5A150F

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

Preview Lab → · Contrast checker → · Palette generator →

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