#5A130F#5A130F

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

Color values

HEX#5A130F
RGBrgb(90, 19, 15)
HSLhsl(3, 71%, 21%)
HSVhsv(3, 83%, 35%)
CMYKcmyk(0%, 78.9%, 83.3%, 64.7%)
CIE-LABlab(18.69, 31.84, 21.80)
CIE-LCHlch(18.69, 38.58, 34.40°)
OKLaboklab(31.13% 0.0913 0.0487)
OKLCHoklch(31.13% 0.104 28.1)
XYZxyz(4.5361, 2.6746, 0.7292)
Luminance0.0267 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A130F #0F565A
analogous
#5A0F30 #5A130F #5A380F
triadic
#5A130F #0F5A13 #130F5A
tetradic
#5A130F #305A0F #0F565A #380F5A
square
#5A130F #305A0F #0F565A #380F5A
split-complementary
#5A130F #0F5A38 #0F305A
monochromatic
#1A0604 #260806 #5A130F #8E1E18 #C32920

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5A130F#FFFFFF#000000##FFFFFF
##5A130F1.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)
#28240E
Deuteranopia (green-blind)
#3A330C
Tritanopia (blue-blind)
#640013
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #5a130f;
/* rgb */ color: rgb(90, 19, 15);
/* oklch */ color: oklch(31.1% 0.103 28.1);
Tailwind
colors: {
  custom: {
    50: '#8f574e',
    500: '#5a130f',
    950: '#000000',
  },
}
SCSS
$custom: #5a130f;
$custom-light: #8f574e;
$custom-dark: #000000;
JSON
{
  "hex": "#5a130f",
  "rgb": {
    "r": 90,
    "g": 19,
    "b": 15
  },
  "hsl": {
    "h": 3.2,
    "s": 71.429,
    "l": 20.588
  },
  "oklch": {
    "l": 0.3113,
    "c": 0.1035,
    "h": 28.1
  },
  "luminance": 0.02674
}

Semantic roles & 50–950 ramp

primary
#5A130F
secondary
#318E94
accent
#E5EE3A
background
#F9F5F4
surface
#F2E9E7
border
#CCC5C3
text
#0E0301
muted
#7E7877

Preview Lab

Preview with #5A130F

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

Preview Lab → · Contrast checker → · Palette generator →

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