#51191F#51191F

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

Color values

HEX#51191F
RGBrgb(81, 25, 31)
HSLhsl(354, 53%, 21%)
HSVhsv(354, 69%, 32%)
CMYKcmyk(0%, 69.1%, 61.7%, 68.2%)
CIE-LABlab(18.12, 26.70, 10.07)
CIE-LCHlch(18.12, 28.53, 20.66°)
OKLaboklab(30.45% 0.0799 0.0249)
OKLCHoklch(30.45% 0.084 17.3)
XYZxyz(3.9886, 2.5440, 1.5771)
Luminance0.0254 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#51191F #19514B
analogous
#51193B #51191F #512F19
triadic
#51191F #1F5119 #191F51
tetradic
#51191F #3B5119 #19514B #2F1951
square
#51191F #3B5119 #19514B #2F1951
split-complementary
#51191F #19512F #193B51
monochromatic
#170709 #220B0D #51191F #802731 #AF3643

Accessibility & contrast

On white

13.92
#51191F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #51191F
13.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##51191F#FFFFFF#000000##FFFFFF
##51191F1.0013.921.5113.92
#FFFFFF13.921.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.921.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #51191f;
/* rgb */ color: rgb(81, 25, 31);
/* oklch */ color: oklch(30.4% 0.084 17.3);
Tailwind
colors: {
  custom: {
    50: '#86595a',
    500: '#51191f',
    950: '#000000',
  },
}
SCSS
$custom: #51191f;
$custom-light: #86595a;
$custom-dark: #000000;
JSON
{
  "hex": "#51191f",
  "rgb": {
    "r": 81,
    "g": 25,
    "b": 31
  },
  "hsl": {
    "h": 353.571,
    "s": 52.83,
    "l": 20.784
  },
  "oklch": {
    "l": 0.30446,
    "c": 0.08374,
    "h": 17.3
  },
  "luminance": 0.02544
}

Semantic roles & 50–950 ramp

primary
#51191F
secondary
#3E8780
accent
#DCCD4C
background
#F8F5F5
surface
#F0E9E9
border
#CBC5C5
text
#0C0403
muted
#7D7978

Preview Lab

Preview with #51191F

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

Preview Lab → · Contrast checker → · Palette generator →

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