#51121E#51121E

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

Color values

HEX#51121E
RGBrgb(81, 18, 30)
HSLhsl(349, 64%, 19%)
HSVhsv(349, 78%, 32%)
CMYKcmyk(0%, 77.8%, 63%, 68.2%)
CIE-LABlab(16.87, 29.93, 9.11)
CIE-LCHlch(16.87, 31.29, 16.93°)
OKLaboklab(29.51% 0.0901 0.0226)
OKLCHoklch(29.51% 0.093 14.1)
XYZxyz(3.8444, 2.2762, 1.4650)
Luminance0.0228 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#51121E #125145
analogous
#51123E #51121E #512612
triadic
#51121E #1E5112 #121E51
tetradic
#51121E #3E5112 #125145 #261251
square
#51121E #3E5112 #125145 #261251
split-complementary
#51121E #125126 #123E51
monochromatic
#190609 #1F070B #51121E #831D31 #B52843

Accessibility & contrast

On white

14.43
#51121E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.46
#51121E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #51121E
14.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##51121E#FFFFFF#000000##FFFFFF
##51121E1.0014.431.4614.43
#FFFFFF14.431.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#22211E
Deuteranopia (green-blind)
#322E1C
Tritanopia (blue-blind)
#590417
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #51121e;
/* rgb */ color: rgb(81, 18, 30);
/* oklch */ color: oklch(29.5% 0.093 14.1);
Tailwind
colors: {
  custom: {
    50: '#875559',
    500: '#51121e',
    950: '#000000',
  },
}
SCSS
$custom: #51121e;
$custom-light: #875559;
$custom-dark: #000000;
JSON
{
  "hex": "#51121e",
  "rgb": {
    "r": 81,
    "g": 18,
    "b": 30
  },
  "hsl": {
    "h": 348.571,
    "s": 63.636,
    "l": 19.412
  },
  "oklch": {
    "l": 0.29512,
    "c": 0.09286,
    "h": 14.1
  },
  "luminance": 0.02276
}

Semantic roles & 50–950 ramp

primary
#51121E
secondary
#358A7A
accent
#E7C741
background
#F8F5F5
surface
#F0E9E9
border
#CBC5C5
text
#0C0303
muted
#7D7878

Preview Lab

Preview with #51121E

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

Preview Lab → · Contrast checker → · Palette generator →

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