#51130C#51130C

#51130C is a dark, moderate red. Relative luminance 0.022; OKLCH L 29.3% C 0.093 H 30.0°. Best body text is #FFFFFF at 14.50:1 contrast (WCAG AA passes).

Color values

HEX#51130C
RGBrgb(81, 19, 12)
HSLhsl(6, 74%, 18%)
HSVhsv(6, 85%, 32%)
CMYKcmyk(0%, 76.5%, 85.2%, 68.2%)
CIE-LABlab(16.71, 28.36, 20.43)
CIE-LCHlch(16.71, 34.95, 35.77°)
OKLaboklab(29.29% 0.0809 0.0468)
OKLCHoklch(29.29% 0.093 30)
XYZxyz(3.6930, 2.2422, 0.5861)
Luminance0.0224 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#51130C #0C4A51
analogous
#510C27 #51130C #51350C
triadic
#51130C #0C5113 #130C51
tetradic
#51130C #27510C #0C4A51 #350C51
square
#51130C #27510C #0C4A51 #350C51
split-complementary
#51130C #0C5135 #0C2751
monochromatic
#1B0604 #1C0604 #51130C #862014 #BC2C1C

Accessibility & contrast

On white

14.50
#51130C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.45
#51130C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #51130C
14.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##51130C#FFFFFF#000000##FFFFFF
##51130C1.0014.501.4514.50
#FFFFFF14.501.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#25210B
Deuteranopia (green-blind)
#352E09
Tritanopia (blue-blind)
#5A0112
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #51130c;
/* rgb */ color: rgb(81, 19, 12);
/* oklch */ color: oklch(29.3% 0.093 30.0);
Tailwind
colors: {
  custom: {
    50: '#88554c',
    500: '#51130c',
    950: '#000000',
  },
}
SCSS
$custom: #51130c;
$custom-light: #88554c;
$custom-dark: #000000;
JSON
{
  "hex": "#51130c",
  "rgb": {
    "r": 81,
    "g": 19,
    "b": 12
  },
  "hsl": {
    "h": 6.087,
    "s": 74.194,
    "l": 18.235
  },
  "oklch": {
    "l": 0.29285,
    "c": 0.09347,
    "h": 30
  },
  "luminance": 0.02242
}

Semantic roles & 50–950 ramp

primary
#51130C
secondary
#2C838C
accent
#DEF137
background
#F8F5F4
surface
#F0E9E7
border
#CBC5C3
text
#0C0301
muted
#7D7877

Preview Lab

Preview with #51130C

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

Preview Lab → · Contrast checker → · Palette generator →

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