#51120D#51120D

#51120D is a dark, moderate red. Relative luminance 0.022; OKLCH L 29.2% C 0.094 H 28.8°. Best body text is #FFFFFF at 14.56:1 contrast (WCAG AA passes).

Color values

HEX#51120D
RGBrgb(81, 18, 13)
HSLhsl(4, 72%, 18%)
HSVhsv(4, 84%, 32%)
CMYKcmyk(0%, 77.8%, 84%, 68.2%)
CIE-LABlab(16.56, 28.84, 19.77)
CIE-LCHlch(16.56, 34.97, 34.43°)
OKLaboklab(29.18% 0.0827 0.0454)
OKLCHoklch(29.18% 0.094 28.8)
XYZxyz(3.6827, 2.2116, 0.6137)
Luminance0.0221 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#51120D #0D4C51
analogous
#510D2A #51120D #51340D
triadic
#51120D #0D5112 #120D51
tetradic
#51120D #2A510D #0D4C51 #340D51
square
#51120D #2A510D #0D4C51 #340D51
split-complementary
#51120D #0D5134 #0D2A51
monochromatic
#1A0604 #1C0605 #51120D #861E15 #BA291E

Accessibility & contrast

On white

14.56
#51120D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.44
#51120D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #51120D
14.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##51120D#FFFFFF#000000##FFFFFF
##51120D1.0014.561.4414.56
#FFFFFF14.561.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#25200C
Deuteranopia (green-blind)
#342E0A
Tritanopia (blue-blind)
#5A0011
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #51120d;
/* rgb */ color: rgb(81, 18, 13);
/* oklch */ color: oklch(29.2% 0.094 28.8);
Tailwind
colors: {
  custom: {
    50: '#88554c',
    500: '#51120d',
    950: '#000000',
  },
}
SCSS
$custom: #51120d;
$custom-light: #88554c;
$custom-dark: #000000;
JSON
{
  "hex": "#51120d",
  "rgb": {
    "r": 81,
    "g": 18,
    "b": 13
  },
  "hsl": {
    "h": 4.412,
    "s": 72.34,
    "l": 18.431
  },
  "oklch": {
    "l": 0.29177,
    "c": 0.09431,
    "h": 28.8
  },
  "luminance": 0.02211
}

Semantic roles & 50–950 ramp

primary
#51120D
secondary
#2E858C
accent
#E2EF39
background
#F8F5F4
surface
#F0E9E7
border
#CBC5C3
text
#0C0301
muted
#7D7877

Preview Lab

Preview with #51120D

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

Preview Lab → · Contrast checker → · Palette generator →

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