#5A1214#5A1214

#5A1214 is a dark, moderate red. Relative luminance 0.027; OKLCH L 31.1% C 0.104 H 24.3°. Best body text is #FFFFFF at 13.71:1 contrast (WCAG AA passes).

Color values

HEX#5A1214
RGBrgb(90, 18, 20)
HSLhsl(358, 67%, 21%)
HSVhsv(358, 80%, 35%)
CMYKcmyk(0%, 80%, 77.8%, 64.7%)
CIE-LABlab(18.62, 32.47, 18.73)
CIE-LCHlch(18.62, 37.48, 29.98°)
OKLaboklab(31.1% 0.0946 0.0427)
OKLCHoklch(31.1% 0.104 24.3)
XYZxyz(4.5595, 2.6575, 0.9345)
Luminance0.0266 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A1214 #125A58
analogous
#5A1238 #5A1214 #5A3412
triadic
#5A1214 #145A12 #12145A
tetradic
#5A1214 #385A12 #125A58 #34125A
square
#5A1214 #385A12 #125A58 #34125A
split-complementary
#5A1214 #125A34 #12385A
monochromatic
#1A0506 #270809 #5A1214 #8D1C1F #C0262B

Accessibility & contrast

On white

13.71
#5A1214 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.53
#5A1214 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5A1214
13.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A1214#FFFFFF#000000##FFFFFF
##5A12141.0013.711.5313.71
#FFFFFF13.711.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#272313
Deuteranopia (green-blind)
#393312
Tritanopia (blue-blind)
#640014
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #5a1214;
/* rgb */ color: rgb(90, 18, 20);
/* oklch */ color: oklch(31.1% 0.104 24.3);
Tailwind
colors: {
  custom: {
    50: '#8f5751',
    500: '#5a1214',
    950: '#000000',
  },
}
SCSS
$custom: #5a1214;
$custom-light: #8f5751;
$custom-dark: #000000;
JSON
{
  "hex": "#5a1214",
  "rgb": {
    "r": 90,
    "g": 18,
    "b": 20
  },
  "hsl": {
    "h": 358.333,
    "s": 66.667,
    "l": 21.176
  },
  "oklch": {
    "l": 0.31097,
    "c": 0.10374,
    "h": 24.3
  },
  "luminance": 0.02657
}

Semantic roles & 50–950 ramp

primary
#5A1214
secondary
#359390
accent
#EAE53E
background
#F9F5F4
surface
#F2E9E7
border
#CCC5C3
text
#0E0302
muted
#7E7878

Preview Lab

Preview with #5A1214

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

Preview Lab → · Contrast checker → · Palette generator →

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