#51191A#51191A

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

Color values

HEX#51191A
RGBrgb(81, 25, 26)
HSLhsl(359, 53%, 21%)
HSVhsv(359, 69%, 32%)
CMYKcmyk(0%, 69.1%, 67.9%, 68.2%)
CIE-LABlab(18.01, 26.28, 13.44)
CIE-LCHlch(18.01, 29.52, 27.08°)
OKLaboklab(30.33% 0.0777 0.0323)
OKLCHoklch(30.33% 0.084 22.6)
XYZxyz(3.9278, 2.5197, 1.2566)
Luminance0.0252 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#51191A #195150
analogous
#511936 #51191A #513419
triadic
#51191A #1A5119 #191A51
tetradic
#51191A #365119 #195150 #341951
square
#51191A #365119 #195150 #341951
split-complementary
#51191A #195134 #193651
monochromatic
#170708 #220B0B #51191A #802729 #AF3638

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##51191A#FFFFFF#000000##FFFFFF
##51191A1.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)
#27251A
Deuteranopia (green-blind)
#353019
Tritanopia (blue-blind)
#590D1A
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #51191a;
/* rgb */ color: rgb(81, 25, 26);
/* oklch */ color: oklch(30.3% 0.084 22.6);
Tailwind
colors: {
  custom: {
    50: '#865956',
    500: '#51191a',
    950: '#000000',
  },
}
SCSS
$custom: #51191a;
$custom-light: #865956;
$custom-dark: #000000;
JSON
{
  "hex": "#51191a",
  "rgb": {
    "r": 81,
    "g": 25,
    "b": 26
  },
  "hsl": {
    "h": 358.929,
    "s": 52.83,
    "l": 20.784
  },
  "oklch": {
    "l": 0.30329,
    "c": 0.0841,
    "h": 22.6
  },
  "luminance": 0.02519
}

Semantic roles & 50–950 ramp

primary
#51191A
secondary
#3E8786
accent
#DCDA4C
background
#F8F5F5
surface
#F0E9E9
border
#CBC5C5
text
#0C0403
muted
#7D7978

Preview Lab

Preview with #51191A

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

Preview Lab → · Contrast checker → · Palette generator →

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