#51160F#51160F

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

Color values

HEX#51160F
RGBrgb(81, 22, 15)
HSLhsl(6, 69%, 19%)
HSVhsv(6, 81%, 32%)
CMYKcmyk(0%, 72.8%, 81.5%, 68.2%)
CIE-LABlab(17.26, 27.09, 19.63)
CIE-LCHlch(17.26, 33.45, 35.93°)
OKLaboklab(29.71% 0.0776 0.0448)
OKLCHoklch(29.71% 0.09 30)
XYZxyz(3.7669, 2.3582, 0.7087)
Luminance0.0236 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#51160F #0F4A51
analogous
#510F29 #51160F #51370F
triadic
#51160F #0F5116 #160F51
tetradic
#51160F #29510F #0F4A51 #370F51
square
#51160F #29510F #0F4A51 #370F51
split-complementary
#51160F #0F5137 #0F2951
monochromatic
#1A0705 #1D0805 #51160F #852419 #B83222

Accessibility & contrast

On white

14.27
#51160F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #51160F
14.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##51160F#FFFFFF#000000##FFFFFF
##51160F1.0014.271.4714.27
#FFFFFF14.271.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#27220E
Deuteranopia (green-blind)
#352F0D
Tritanopia (blue-blind)
#5A0615
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #51160f;
/* rgb */ color: rgb(81, 22, 15);
/* oklch */ color: oklch(29.7% 0.090 30.0);
Tailwind
colors: {
  custom: {
    50: '#88574e',
    500: '#51160f',
    950: '#000000',
  },
}
SCSS
$custom: #51160f;
$custom-light: #88574e;
$custom-dark: #000000;
JSON
{
  "hex": "#51160f",
  "rgb": {
    "r": 81,
    "g": 22,
    "b": 15
  },
  "hsl": {
    "h": 6.364,
    "s": 68.75,
    "l": 18.824
  },
  "oklch": {
    "l": 0.29713,
    "c": 0.08965,
    "h": 30
  },
  "luminance": 0.02358
}

Semantic roles & 50–950 ramp

primary
#51160F
secondary
#31828B
accent
#D9EC3C
background
#F8F5F4
surface
#F0E9E7
border
#CBC5C3
text
#0C0301
muted
#7D7877

Preview Lab

Preview with #51160F

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

Preview Lab → · Contrast checker → · Palette generator →

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