#51191B#51191B

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

Color values

HEX#51191B
RGBrgb(81, 25, 27)
HSLhsl(358, 53%, 21%)
HSVhsv(358, 69%, 32%)
CMYKcmyk(0%, 69.1%, 66.7%, 68.2%)
CIE-LABlab(18.03, 26.36, 12.76)
CIE-LCHlch(18.03, 29.29, 25.84°)
OKLaboklab(30.35% 0.0781 0.0309)
OKLCHoklch(30.35% 0.084 21.6)
XYZxyz(3.9392, 2.5242, 1.3165)
Luminance0.0252 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#51191B #19514F
analogous
#511937 #51191B #513319
triadic
#51191B #1B5119 #191B51
tetradic
#51191B #375119 #19514F #331951
square
#51191B #375119 #19514F #331951
split-complementary
#51191B #195133 #193751
monochromatic
#170708 #220B0B #51191B #80272B #AF363A

Accessibility & contrast

On white

13.96
#51191B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.50
#51191B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #51191B
13.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##51191B#FFFFFF#000000##FFFFFF
##51191B1.0013.961.5013.96
#FFFFFF13.961.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF13.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#27251B
Deuteranopia (green-blind)
#35301A
Tritanopia (blue-blind)
#590E1A
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #51191b;
/* rgb */ color: rgb(81, 25, 27);
/* oklch */ color: oklch(30.4% 0.084 21.6);
Tailwind
colors: {
  custom: {
    50: '#865957',
    500: '#51191b',
    950: '#000000',
  },
}
SCSS
$custom: #51191b;
$custom-light: #865957;
$custom-dark: #000000;
JSON
{
  "hex": "#51191b",
  "rgb": {
    "r": 81,
    "g": 25,
    "b": 27
  },
  "hsl": {
    "h": 357.857,
    "s": 52.83,
    "l": 20.784
  },
  "oklch": {
    "l": 0.30351,
    "c": 0.08398,
    "h": 21.6
  },
  "luminance": 0.02524
}

Semantic roles & 50–950 ramp

primary
#51191B
secondary
#3E8785
accent
#DCD74C
background
#F8F5F5
surface
#F0E9E9
border
#CBC5C5
text
#0C0403
muted
#7D7978

Preview Lab

Preview with #51191B

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

Preview Lab → · Contrast checker → · Palette generator →

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