#5A2114#5A2114

#5A2114 is a dark, moderate red. Relative luminance 0.033; OKLCH L 33.1% C 0.087 H 34.3°. Best body text is #FFFFFF at 12.63:1 contrast (WCAG AA passes).

Color values

HEX#5A2114
RGBrgb(90, 33, 20)
HSLhsl(11, 64%, 22%)
HSVhsv(11, 78%, 35%)
CMYKcmyk(0%, 63.3%, 77.8%, 64.7%)
CIE-LABlab(21.25, 25.35, 21.75)
CIE-LCHlch(21.25, 33.40, 40.63°)
OKLaboklab(33.08% 0.0722 0.0493)
OKLCHoklch(33.08% 0.087 34.3)
XYZxyz(4.8871, 3.3125, 1.0437)
Luminance0.0331 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A2114 #144D5A
analogous
#5A142A #5A2114 #5A4414
triadic
#5A2114 #145A21 #21145A
tetradic
#5A2114 #2A5A14 #144D5A #44145A
square
#5A2114 #2A5A14 #144D5A #44145A
split-complementary
#5A2114 #145A44 #142A5A
monochromatic
#190906 #280F09 #5A2114 #8C331F #BE462A

Accessibility & contrast

On white

12.63
#5A2114 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.66
#5A2114 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5A2114
12.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A2114#FFFFFF#000000##FFFFFF
##5A21141.0012.631.6612.63
#FFFFFF12.631.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#312B12
Deuteranopia (green-blind)
#3F3812
Tritanopia (blue-blind)
#63141E
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #5a2114;
/* rgb */ color: rgb(90, 33, 20);
/* oklch */ color: oklch(33.1% 0.087 34.3);
Tailwind
colors: {
  custom: {
    50: '#8e5f52',
    500: '#5a2114',
    950: '#000000',
  },
}
SCSS
$custom: #5a2114;
$custom-light: #8e5f52;
$custom-dark: #000000;
JSON
{
  "hex": "#5a2114",
  "rgb": {
    "r": 90,
    "g": 33,
    "b": 20
  },
  "hsl": {
    "h": 11.143,
    "s": 63.636,
    "l": 21.569
  },
  "oklch": {
    "l": 0.33077,
    "c": 0.08741,
    "h": 34.3
  },
  "luminance": 0.03312
}

Semantic roles & 50–950 ramp

primary
#5A2114
secondary
#388192
accent
#C8E741
background
#F9F5F4
surface
#F1E9E7
border
#CBC5C3
text
#0D0402
muted
#7E7978

Preview Lab

Preview with #5A2114

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

Preview Lab → · Contrast checker → · Palette generator →

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