#51141A#51141A

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

Color values

HEX#51141A
RGBrgb(81, 20, 26)
HSLhsl(354, 60%, 20%)
HSVhsv(354, 75%, 32%)
CMYKcmyk(0%, 75.3%, 67.9%, 68.2%)
CIE-LABlab(17.11, 28.72, 12.28)
CIE-LCHlch(17.11, 31.23, 23.15°)
OKLaboklab(29.65% 0.0854 0.0296)
OKLCHoklch(29.65% 0.09 19.1)
XYZxyz(3.8303, 2.3248, 1.2241)
Luminance0.0232 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

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

Accessibility & contrast

On white

14.34
#51141A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.46
#51141A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #51141A
14.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##51141A#FFFFFF#000000##FFFFFF
##51141A1.0014.341.4614.34
#FFFFFF14.341.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#24221A
Deuteranopia (green-blind)
#342F18
Tritanopia (blue-blind)
#590517
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #51141a;
/* rgb */ color: rgb(81, 20, 26);
/* oklch */ color: oklch(29.7% 0.090 19.1);
Tailwind
colors: {
  custom: {
    50: '#875656',
    500: '#51141a',
    950: '#000000',
  },
}
SCSS
$custom: #51141a;
$custom-light: #875656;
$custom-dark: #000000;
JSON
{
  "hex": "#51141a",
  "rgb": {
    "r": 81,
    "g": 20,
    "b": 26
  },
  "hsl": {
    "h": 354.098,
    "s": 60.396,
    "l": 19.804
  },
  "oklch": {
    "l": 0.29655,
    "c": 0.09039,
    "h": 19.1
  },
  "luminance": 0.02324
}

Semantic roles & 50–950 ramp

primary
#51141A
secondary
#388981
accent
#E4D444
background
#F8F5F5
surface
#F0E9E9
border
#CBC5C5
text
#0C0303
muted
#7D7878

Preview Lab

Preview with #51141A

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

Preview Lab → · Contrast checker → · Palette generator →

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