#51131A#51131A

#51131A is a dark, moderate red. Relative luminance 0.023; OKLCH L 29.5% C 0.092 H 18.6°. Best body text is #FFFFFF at 14.40:1 contrast (WCAG AA passes).

Color values

HEX#51131A
RGBrgb(81, 19, 26)
HSLhsl(353, 62%, 20%)
HSVhsv(353, 77%, 32%)
CMYKcmyk(0%, 76.5%, 67.9%, 68.2%)
CIE-LABlab(16.94, 29.17, 12.06)
CIE-LCHlch(16.94, 31.57, 22.46°)
OKLaboklab(29.53% 0.0868 0.0292)
OKLCHoklch(29.53% 0.092 18.6)
XYZxyz(3.8130, 2.2902, 1.2184)
Luminance0.0229 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#51131A #13514A
analogous
#511339 #51131A #512B13
triadic
#51131A #1A5113 #131A51
tetradic
#51131A #395113 #13514A #2B1351
square
#51131A #395113 #13514A #2B1351
split-complementary
#51131A #13512B #133951
monochromatic
#190608 #1F070A #51131A #831F2A #B42A3A

Accessibility & contrast

On white

14.40
#51131A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #51131A
14.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##51131A#FFFFFF#000000##FFFFFF
##51131A1.0014.401.4614.40
#FFFFFF14.401.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#24211A
Deuteranopia (green-blind)
#332F18
Tritanopia (blue-blind)
#590416
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #51131a;
/* rgb */ color: rgb(81, 19, 26);
/* oklch */ color: oklch(29.5% 0.092 18.6);
Tailwind
colors: {
  custom: {
    50: '#875656',
    500: '#51131a',
    950: '#000000',
  },
}
SCSS
$custom: #51131a;
$custom-light: #875656;
$custom-dark: #000000;
JSON
{
  "hex": "#51131a",
  "rgb": {
    "r": 81,
    "g": 19,
    "b": 26
  },
  "hsl": {
    "h": 353.226,
    "s": 62,
    "l": 19.608
  },
  "oklch": {
    "l": 0.29532,
    "c": 0.09159,
    "h": 18.6
  },
  "luminance": 0.0229
}

Semantic roles & 50–950 ramp

primary
#51131A
secondary
#368A80
accent
#E5D343
background
#F8F5F5
surface
#F0E9E9
border
#CBC5C5
text
#0C0303
muted
#7D7878

Preview Lab

Preview with #51131A

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

Preview Lab → · Contrast checker → · Palette generator →

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