#51161A#51161A

#51161A is a dark, moderate red. Relative luminance 0.024; OKLCH L 29.9% C 0.088 H 20.4°. Best body text is #FFFFFF at 14.19:1 contrast (WCAG AA passes).

Color values

HEX#51161A
RGBrgb(81, 22, 26)
HSLhsl(356, 57%, 20%)
HSVhsv(356, 73%, 32%)
CMYKcmyk(0%, 72.8%, 67.9%, 68.2%)
CIE-LABlab(17.45, 27.78, 12.72)
CIE-LCHlch(17.45, 30.55, 24.61°)
OKLaboklab(29.91% 0.0824 0.0307)
OKLCHoklch(29.91% 0.088 20.4)
XYZxyz(3.8671, 2.3983, 1.2364)
Luminance0.0240 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#51161A #16514D
analogous
#511638 #51161A #512F16
triadic
#51161A #1A5116 #161A51
tetradic
#51161A #385116 #16514D #2F1651
square
#51161A #385116 #16514D #2F1651
split-complementary
#51161A #16512F #163851
monochromatic
#180708 #21090B #51161A #812329 #B13039

Accessibility & contrast

On white

14.19
#51161A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.48
#51161A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #51161A
14.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##51161A#FFFFFF#000000##FFFFFF
##51161A1.0014.191.4814.19
#FFFFFF14.191.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#25231A
Deuteranopia (green-blind)
#342F18
Tritanopia (blue-blind)
#590818
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #51161a;
/* rgb */ color: rgb(81, 22, 26);
/* oklch */ color: oklch(29.9% 0.088 20.4);
Tailwind
colors: {
  custom: {
    50: '#875756',
    500: '#51161a',
    950: '#000000',
  },
}
SCSS
$custom: #51161a;
$custom-light: #875756;
$custom-dark: #000000;
JSON
{
  "hex": "#51161a",
  "rgb": {
    "r": 81,
    "g": 22,
    "b": 26
  },
  "hsl": {
    "h": 355.932,
    "s": 57.282,
    "l": 20.196
  },
  "oklch": {
    "l": 0.29913,
    "c": 0.08791,
    "h": 20.4
  },
  "luminance": 0.02398
}

Semantic roles & 50–950 ramp

primary
#51161A
secondary
#3A8883
accent
#E1D647
background
#F8F5F5
surface
#F0E9E9
border
#CBC5C5
text
#0C0303
muted
#7D7878

Preview Lab

Preview with #51161A

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

Preview Lab → · Contrast checker → · Palette generator →

#51161A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva