#51121A#51121A

#51121A is a dark, moderate red. Relative luminance 0.023; OKLCH L 29.4% C 0.093 H 18.0°. Best body text is #FFFFFF at 14.47:1 contrast (WCAG AA passes).

Color values

HEX#51121A
RGBrgb(81, 18, 26)
HSLhsl(352, 64%, 19%)
HSVhsv(352, 78%, 32%)
CMYKcmyk(0%, 77.8%, 67.9%, 68.2%)
CIE-LABlab(16.78, 29.61, 11.86)
CIE-LCHlch(16.78, 31.90, 21.82°)
OKLaboklab(29.41% 0.0882 0.0287)
OKLCHoklch(29.41% 0.093 18)
XYZxyz(3.7965, 2.2571, 1.2128)
Luminance0.0226 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#51121A #125149
analogous
#51123A #51121A #512A12
triadic
#51121A #1A5112 #121A51
tetradic
#51121A #3A5112 #125149 #2A1251
square
#51121A #3A5112 #125149 #2A1251
split-complementary
#51121A #12512A #123A51
monochromatic
#190608 #1F070A #51121A #831D2A #B5283A

Accessibility & contrast

On white

14.47
#51121A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #51121A
14.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##51121A#FFFFFF#000000##FFFFFF
##51121A1.0014.471.4514.47
#FFFFFF14.471.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.471.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #51121a;
/* rgb */ color: rgb(81, 18, 26);
/* oklch */ color: oklch(29.4% 0.093 18.0);
Tailwind
colors: {
  custom: {
    50: '#875556',
    500: '#51121a',
    950: '#000000',
  },
}
SCSS
$custom: #51121a;
$custom-light: #875556;
$custom-dark: #000000;
JSON
{
  "hex": "#51121a",
  "rgb": {
    "r": 81,
    "g": 18,
    "b": 26
  },
  "hsl": {
    "h": 352.381,
    "s": 63.636,
    "l": 19.412
  },
  "oklch": {
    "l": 0.29414,
    "c": 0.09278,
    "h": 18
  },
  "luminance": 0.02257
}

Semantic roles & 50–950 ramp

primary
#51121A
secondary
#358A7F
accent
#E7D241
background
#F8F5F5
surface
#F0E9E9
border
#CBC5C5
text
#0C0303
muted
#7D7878

Preview Lab

Preview with #51121A

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

Preview Lab → · Contrast checker → · Palette generator →

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