#51191C#51191C

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

Color values

HEX#51191C
RGBrgb(81, 25, 28)
HSLhsl(357, 53%, 21%)
HSVhsv(357, 69%, 32%)
CMYKcmyk(0%, 69.1%, 65.4%, 68.2%)
CIE-LABlab(18.05, 26.44, 12.09)
CIE-LCHlch(18.05, 29.07, 24.58°)
OKLaboklab(30.37% 0.0786 0.0294)
OKLCHoklch(30.37% 0.084 20.5)
XYZxyz(3.9509, 2.5290, 1.3785)
Luminance0.0253 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#51191C #19514E
analogous
#511938 #51191C #513219
triadic
#51191C #1C5119 #191C51
tetradic
#51191C #385119 #19514E #321951
square
#51191C #385119 #19514E #321951
split-complementary
#51191C #195132 #193851
monochromatic
#170708 #220B0C #51191C #80272C #AF363C

Accessibility & contrast

On white

13.95
#51191C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #51191C
13.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##51191C#FFFFFF#000000##FFFFFF
##51191C1.0013.951.5113.95
#FFFFFF13.951.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.951.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #51191c;
/* rgb */ color: rgb(81, 25, 28);
/* oklch */ color: oklch(30.4% 0.084 20.5);
Tailwind
colors: {
  custom: {
    50: '#865958',
    500: '#51191c',
    950: '#000000',
  },
}
SCSS
$custom: #51191c;
$custom-light: #865958;
$custom-dark: #000000;
JSON
{
  "hex": "#51191c",
  "rgb": {
    "r": 81,
    "g": 25,
    "b": 28
  },
  "hsl": {
    "h": 356.786,
    "s": 52.83,
    "l": 20.784
  },
  "oklch": {
    "l": 0.30374,
    "c": 0.08389,
    "h": 20.5
  },
  "luminance": 0.02528
}

Semantic roles & 50–950 ramp

primary
#51191C
secondary
#3E8784
accent
#DCD44C
background
#F8F5F5
surface
#F0E9E9
border
#CBC5C5
text
#0C0403
muted
#7D7978

Preview Lab

Preview with #51191C

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

Preview Lab → · Contrast checker → · Palette generator →

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