#51111A#51111A

#51111A is a dark, moderate red. Relative luminance 0.022; OKLCH L 29.3% C 0.094 H 17.5°. Best body text is #FFFFFF at 14.53:1 contrast (WCAG AA passes).

Color values

HEX#51111A
RGBrgb(81, 17, 26)
HSLhsl(352, 65%, 19%)
HSVhsv(352, 79%, 32%)
CMYKcmyk(0%, 79%, 67.9%, 68.2%)
CIE-LABlab(16.63, 30.04, 11.66)
CIE-LCHlch(16.63, 32.22, 21.21°)
OKLaboklab(29.3% 0.0896 0.0282)
OKLCHoklch(29.3% 0.094 17.5)
XYZxyz(3.7806, 2.2254, 1.2075)
Luminance0.0222 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#51111A #115148
analogous
#51113A #51111A #512811
triadic
#51111A #1A5111 #111A51
tetradic
#51111A #3A5111 #115148 #281151
square
#51111A #3A5111 #115148 #281151
split-complementary
#51111A #115128 #113A51
monochromatic
#190508 #1E060A #51111A #841C2A #B6263A

Accessibility & contrast

On white

14.53
#51111A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.45
#51111A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #51111A
14.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##51111A#FFFFFF#000000##FFFFFF
##51111A1.0014.531.4514.53
#FFFFFF14.531.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#22211A
Deuteranopia (green-blind)
#332E18
Tritanopia (blue-blind)
#590115
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #51111a;
/* rgb */ color: rgb(81, 17, 26);
/* oklch */ color: oklch(29.3% 0.094 17.5);
Tailwind
colors: {
  custom: {
    50: '#875556',
    500: '#51111a',
    950: '#000000',
  },
}
SCSS
$custom: #51111a;
$custom-light: #875556;
$custom-dark: #000000;
JSON
{
  "hex": "#51111a",
  "rgb": {
    "r": 81,
    "g": 17,
    "b": 26
  },
  "hsl": {
    "h": 351.563,
    "s": 65.306,
    "l": 19.216
  },
  "oklch": {
    "l": 0.29299,
    "c": 0.09394,
    "h": 17.5
  },
  "luminance": 0.02225
}

Semantic roles & 50–950 ramp

primary
#51111A
secondary
#348A7E
accent
#E8D140
background
#F8F5F5
surface
#F0E9E8
border
#CBC5C4
text
#0C0303
muted
#7D7878

Preview Lab

Preview with #51111A

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

Preview Lab → · Contrast checker → · Palette generator →

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