#51160C#51160C

#51160C is a dark, moderate red. Relative luminance 0.024; OKLCH L 29.7% C 0.090 H 32.1°. Best body text is #FFFFFF at 14.29:1 contrast (WCAG AA passes).

Color values

HEX#51160C
RGBrgb(81, 22, 12)
HSLhsl(9, 74%, 18%)
HSVhsv(9, 85%, 32%)
CMYKcmyk(0%, 72.8%, 85.2%, 68.2%)
CIE-LABlab(17.23, 26.95, 21.06)
CIE-LCHlch(17.23, 34.20, 38.01°)
OKLaboklab(29.67% 0.0765 0.048)
OKLCHoklch(29.67% 0.09 32.1)
XYZxyz(3.7470, 2.3502, 0.6041)
Luminance0.0235 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#51160C #0C4751
analogous
#510C24 #51160C #51380C
triadic
#51160C #0C5116 #160C51
tetradic
#51160C #24510C #0C4751 #380C51
square
#51160C #24510C #0C4751 #380C51
split-complementary
#51160C #0C5138 #0C2451
monochromatic
#1B0704 #1C0804 #51160C #862414 #BC331C

Accessibility & contrast

On white

14.29
#51160C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.47
#51160C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #51160C
14.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##51160C#FFFFFF#000000##FFFFFF
##51160C1.0014.291.4714.29
#FFFFFF14.291.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#27220A
Deuteranopia (green-blind)
#362F0A
Tritanopia (blue-blind)
#5A0514
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #51160c;
/* rgb */ color: rgb(81, 22, 12);
/* oklch */ color: oklch(29.7% 0.090 32.1);
Tailwind
colors: {
  custom: {
    50: '#88574c',
    500: '#51160c',
    950: '#000000',
  },
}
SCSS
$custom: #51160c;
$custom-light: #88574c;
$custom-dark: #000000;
JSON
{
  "hex": "#51160c",
  "rgb": {
    "r": 81,
    "g": 22,
    "b": 12
  },
  "hsl": {
    "h": 8.696,
    "s": 74.194,
    "l": 18.235
  },
  "oklch": {
    "l": 0.29673,
    "c": 0.09031,
    "h": 32.1
  },
  "luminance": 0.0235
}

Semantic roles & 50–950 ramp

primary
#51160C
secondary
#2C7E8C
accent
#D6F137
background
#F8F5F4
surface
#F0E9E7
border
#CBC5C3
text
#0C0301
muted
#7D7877

Preview Lab

Preview with #51160C

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

Preview Lab → · Contrast checker → · Palette generator →

#51160C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva