#5A0F18#5A0F18

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

Color values

HEX#5A0F18
RGBrgb(90, 15, 24)
HSLhsl(353, 71%, 21%)
HSVhsv(353, 83%, 35%)
CMYKcmyk(0%, 83.3%, 73.3%, 64.7%)
CIE-LABlab(18.29, 33.80, 15.58)
CIE-LCHlch(18.29, 37.22, 24.75°)
OKLaboklab(30.87% 0.0998 0.0365)
OKLCHoklch(30.87% 0.106 20.1)
XYZxyz(4.5527, 2.5820, 1.1226)
Luminance0.0258 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A0F18 #0F5A51
analogous
#5A0F3D #5A0F18 #5A2B0F
triadic
#5A0F18 #185A0F #0F185A
tetradic
#5A0F18 #3D5A0F #0F5A51 #2B0F5A
square
#5A0F18 #3D5A0F #0F5A51 #2B0F5A
split-complementary
#5A0F18 #0F5A2B #0F3D5A
monochromatic
#1A0407 #26060A #5A0F18 #8E1826 #C32034

Accessibility & contrast

On white

13.85
#5A0F18 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5A0F18
13.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A0F18#FFFFFF#000000##FFFFFF
##5A0F181.0013.851.5213.85
#FFFFFF13.851.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.851.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5a0f18;
/* rgb */ color: rgb(90, 15, 24);
/* oklch */ color: oklch(30.9% 0.106 20.1);
Tailwind
colors: {
  custom: {
    50: '#8f5554',
    500: '#5a0f18',
    950: '#000000',
  },
}
SCSS
$custom: #5a0f18;
$custom-light: #8f5554;
$custom-dark: #000000;
JSON
{
  "hex": "#5a0f18",
  "rgb": {
    "r": 90,
    "g": 15,
    "b": 24
  },
  "hsl": {
    "h": 352.8,
    "s": 71.429,
    "l": 20.588
  },
  "oklch": {
    "l": 0.30873,
    "c": 0.10627,
    "h": 20.1
  },
  "luminance": 0.02581
}

Semantic roles & 50–950 ramp

primary
#5A0F18
secondary
#319488
accent
#EED93A
background
#F9F5F4
surface
#F2E9E7
border
#CCC5C3
text
#0D0302
muted
#7E7878

Preview Lab

Preview with #5A0F18

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

Preview Lab → · Contrast checker → · Palette generator →

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