#51191E#51191E

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

Color values

HEX#51191E
RGBrgb(81, 25, 30)
HSLhsl(355, 53%, 21%)
HSVhsv(355, 69%, 32%)
CMYKcmyk(0%, 69.1%, 63%, 68.2%)
CIE-LABlab(18.09, 26.61, 10.74)
CIE-LCHlch(18.09, 28.70, 21.99°)
OKLaboklab(30.42% 0.0795 0.0264)
OKLCHoklch(30.42% 0.084 18.4)
XYZxyz(3.9757, 2.5389, 1.5087)
Luminance0.0254 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#51191E #19514C
analogous
#51193A #51191E #513019
triadic
#51191E #1E5119 #191E51
tetradic
#51191E #3A5119 #19514C #301951
square
#51191E #3A5119 #19514C #301951
split-complementary
#51191E #195130 #193A51
monochromatic
#170709 #220B0D #51191E #80272F #AF3641

Accessibility & contrast

On white

13.93
#51191E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #51191E
13.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##51191E#FFFFFF#000000##FFFFFF
##51191E1.0013.931.5113.93
#FFFFFF13.931.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.931.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #51191e;
/* rgb */ color: rgb(81, 25, 30);
/* oklch */ color: oklch(30.4% 0.084 18.4);
Tailwind
colors: {
  custom: {
    50: '#865959',
    500: '#51191e',
    950: '#000000',
  },
}
SCSS
$custom: #51191e;
$custom-light: #865959;
$custom-dark: #000000;
JSON
{
  "hex": "#51191e",
  "rgb": {
    "r": 81,
    "g": 25,
    "b": 30
  },
  "hsl": {
    "h": 354.643,
    "s": 52.83,
    "l": 20.784
  },
  "oklch": {
    "l": 0.30422,
    "c": 0.08377,
    "h": 18.4
  },
  "luminance": 0.02538
}

Semantic roles & 50–950 ramp

primary
#51191E
secondary
#3E8781
accent
#DCCF4C
background
#F8F5F5
surface
#F0E9E9
border
#CBC5C5
text
#0C0403
muted
#7D7978

Preview Lab

Preview with #51191E

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

Preview Lab → · Contrast checker → · Palette generator →

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