#51191D#51191D

#51191D is a dark, moderate red. Relative luminance 0.025; OKLCH L 30.4% C 0.084 H 19.5°. Best body text is #FFFFFF at 13.94:1 contrast (WCAG AA passes).

Color values

HEX#51191D
RGBrgb(81, 25, 29)
HSLhsl(356, 53%, 21%)
HSVhsv(356, 69%, 32%)
CMYKcmyk(0%, 69.1%, 64.2%, 68.2%)
CIE-LABlab(18.07, 26.52, 11.42)
CIE-LCHlch(18.07, 28.88, 23.29°)
OKLaboklab(30.4% 0.079 0.0279)
OKLCHoklch(30.4% 0.084 19.5)
XYZxyz(3.9631, 2.5338, 1.4425)
Luminance0.0253 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#51191D #19514D
analogous
#511939 #51191D #513119
triadic
#51191D #1D5119 #191D51
tetradic
#51191D #395119 #19514D #311951
square
#51191D #395119 #19514D #311951
split-complementary
#51191D #195131 #193951
monochromatic
#170708 #220B0C #51191D #80272E #AF363E

Accessibility & contrast

On white

13.94
#51191D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.51
#51191D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #51191D
13.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##51191D#FFFFFF#000000##FFFFFF
##51191D1.0013.941.5113.94
#FFFFFF13.941.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#27251D
Deuteranopia (green-blind)
#35311C
Tritanopia (blue-blind)
#590E1B
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #51191d;
/* rgb */ color: rgb(81, 25, 29);
/* oklch */ color: oklch(30.4% 0.084 19.5);
Tailwind
colors: {
  custom: {
    50: '#865958',
    500: '#51191d',
    950: '#000000',
  },
}
SCSS
$custom: #51191d;
$custom-light: #865958;
$custom-dark: #000000;
JSON
{
  "hex": "#51191d",
  "rgb": {
    "r": 81,
    "g": 25,
    "b": 29
  },
  "hsl": {
    "h": 355.714,
    "s": 52.83,
    "l": 20.784
  },
  "oklch": {
    "l": 0.30397,
    "c": 0.08382,
    "h": 19.5
  },
  "luminance": 0.02533
}

Semantic roles & 50–950 ramp

primary
#51191D
secondary
#3E8782
accent
#DCD24C
background
#F8F5F5
surface
#F0E9E9
border
#CBC5C5
text
#0C0403
muted
#7D7978

Preview Lab

Preview with #51191D

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

Preview Lab → · Contrast checker → · Palette generator →

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