#5A1415#5A1415

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

Color values

HEX#5A1415
RGBrgb(90, 20, 21)
HSLhsl(359, 64%, 22%)
HSVhsv(359, 78%, 35%)
CMYKcmyk(0%, 77.8%, 76.7%, 64.7%)
CIE-LABlab(18.92, 31.71, 18.42)
CIE-LCHlch(18.92, 36.67, 30.15°)
OKLaboklab(31.33% 0.0924 0.0422)
OKLCHoklch(31.33% 0.102 24.6)
XYZxyz(4.6025, 2.7288, 0.9937)
Luminance0.0273 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A1415 #145A59
analogous
#5A1438 #5A1415 #5A3614
triadic
#5A1415 #155A14 #14155A
tetradic
#5A1415 #385A14 #145A59 #36145A
square
#5A1415 #385A14 #145A59 #36145A
split-complementary
#5A1415 #145A36 #14385A
monochromatic
#190606 #280909 #5A1415 #8C1F21 #BE2A2C

Accessibility & contrast

On white

13.59
#5A1415 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5A1415
13.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A1415#FFFFFF#000000##FFFFFF
##5A14151.0013.591.5513.59
#FFFFFF13.591.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#282414
Deuteranopia (green-blind)
#3A3313
Tritanopia (blue-blind)
#640015
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #5a1415;
/* rgb */ color: rgb(90, 20, 21);
/* oklch */ color: oklch(31.3% 0.102 24.6);
Tailwind
colors: {
  custom: {
    50: '#8f5752',
    500: '#5a1415',
    950: '#000000',
  },
}
SCSS
$custom: #5a1415;
$custom-light: #8f5752;
$custom-dark: #000000;
JSON
{
  "hex": "#5a1415",
  "rgb": {
    "r": 90,
    "g": 20,
    "b": 21
  },
  "hsl": {
    "h": 359.143,
    "s": 63.636,
    "l": 21.569
  },
  "oklch": {
    "l": 0.31331,
    "c": 0.10158,
    "h": 24.6
  },
  "luminance": 0.02728
}

Semantic roles & 50–950 ramp

primary
#5A1415
secondary
#389291
accent
#E7E441
background
#F9F5F4
surface
#F2E9E7
border
#CCC5C3
text
#0D0302
muted
#7E7878

Preview Lab

Preview with #5A1415

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

Preview Lab → · Contrast checker → · Palette generator →

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