#5A151C#5A151C

#5A151C is a dark, moderate red. Relative luminance 0.028; OKLCH L 31.6% C 0.100 H 19.5°. Best body text is #FFFFFF at 13.47:1 contrast (WCAG AA passes).

Color values

HEX#5A151C
RGBrgb(90, 21, 28)
HSLhsl(354, 62%, 22%)
HSVhsv(354, 77%, 35%)
CMYKcmyk(0%, 76.7%, 68.9%, 64.7%)
CIE-LABlab(19.20, 31.72, 13.94)
CIE-LCHlch(19.20, 34.65, 23.73°)
OKLaboklab(31.58% 0.0941 0.0334)
OKLCHoklch(31.58% 0.1 19.5)
XYZxyz(4.6947, 2.7945, 1.3906)
Luminance0.0279 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A151C #155A53
analogous
#5A153F #5A151C #5A3115
triadic
#5A151C #1C5A15 #151C5A
tetradic
#5A151C #3F5A15 #155A53 #31155A
square
#5A151C #3F5A15 #155A53 #31155A
split-complementary
#5A151C #155A31 #153F5A
monochromatic
#190608 #28090D #5A151C #8C212B #BD2C3B

Accessibility & contrast

On white

13.47
#5A151C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.56
#5A151C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5A151C
13.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A151C#FFFFFF#000000##FFFFFF
##5A151C1.0013.471.5613.47
#FFFFFF13.471.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#28251C
Deuteranopia (green-blind)
#39341A
Tritanopia (blue-blind)
#630218
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #5a151c;
/* rgb */ color: rgb(90, 21, 28);
/* oklch */ color: oklch(31.6% 0.100 19.5);
Tailwind
colors: {
  custom: {
    50: '#8e5857',
    500: '#5a151c',
    950: '#000000',
  },
}
SCSS
$custom: #5a151c;
$custom-light: #8e5857;
$custom-dark: #000000;
JSON
{
  "hex": "#5a151c",
  "rgb": {
    "r": 90,
    "g": 21,
    "b": 28
  },
  "hsl": {
    "h": 353.913,
    "s": 62.162,
    "l": 21.765
  },
  "oklch": {
    "l": 0.31578,
    "c": 0.09984,
    "h": 19.5
  },
  "luminance": 0.02794
}

Semantic roles & 50–950 ramp

primary
#5A151C
secondary
#399289
accent
#E5D543
background
#F9F5F5
surface
#F1E9E9
border
#CBC5C5
text
#0D0403
muted
#7E7978

Preview Lab

Preview with #5A151C

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

Preview Lab → · Contrast checker → · Palette generator →

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