#51131D#51131D

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

Color values

HEX#51131D
RGBrgb(81, 19, 29)
HSLhsl(350, 62%, 20%)
HSVhsv(350, 77%, 32%)
CMYKcmyk(0%, 76.5%, 64.2%, 68.2%)
CIE-LABlab(17.01, 29.41, 10.01)
CIE-LCHlch(17.01, 31.07, 18.80°)
OKLaboklab(29.6% 0.0882 0.0246)
OKLCHoklch(29.6% 0.092 15.6)
XYZxyz(3.8484, 2.3043, 1.4043)
Luminance0.0230 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#51131D #135147
analogous
#51133C #51131D #512813
triadic
#51131D #1D5113 #131D51
tetradic
#51131D #3C5113 #135147 #281351
square
#51131D #3C5113 #135147 #281351
split-complementary
#51131D #135128 #133C51
monochromatic
#190609 #1F070B #51131D #831F2F #B42A40

Accessibility & contrast

On white

14.38
#51131D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #51131D
14.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##51131D#FFFFFF#000000##FFFFFF
##51131D1.0014.381.4614.38
#FFFFFF14.381.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#23221D
Deuteranopia (green-blind)
#332F1B
Tritanopia (blue-blind)
#590517
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #51131d;
/* rgb */ color: rgb(81, 19, 29);
/* oklch */ color: oklch(29.6% 0.092 15.6);
Tailwind
colors: {
  custom: {
    50: '#875658',
    500: '#51131d',
    950: '#000000',
  },
}
SCSS
$custom: #51131d;
$custom-light: #875658;
$custom-dark: #000000;
JSON
{
  "hex": "#51131d",
  "rgb": {
    "r": 81,
    "g": 19,
    "b": 29
  },
  "hsl": {
    "h": 350.323,
    "s": 62,
    "l": 19.608
  },
  "oklch": {
    "l": 0.29605,
    "c": 0.09159,
    "h": 15.6
  },
  "luminance": 0.02304
}

Semantic roles & 50–950 ramp

primary
#51131D
secondary
#368A7C
accent
#E5CB43
background
#F8F5F5
surface
#F0E9E9
border
#CBC5C5
text
#0C0303
muted
#7D7878

Preview Lab

Preview with #51131D

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

Preview Lab → · Contrast checker → · Palette generator →

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