#51160E#51160E

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

Color values

HEX#51160E
RGBrgb(81, 22, 14)
HSLhsl(7, 71%, 19%)
HSVhsv(7, 83%, 32%)
CMYKcmyk(0%, 72.8%, 82.7%, 68.2%)
CIE-LABlab(17.25, 27.04, 20.13)
CIE-LCHlch(17.25, 33.71, 36.67°)
OKLaboklab(29.7% 0.0773 0.0459)
OKLCHoklch(29.7% 0.09 30.7)
XYZxyz(3.7599, 2.3554, 0.6720)
Luminance0.0236 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#51160E #0E4951
analogous
#510E27 #51160E #51370E
triadic
#51160E #0E5116 #160E51
tetradic
#51160E #27510E #0E4951 #370E51
square
#51160E #27510E #0E4951 #370E51
split-complementary
#51160E #0E5137 #0E2751
monochromatic
#1A0705 #1D0805 #51160E #852417 #B93220

Accessibility & contrast

On white

14.28
#51160E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #51160E
14.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##51160E#FFFFFF#000000##FFFFFF
##51160E1.0014.281.4714.28
#FFFFFF14.281.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#27220D
Deuteranopia (green-blind)
#352F0C
Tritanopia (blue-blind)
#5A0515
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #51160e;
/* rgb */ color: rgb(81, 22, 14);
/* oklch */ color: oklch(29.7% 0.090 30.7);
Tailwind
colors: {
  custom: {
    50: '#88574d',
    500: '#51160e',
    950: '#000000',
  },
}
SCSS
$custom: #51160e;
$custom-light: #88574d;
$custom-dark: #000000;
JSON
{
  "hex": "#51160e",
  "rgb": {
    "r": 81,
    "g": 22,
    "b": 14
  },
  "hsl": {
    "h": 7.164,
    "s": 70.526,
    "l": 18.627
  },
  "oklch": {
    "l": 0.29699,
    "c": 0.08987,
    "h": 30.7
  },
  "luminance": 0.02355
}

Semantic roles & 50–950 ramp

primary
#51160E
secondary
#2F808C
accent
#D8ED3A
background
#F8F5F4
surface
#F0E9E7
border
#CBC5C3
text
#0C0301
muted
#7D7877

Preview Lab

Preview with #51160E

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

Preview Lab → · Contrast checker → · Palette generator →

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