#51140C#51140C

#51140C is a dark, moderate red. Relative luminance 0.023; OKLCH L 29.4% C 0.092 H 30.7°. Best body text is #FFFFFF at 14.43:1 contrast (WCAG AA passes).

Color values

HEX#51140C
RGBrgb(81, 20, 12)
HSLhsl(7, 74%, 18%)
HSVhsv(7, 85%, 32%)
CMYKcmyk(0%, 75.3%, 85.2%, 68.2%)
CIE-LABlab(16.88, 27.90, 20.63)
CIE-LCHlch(16.88, 34.70, 36.48°)
OKLaboklab(29.41% 0.0795 0.0472)
OKLCHoklch(29.41% 0.092 30.7)
XYZxyz(3.7103, 2.2767, 0.5918)
Luminance0.0228 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#51140C #0C4951
analogous
#510C26 #51140C #51360C
triadic
#51140C #0C5114 #140C51
tetradic
#51140C #26510C #0C4951 #360C51
square
#51140C #26510C #0C4951 #360C51
split-complementary
#51140C #0C5136 #0C2651
monochromatic
#1B0704 #1C0704 #51140C #862114 #BC2E1C

Accessibility & contrast

On white

14.43
#51140C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.46
#51140C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #51140C
14.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##51140C#FFFFFF#000000##FFFFFF
##51140C1.0014.431.4614.43
#FFFFFF14.431.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#26210B
Deuteranopia (green-blind)
#352F0A
Tritanopia (blue-blind)
#5A0213
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #51140c;
/* rgb */ color: rgb(81, 20, 12);
/* oklch */ color: oklch(29.4% 0.092 30.7);
Tailwind
colors: {
  custom: {
    50: '#88564c',
    500: '#51140c',
    950: '#000000',
  },
}
SCSS
$custom: #51140c;
$custom-light: #88564c;
$custom-dark: #000000;
JSON
{
  "hex": "#51140c",
  "rgb": {
    "r": 81,
    "g": 20,
    "b": 12
  },
  "hsl": {
    "h": 6.957,
    "s": 74.194,
    "l": 18.235
  },
  "oklch": {
    "l": 0.2941,
    "c": 0.09243,
    "h": 30.7
  },
  "luminance": 0.02276
}

Semantic roles & 50–950 ramp

primary
#51140C
secondary
#2C818C
accent
#DBF137
background
#F8F5F4
surface
#F0E9E7
border
#CBC5C3
text
#0C0301
muted
#7D7877

Preview Lab

Preview with #51140C

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

Preview Lab → · Contrast checker → · Palette generator →

#51140C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva