#5A111F#5A111F

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

Color values

HEX#5A111F
RGBrgb(90, 17, 31)
HSLhsl(348, 68%, 21%)
HSVhsv(348, 81%, 35%)
CMYKcmyk(0%, 81.1%, 65.6%, 64.7%)
CIE-LABlab(18.69, 33.54, 11.16)
CIE-LCHlch(18.69, 35.35, 18.41°)
OKLaboklab(31.22% 0.1006 0.0273)
OKLCHoklch(31.22% 0.104 15.2)
XYZxyz(4.6647, 2.6742, 1.5666)
Luminance0.0267 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A111F #115A4C
analogous
#5A1143 #5A111F #5A2711
triadic
#5A111F #1F5A11 #111F5A
tetradic
#5A111F #435A11 #115A4C #27115A
square
#5A111F #435A11 #115A4C #27115A
split-complementary
#5A111F #115A27 #11435A
monochromatic
#1A0509 #27070D #5A111F #8D1B31 #C12442

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5A111F#FFFFFF#000000##FFFFFF
##5A111F1.0013.681.5313.68
#FFFFFF13.681.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#25241F
Deuteranopia (green-blind)
#38331D
Tritanopia (blue-blind)
#630017
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #5a111f;
/* rgb */ color: rgb(90, 17, 31);
/* oklch */ color: oklch(31.2% 0.104 15.2);
Tailwind
colors: {
  custom: {
    50: '#8e565a',
    500: '#5a111f',
    950: '#000000',
  },
}
SCSS
$custom: #5a111f;
$custom-light: #8e565a;
$custom-dark: #000000;
JSON
{
  "hex": "#5a111f",
  "rgb": {
    "r": 90,
    "g": 17,
    "b": 31
  },
  "hsl": {
    "h": 348.493,
    "s": 68.224,
    "l": 20.98
  },
  "oklch": {
    "l": 0.31218,
    "c": 0.10421,
    "h": 15.2
  },
  "luminance": 0.02673
}

Semantic roles & 50–950 ramp

primary
#5A111F
secondary
#349381
accent
#EBCA3D
background
#F9F5F5
surface
#F1E9E9
border
#CBC5C5
text
#0D0303
muted
#7E7878

Preview Lab

Preview with #5A111F

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

Preview Lab → · Contrast checker → · Palette generator →

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