#51161D#51161D

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

Color values

HEX#51161D
RGBrgb(81, 22, 29)
HSLhsl(353, 57%, 20%)
HSVhsv(353, 73%, 32%)
CMYKcmyk(0%, 72.8%, 64.2%, 68.2%)
CIE-LABlab(17.52, 28.02, 10.69)
CIE-LCHlch(17.52, 29.99, 20.88°)
OKLaboklab(29.98% 0.0838 0.0262)
OKLCHoklch(29.98% 0.088 17.4)
XYZxyz(3.9024, 2.4124, 1.4223)
Luminance0.0241 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#51161D #16514A
analogous
#51163B #51161D #512C16
triadic
#51161D #1D5116 #161D51
tetradic
#51161D #3B5116 #16514A #2C1651
square
#51161D #3B5116 #16514A #2C1651
split-complementary
#51161D #16512C #163B51
monochromatic
#180709 #21090C #51161D #81232E #B1303F

Accessibility & contrast

On white

14.17
#51161D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #51161D
14.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##51161D#FFFFFF#000000##FFFFFF
##51161D1.0014.171.4814.17
#FFFFFF14.171.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#25231D
Deuteranopia (green-blind)
#34301B
Tritanopia (blue-blind)
#590919
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #51161d;
/* rgb */ color: rgb(81, 22, 29);
/* oklch */ color: oklch(30.0% 0.088 17.4);
Tailwind
colors: {
  custom: {
    50: '#865758',
    500: '#51161d',
    950: '#000000',
  },
}
SCSS
$custom: #51161d;
$custom-light: #865758;
$custom-dark: #000000;
JSON
{
  "hex": "#51161d",
  "rgb": {
    "r": 81,
    "g": 22,
    "b": 29
  },
  "hsl": {
    "h": 352.881,
    "s": 57.282,
    "l": 20.196
  },
  "oklch": {
    "l": 0.29983,
    "c": 0.08778,
    "h": 17.4
  },
  "luminance": 0.02412
}

Semantic roles & 50–950 ramp

primary
#51161D
secondary
#3A887F
accent
#E1CE47
background
#F8F5F5
surface
#F0E9E9
border
#CBC5C5
text
#0C0303
muted
#7D7878

Preview Lab

Preview with #51161D

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

Preview Lab → · Contrast checker → · Palette generator →

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