#5A1015#5A1015

#5A1015 is a dark, moderate red. Relative luminance 0.026; OKLCH L 30.9% C 0.106 H 22.7°. Best body text is #FFFFFF at 13.82:1 contrast (WCAG AA passes).

Color values

HEX#5A1015
RGBrgb(90, 16, 21)
HSLhsl(356, 70%, 21%)
HSVhsv(356, 82%, 35%)
CMYKcmyk(0%, 82.2%, 76.7%, 64.7%)
CIE-LABlab(18.36, 33.28, 17.75)
CIE-LCHlch(18.36, 37.72, 28.08°)
OKLaboklab(30.91% 0.0974 0.0408)
OKLCHoklch(30.91% 0.106 22.7)
XYZxyz(4.5376, 2.5991, 0.9721)
Luminance0.0260 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A1015 #105A55
analogous
#5A103A #5A1015 #5A3010
triadic
#5A1015 #155A10 #10155A
tetradic
#5A1015 #3A5A10 #105A55 #30105A
square
#5A1015 #3A5A10 #105A55 #30105A
split-complementary
#5A1015 #105A30 #103A5A
monochromatic
#1A0506 #260709 #5A1015 #8E1921 #C2222D

Accessibility & contrast

On white

13.82
#5A1015 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.52
#5A1015 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5A1015
13.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A1015#FFFFFF#000000##FFFFFF
##5A10151.0013.821.5213.82
#FFFFFF13.821.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#262314
Deuteranopia (green-blind)
#393213
Tritanopia (blue-blind)
#640013
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #5a1015;
/* rgb */ color: rgb(90, 16, 21);
/* oklch */ color: oklch(30.9% 0.106 22.7);
Tailwind
colors: {
  custom: {
    50: '#8f5652',
    500: '#5a1015',
    950: '#000000',
  },
}
SCSS
$custom: #5a1015;
$custom-light: #8f5652;
$custom-dark: #000000;
JSON
{
  "hex": "#5a1015",
  "rgb": {
    "r": 90,
    "g": 16,
    "b": 21
  },
  "hsl": {
    "h": 355.946,
    "s": 69.811,
    "l": 20.784
  },
  "oklch": {
    "l": 0.30912,
    "c": 0.10555,
    "h": 22.7
  },
  "luminance": 0.02598
}

Semantic roles & 50–950 ramp

primary
#5A1015
secondary
#33938D
accent
#EDE13B
background
#F9F5F4
surface
#F2E9E7
border
#CCC5C3
text
#0E0302
muted
#7E7878

Preview Lab

Preview with #5A1015

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

Preview Lab → · Contrast checker → · Palette generator →

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