#5A0F1E#5A0F1E

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

Color values

HEX#5A0F1E
RGBrgb(90, 15, 30)
HSLhsl(348, 71%, 21%)
HSVhsv(348, 83%, 35%)
CMYKcmyk(0%, 83.3%, 66.7%, 64.7%)
CIE-LABlab(18.41, 34.19, 11.50)
CIE-LCHlch(18.41, 36.08, 18.59°)
OKLaboklab(31% 0.1025 0.028)
OKLCHoklch(31% 0.106 15.3)
XYZxyz(4.6221, 2.6097, 1.4884)
Luminance0.0261 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A0F1E #0F5A4B
analogous
#5A0F43 #5A0F1E #5A250F
triadic
#5A0F1E #1E5A0F #0F1E5A
tetradic
#5A0F1E #435A0F #0F5A4B #250F5A
square
#5A0F1E #435A0F #0F5A4B #250F5A
split-complementary
#5A0F1E #0F5A25 #0F435A
monochromatic
#1A0409 #26060D #5A0F1E #8E182F #C32041

Accessibility & contrast

On white

13.80
#5A0F1E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5A0F1E
13.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A0F1E#FFFFFF#000000##FFFFFF
##5A0F1E1.0013.801.5213.80
#FFFFFF13.801.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#24231E
Deuteranopia (green-blind)
#37321C
Tritanopia (blue-blind)
#630015
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #5a0f1e;
/* rgb */ color: rgb(90, 15, 30);
/* oklch */ color: oklch(31.0% 0.106 15.3);
Tailwind
colors: {
  custom: {
    50: '#8e5659',
    500: '#5a0f1e',
    950: '#000000',
  },
}
SCSS
$custom: #5a0f1e;
$custom-light: #8e5659;
$custom-dark: #000000;
JSON
{
  "hex": "#5a0f1e",
  "rgb": {
    "r": 90,
    "g": 15,
    "b": 30
  },
  "hsl": {
    "h": 348,
    "s": 71.429,
    "l": 20.588
  },
  "oklch": {
    "l": 0.31003,
    "c": 0.10621,
    "h": 15.3
  },
  "luminance": 0.02609
}

Semantic roles & 50–950 ramp

primary
#5A0F1E
secondary
#319480
accent
#EECA3A
background
#F9F5F5
surface
#F1E9E9
border
#CBC5C5
text
#0D0303
muted
#7E7878

Preview Lab

Preview with #5A0F1E

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

Preview Lab → · Contrast checker → · Palette generator →

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