#5A0F20#5A0F20

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

Color values

HEX#5A0F20
RGBrgb(90, 15, 32)
HSLhsl(346, 71%, 21%)
HSVhsv(346, 83%, 35%)
CMYKcmyk(0%, 83.3%, 64.4%, 64.7%)
CIE-LABlab(18.45, 34.34, 10.14)
CIE-LCHlch(18.45, 35.81, 16.45°)
OKLaboklab(31.05% 0.1034 0.025)
OKLCHoklch(31.05% 0.106 13.6)
XYZxyz(4.6485, 2.6203, 1.6272)
Luminance0.0262 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A0F20 #0F5A49
analogous
#5A0F45 #5A0F20 #5A230F
triadic
#5A0F20 #205A0F #0F205A
tetradic
#5A0F20 #455A0F #0F5A49 #230F5A
square
#5A0F20 #455A0F #0F5A49 #230F5A
split-complementary
#5A0F20 #0F5A23 #0F455A
monochromatic
#1A0409 #26060D #5A0F20 #8E1833 #C32045

Accessibility & contrast

On white

13.78
#5A0F20 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5A0F20
13.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A0F20#FFFFFF#000000##FFFFFF
##5A0F201.0013.781.5213.78
#FFFFFF13.781.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#242320
Deuteranopia (green-blind)
#37331E
Tritanopia (blue-blind)
#630016
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #5a0f20;
/* rgb */ color: rgb(90, 15, 32);
/* oklch */ color: oklch(31.1% 0.106 13.6);
Tailwind
colors: {
  custom: {
    50: '#8e565b',
    500: '#5a0f20',
    950: '#000000',
  },
}
SCSS
$custom: #5a0f20;
$custom-light: #8e565b;
$custom-dark: #000000;
JSON
{
  "hex": "#5a0f20",
  "rgb": {
    "r": 90,
    "g": 15,
    "b": 32
  },
  "hsl": {
    "h": 346.4,
    "s": 71.429,
    "l": 20.588
  },
  "oklch": {
    "l": 0.31052,
    "c": 0.10633,
    "h": 13.6
  },
  "luminance": 0.0262
}

Semantic roles & 50–950 ramp

primary
#5A0F20
secondary
#31947D
accent
#EEC53A
background
#F9F5F5
surface
#F1E9E9
border
#CBC5C5
text
#0D0304
muted
#7E7879

Preview Lab

Preview with #5A0F20

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

Preview Lab → · Contrast checker → · Palette generator →

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