#5A1219#5A1219

#5A1219 is a dark, moderate red. Relative luminance 0.027; OKLCH L 31.2% C 0.103 H 20.6°. Best body text is #FFFFFF at 13.68:1 contrast (WCAG AA passes).

Color values

HEX#5A1219
RGBrgb(90, 18, 25)
HSLhsl(354, 67%, 21%)
HSVhsv(354, 80%, 35%)
CMYKcmyk(0%, 80%, 72.2%, 64.7%)
CIE-LABlab(18.70, 32.75, 15.40)
CIE-LCHlch(18.70, 36.19, 25.19°)
OKLaboklab(31.19% 0.0967 0.0363)
OKLCHoklch(31.19% 0.103 20.6)
XYZxyz(4.6087, 2.6772, 1.1936)
Luminance0.0268 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A1219 #125A53
analogous
#5A123D #5A1219 #5A2F12
triadic
#5A1219 #195A12 #12195A
tetradic
#5A1219 #3D5A12 #125A53 #2F125A
square
#5A1219 #3D5A12 #125A53 #2F125A
split-complementary
#5A1219 #125A2F #123D5A
monochromatic
#1A0507 #27080B #5A1219 #8D1C27 #C02635

Accessibility & contrast

On white

13.68
#5A1219 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.54
#5A1219 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5A1219
13.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A1219#FFFFFF#000000##FFFFFF
##5A12191.0013.681.5413.68
#FFFFFF13.681.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#272419
Deuteranopia (green-blind)
#393317
Tritanopia (blue-blind)
#640015
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #5a1219;
/* rgb */ color: rgb(90, 18, 25);
/* oklch */ color: oklch(31.2% 0.103 20.6);
Tailwind
colors: {
  custom: {
    50: '#8f5755',
    500: '#5a1219',
    950: '#000000',
  },
}
SCSS
$custom: #5a1219;
$custom-light: #8f5755;
$custom-dark: #000000;
JSON
{
  "hex": "#5a1219",
  "rgb": {
    "r": 90,
    "g": 18,
    "b": 25
  },
  "hsl": {
    "h": 354.167,
    "s": 66.667,
    "l": 21.176
  },
  "oklch": {
    "l": 0.31188,
    "c": 0.10326,
    "h": 20.6
  },
  "luminance": 0.02676
}

Semantic roles & 50–950 ramp

primary
#5A1219
secondary
#359389
accent
#EAD93E
background
#F9F5F4
surface
#F2E9E8
border
#CCC5C4
text
#0D0303
muted
#7E7878

Preview Lab

Preview with #5A1219

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

Preview Lab → · Contrast checker → · Palette generator →

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