#51190C#51190C

#51190C is a dark, moderate red. Relative luminance 0.025; OKLCH L 30.1% C 0.087 H 34.4°. Best body text is #FFFFFF at 14.05:1 contrast (WCAG AA passes).

Color values

HEX#51190C
RGBrgb(81, 25, 12)
HSLhsl(11, 74%, 18%)
HSVhsv(11, 85%, 32%)
CMYKcmyk(0%, 69.1%, 85.2%, 68.2%)
CIE-LABlab(17.79, 25.44, 21.74)
CIE-LCHlch(17.79, 33.46, 40.52°)
OKLaboklab(30.1% 0.0718 0.0492)
OKLCHoklch(30.1% 0.087 34.4)
XYZxyz(3.8077, 2.4717, 0.6243)
Luminance0.0247 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#51190C #0C4451
analogous
#510C21 #51190C #513B0C
triadic
#51190C #0C5119 #190C51
tetradic
#51190C #21510C #0C4451 #3B0C51
square
#51190C #21510C #0C4451 #3B0C51
split-complementary
#51190C #0C513B #0C2151
monochromatic
#1B0804 #1C0904 #51190C #862914 #BC3A1C

Accessibility & contrast

On white

14.05
#51190C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.49
#51190C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #51190C
14.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##51190C#FFFFFF#000000##FFFFFF
##51190C1.0014.051.4914.05
#FFFFFF14.051.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#29240A
Deuteranopia (green-blind)
#37300A
Tritanopia (blue-blind)
#5A0A16
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #51190c;
/* rgb */ color: rgb(81, 25, 12);
/* oklch */ color: oklch(30.1% 0.087 34.4);
Tailwind
colors: {
  custom: {
    50: '#88594c',
    500: '#51190c',
    950: '#000000',
  },
}
SCSS
$custom: #51190c;
$custom-light: #88594c;
$custom-dark: #000000;
JSON
{
  "hex": "#51190c",
  "rgb": {
    "r": 81,
    "g": 25,
    "b": 12
  },
  "hsl": {
    "h": 11.304,
    "s": 74.194,
    "l": 18.235
  },
  "oklch": {
    "l": 0.30096,
    "c": 0.08708,
    "h": 34.4
  },
  "luminance": 0.02471
}

Semantic roles & 50–950 ramp

primary
#51190C
secondary
#2C7A8C
accent
#CEF137
background
#F8F5F4
surface
#F0E9E7
border
#CBC5C3
text
#0C0301
muted
#7D7877

Preview Lab

Preview with #51190C

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

Preview Lab → · Contrast checker → · Palette generator →

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