#51161E#51161E

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

Color values

HEX#51161E
RGBrgb(81, 22, 30)
HSLhsl(352, 57%, 20%)
HSVhsv(352, 73%, 32%)
CMYKcmyk(0%, 72.8%, 63%, 68.2%)
CIE-LABlab(17.54, 28.10, 10.01)
CIE-LCHlch(17.54, 29.83, 19.60°)
OKLaboklab(30.01% 0.0842 0.0247)
OKLCHoklch(30.01% 0.088 16.3)
XYZxyz(3.9150, 2.4174, 1.4885)
Luminance0.0242 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#51161E #165149
analogous
#51163C #51161E #512B16
triadic
#51161E #1E5116 #161E51
tetradic
#51161E #3C5116 #165149 #2B1651
square
#51161E #3C5116 #165149 #2B1651
split-complementary
#51161E #16512B #163C51
monochromatic
#180709 #21090C #51161E #812330 #B13042

Accessibility & contrast

On white

14.16
#51161E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #51161E
14.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##51161E#FFFFFF#000000##FFFFFF
##51161E1.0014.161.4814.16
#FFFFFF14.161.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#25231E
Deuteranopia (green-blind)
#34301D
Tritanopia (blue-blind)
#590A19
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #51161e;
/* rgb */ color: rgb(81, 22, 30);
/* oklch */ color: oklch(30.0% 0.088 16.3);
Tailwind
colors: {
  custom: {
    50: '#865759',
    500: '#51161e',
    950: '#000000',
  },
}
SCSS
$custom: #51161e;
$custom-light: #865759;
$custom-dark: #000000;
JSON
{
  "hex": "#51161e",
  "rgb": {
    "r": 81,
    "g": 22,
    "b": 30
  },
  "hsl": {
    "h": 351.864,
    "s": 57.282,
    "l": 20.196
  },
  "oklch": {
    "l": 0.30008,
    "c": 0.08778,
    "h": 16.3
  },
  "luminance": 0.02417
}

Semantic roles & 50–950 ramp

primary
#51161E
secondary
#3A887E
accent
#E1CC47
background
#F8F5F5
surface
#F0E9E9
border
#CBC5C5
text
#0C0303
muted
#7D7878

Preview Lab

Preview with #51161E

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

Preview Lab → · Contrast checker → · Palette generator →

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