#5A0F0F#5A0F0F

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

Color values

HEX#5A0F0F
RGBrgb(90, 15, 15)
HSLhsl(0, 71%, 21%)
HSVhsv(0, 83%, 35%)
CMYKcmyk(0%, 83.3%, 83.3%, 64.7%)
CIE-LABlab(18.15, 33.35, 21.15)
CIE-LCHlch(18.15, 39.49, 32.38°)
OKLaboklab(30.72% 0.0961 0.0474)
OKLCHoklch(30.72% 0.107 26.2)
XYZxyz(4.4740, 2.5505, 0.7086)
Luminance0.0255 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A0F0F #0F5A5A
analogous
#5A0F34 #5A0F0F #5A340F
triadic
#5A0F0F #0F5A0F #0F0F5A
tetradic
#5A0F0F #345A0F #0F5A5A #340F5A
square
#5A0F0F #345A0F #0F5A5A #340F5A
split-complementary
#5A0F0F #0F5A34 #0F345A
monochromatic
#1A0404 #260606 #5A0F0F #8E1818 #C32020

Accessibility & contrast

On white

13.91
#5A0F0F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5A0F0F
13.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A0F0F#FFFFFF#000000##FFFFFF
##5A0F0F1.0013.911.5113.91
#FFFFFF13.911.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.911.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5a0f0f;
/* rgb */ color: rgb(90, 15, 15);
/* oklch */ color: oklch(30.7% 0.107 26.2);
Tailwind
colors: {
  custom: {
    50: '#90554e',
    500: '#5a0f0f',
    950: '#000000',
  },
}
SCSS
$custom: #5a0f0f;
$custom-light: #90554e;
$custom-dark: #000000;
JSON
{
  "hex": "#5a0f0f",
  "rgb": {
    "r": 90,
    "g": 15,
    "b": 15
  },
  "hsl": {
    "h": 0,
    "s": 71.429,
    "l": 20.588
  },
  "oklch": {
    "l": 0.30724,
    "c": 0.10717,
    "h": 26.2
  },
  "luminance": 0.0255
}

Semantic roles & 50–950 ramp

primary
#5A0F0F
secondary
#319494
accent
#EEEE3A
background
#F9F5F4
surface
#F2E9E7
border
#CCC5C3
text
#0E0301
muted
#7E7877

Preview Lab

Preview with #5A0F0F

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

Preview Lab → · Contrast checker → · Palette generator →

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