#5A1215#5A1215

#5A1215 is a dark, moderate red. Relative luminance 0.027; OKLCH L 31.1% C 0.104 H 23.6°. Best body text is #FFFFFF at 13.71:1 contrast (WCAG AA passes).

Color values

HEX#5A1215
RGBrgb(90, 18, 21)
HSLhsl(358, 67%, 21%)
HSVhsv(358, 80%, 35%)
CMYKcmyk(0%, 80%, 76.7%, 64.7%)
CIE-LABlab(18.63, 32.52, 18.07)
CIE-LCHlch(18.63, 37.21, 29.06°)
OKLaboklab(31.11% 0.095 0.0415)
OKLCHoklch(31.11% 0.104 23.6)
XYZxyz(4.5686, 2.6611, 0.9824)
Luminance0.0266 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A1215 #125A57
analogous
#5A1239 #5A1215 #5A3312
triadic
#5A1215 #155A12 #12155A
tetradic
#5A1215 #395A12 #125A57 #33125A
square
#5A1215 #395A12 #125A57 #33125A
split-complementary
#5A1215 #125A33 #12395A
monochromatic
#1A0506 #270809 #5A1215 #8D1C21 #C0262D

Accessibility & contrast

On white

13.71
#5A1215 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.53
#5A1215 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5A1215
13.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A1215#FFFFFF#000000##FFFFFF
##5A12151.0013.711.5313.71
#FFFFFF13.711.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#272314
Deuteranopia (green-blind)
#393313
Tritanopia (blue-blind)
#640014
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #5a1215;
/* rgb */ color: rgb(90, 18, 21);
/* oklch */ color: oklch(31.1% 0.104 23.6);
Tailwind
colors: {
  custom: {
    50: '#8f5752',
    500: '#5a1215',
    950: '#000000',
  },
}
SCSS
$custom: #5a1215;
$custom-light: #8f5752;
$custom-dark: #000000;
JSON
{
  "hex": "#5a1215",
  "rgb": {
    "r": 90,
    "g": 18,
    "b": 21
  },
  "hsl": {
    "h": 357.5,
    "s": 66.667,
    "l": 21.176
  },
  "oklch": {
    "l": 0.31114,
    "c": 0.10362,
    "h": 23.6
  },
  "luminance": 0.0266
}

Semantic roles & 50–950 ramp

primary
#5A1215
secondary
#35938F
accent
#EAE23E
background
#F9F5F4
surface
#F2E9E7
border
#CCC5C3
text
#0E0302
muted
#7E7878

Preview Lab

Preview with #5A1215

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

Preview Lab → · Contrast checker → · Palette generator →

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