#51120E#51120E

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

Color values

HEX#51120E
RGBrgb(81, 18, 14)
HSLhsl(4, 71%, 19%)
HSVhsv(4, 83%, 32%)
CMYKcmyk(0%, 77.8%, 82.7%, 68.2%)
CIE-LABlab(16.57, 28.89, 19.30)
CIE-LCHlch(16.57, 34.74, 33.74°)
OKLaboklab(29.19% 0.0831 0.0443)
OKLCHoklch(29.19% 0.094 28.1)
XYZxyz(3.6893, 2.2142, 0.6485)
Luminance0.0221 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#51120E #0E4D51
analogous
#510E2B #51120E #51330E
triadic
#51120E #0E5112 #120E51
tetradic
#51120E #2B510E #0E4D51 #330E51
square
#51120E #2B510E #0E4D51 #330E51
split-complementary
#51120E #0E5133 #0E2B51
monochromatic
#1A0605 #1D0605 #51120E #851E17 #B92920

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##51120E#FFFFFF#000000##FFFFFF
##51120E1.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)
#24200D
Deuteranopia (green-blind)
#342E0C
Tritanopia (blue-blind)
#5A0012
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #51120e;
/* rgb */ color: rgb(81, 18, 14);
/* oklch */ color: oklch(29.2% 0.094 28.1);
Tailwind
colors: {
  custom: {
    50: '#88554d',
    500: '#51120e',
    950: '#000000',
  },
}
SCSS
$custom: #51120e;
$custom-light: #88554d;
$custom-dark: #000000;
JSON
{
  "hex": "#51120e",
  "rgb": {
    "r": 81,
    "g": 18,
    "b": 14
  },
  "hsl": {
    "h": 3.582,
    "s": 70.526,
    "l": 18.627
  },
  "oklch": {
    "l": 0.29191,
    "c": 0.09413,
    "h": 28.1
  },
  "luminance": 0.02214
}

Semantic roles & 50–950 ramp

primary
#51120E
secondary
#2F868C
accent
#E3ED3A
background
#F8F5F4
surface
#F0E9E7
border
#CBC5C3
text
#0C0301
muted
#7D7877

Preview Lab

Preview with #51120E

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

Preview Lab → · Contrast checker → · Palette generator →

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