#5A0F10#5A0F10

#5A0F10 is a dark, moderate red. Relative luminance 0.026; OKLCH L 30.7% C 0.107 H 25.6°. Best body text is #FFFFFF at 13.90:1 contrast (WCAG AA passes).

Color values

HEX#5A0F10
RGBrgb(90, 15, 16)
HSLhsl(359, 71%, 21%)
HSVhsv(359, 83%, 35%)
CMYKcmyk(0%, 83.3%, 82.2%, 64.7%)
CIE-LABlab(18.16, 33.40, 20.62)
CIE-LCHlch(18.16, 39.25, 31.70°)
OKLaboklab(30.74% 0.0965 0.0463)
OKLCHoklch(30.74% 0.107 25.6)
XYZxyz(4.4813, 2.5534, 0.7470)
Luminance0.0255 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A0F10 #0F5A59
analogous
#5A0F35 #5A0F10 #5A330F
triadic
#5A0F10 #105A0F #0F105A
tetradic
#5A0F10 #355A0F #0F5A59 #330F5A
square
#5A0F10 #355A0F #0F5A59 #330F5A
split-complementary
#5A0F10 #0F5A33 #0F355A
monochromatic
#1A0405 #260607 #5A0F10 #8E1819 #C32023

Accessibility & contrast

On white

13.90
#5A0F10 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.51
#5A0F10 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5A0F10
13.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A0F10#FFFFFF#000000##FFFFFF
##5A0F101.0013.901.5113.90
#FFFFFF13.901.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#26220F
Deuteranopia (green-blind)
#39320D
Tritanopia (blue-blind)
#640010
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #5a0f10;
/* rgb */ color: rgb(90, 15, 16);
/* oklch */ color: oklch(30.7% 0.107 25.6);
Tailwind
colors: {
  custom: {
    50: '#90554e',
    500: '#5a0f10',
    950: '#000000',
  },
}
SCSS
$custom: #5a0f10;
$custom-light: #90554e;
$custom-dark: #000000;
JSON
{
  "hex": "#5a0f10",
  "rgb": {
    "r": 90,
    "g": 15,
    "b": 16
  },
  "hsl": {
    "h": 359.2,
    "s": 71.429,
    "l": 20.588
  },
  "oklch": {
    "l": 0.30738,
    "c": 0.10704,
    "h": 25.6
  },
  "luminance": 0.02553
}

Semantic roles & 50–950 ramp

primary
#5A0F10
secondary
#319492
accent
#EEEC3A
background
#F9F5F4
surface
#F2E9E7
border
#CCC5C3
text
#0E0301
muted
#7E7877

Preview Lab

Preview with #5A0F10

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

Preview Lab → · Contrast checker → · Palette generator →

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