#51141B#51141B

#51141B is a dark, moderate red. Relative luminance 0.023; OKLCH L 29.7% C 0.090 H 18.2°. Best body text is #FFFFFF at 14.33:1 contrast (WCAG AA passes).

Color values

HEX#51141B
RGBrgb(81, 20, 27)
HSLhsl(353, 60%, 20%)
HSVhsv(353, 75%, 32%)
CMYKcmyk(0%, 75.3%, 66.7%, 68.2%)
CIE-LABlab(17.13, 28.80, 11.59)
CIE-LCHlch(17.13, 31.04, 21.93°)
OKLaboklab(29.68% 0.0859 0.0282)
OKLCHoklch(29.68% 0.09 18.2)
XYZxyz(3.8417, 2.3293, 1.2840)
Luminance0.0233 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#51141B #14514A
analogous
#511439 #51141B #512C14
triadic
#51141B #1B5114 #141B51
tetradic
#51141B #395114 #14514A #2C1451
square
#51141B #395114 #14514A #2C1451
split-complementary
#51141B #14512C #143951
monochromatic
#190608 #20080B #51141B #82202B #B32C3C

Accessibility & contrast

On white

14.33
#51141B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.47
#51141B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #51141B
14.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##51141B#FFFFFF#000000##FFFFFF
##51141B1.0014.331.4714.33
#FFFFFF14.331.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#24221B
Deuteranopia (green-blind)
#342F19
Tritanopia (blue-blind)
#590617
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #51141b;
/* rgb */ color: rgb(81, 20, 27);
/* oklch */ color: oklch(29.7% 0.090 18.2);
Tailwind
colors: {
  custom: {
    50: '#875657',
    500: '#51141b',
    950: '#000000',
  },
}
SCSS
$custom: #51141b;
$custom-light: #875657;
$custom-dark: #000000;
JSON
{
  "hex": "#51141b",
  "rgb": {
    "r": 81,
    "g": 20,
    "b": 27
  },
  "hsl": {
    "h": 353.115,
    "s": 60.396,
    "l": 19.804
  },
  "oklch": {
    "l": 0.29678,
    "c": 0.09035,
    "h": 18.2
  },
  "luminance": 0.02329
}

Semantic roles & 50–950 ramp

primary
#51141B
secondary
#388980
accent
#E4D144
background
#F8F5F5
surface
#F0E9E9
border
#CBC5C5
text
#0C0303
muted
#7D7878

Preview Lab

Preview with #51141B

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

Preview Lab → · Contrast checker → · Palette generator →

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