#5A150D#5A150D

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

Color values

HEX#5A150D
RGBrgb(90, 21, 13)
HSLhsl(6, 75%, 20%)
HSVhsv(6, 86%, 35%)
CMYKcmyk(0%, 76.7%, 85.6%, 64.7%)
CIE-LABlab(18.97, 30.92, 23.13)
CIE-LCHlch(18.97, 38.62, 36.80°)
OKLaboklab(31.33% 0.088 0.0513)
OKLCHoklch(31.33% 0.102 30.3)
XYZxyz(4.5578, 2.7397, 0.6695)
Luminance0.0274 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A150D #0D525A
analogous
#5A0D2B #5A150D #5A3C0D
triadic
#5A150D #0D5A15 #150D5A
tetradic
#5A150D #2B5A0D #0D525A #3C0D5A
square
#5A150D #2B5A0D #0D525A #3C0D5A
split-complementary
#5A150D #0D5A3C #0D2B5A
monochromatic
#1B0604 #250905 #5A150D #8F2115 #C52E1C

Accessibility & contrast

On white

13.57
#5A150D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5A150D
13.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A150D#FFFFFF#000000##FFFFFF
##5A150D1.0013.571.5513.57
#FFFFFF13.571.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.571.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5a150d;
/* rgb */ color: rgb(90, 21, 13);
/* oklch */ color: oklch(31.3% 0.102 30.3);
Tailwind
colors: {
  custom: {
    50: '#8f584d',
    500: '#5a150d',
    950: '#000000',
  },
}
SCSS
$custom: #5a150d;
$custom-light: #8f584d;
$custom-dark: #000000;
JSON
{
  "hex": "#5a150d",
  "rgb": {
    "r": 90,
    "g": 21,
    "b": 13
  },
  "hsl": {
    "h": 6.234,
    "s": 74.757,
    "l": 20.196
  },
  "oklch": {
    "l": 0.31332,
    "c": 0.10188,
    "h": 30.3
  },
  "luminance": 0.02739
}

Semantic roles & 50–950 ramp

primary
#5A150D
secondary
#2E8A94
accent
#DEF136
background
#F9F5F4
surface
#F2E9E7
border
#CCC5C3
text
#0E0301
muted
#7E7877

Preview Lab

Preview with #5A150D

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

Preview Lab → · Contrast checker → · Palette generator →

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