#51141D#51141D

#51141D is a dark, moderate red. Relative luminance 0.023; OKLCH L 29.7% C 0.090 H 16.2°. Best body text is #FFFFFF at 14.31:1 contrast (WCAG AA passes).

Color values

HEX#51141D
RGBrgb(81, 20, 29)
HSLhsl(351, 60%, 20%)
HSVhsv(351, 75%, 32%)
CMYKcmyk(0%, 75.3%, 64.2%, 68.2%)
CIE-LABlab(17.17, 28.96, 10.23)
CIE-LCHlch(17.17, 30.71, 19.46°)
OKLaboklab(29.73% 0.0868 0.0252)
OKLCHoklch(29.73% 0.09 16.2)
XYZxyz(3.8656, 2.3389, 1.4101)
Luminance0.0234 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#51141D #145148
analogous
#51143B #51141D #512A14
triadic
#51141D #1D5114 #141D51
tetradic
#51141D #3B5114 #145148 #2A1451
square
#51141D #3B5114 #145148 #2A1451
split-complementary
#51141D #14512A #143B51
monochromatic
#190609 #20080B #51141D #82202F #B32C40

Accessibility & contrast

On white

14.31
#51141D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.47
#51141D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #51141D
14.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##51141D#FFFFFF#000000##FFFFFF
##51141D1.0014.311.4714.31
#FFFFFF14.311.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.311.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #51141d;
/* rgb */ color: rgb(81, 20, 29);
/* oklch */ color: oklch(29.7% 0.090 16.2);
Tailwind
colors: {
  custom: {
    50: '#865658',
    500: '#51141d',
    950: '#000000',
  },
}
SCSS
$custom: #51141d;
$custom-light: #865658;
$custom-dark: #000000;
JSON
{
  "hex": "#51141d",
  "rgb": {
    "r": 81,
    "g": 20,
    "b": 29
  },
  "hsl": {
    "h": 351.148,
    "s": 60.396,
    "l": 19.804
  },
  "oklch": {
    "l": 0.29727,
    "c": 0.09034,
    "h": 16.2
  },
  "luminance": 0.02338
}

Semantic roles & 50–950 ramp

primary
#51141D
secondary
#38897D
accent
#E4CC44
background
#F8F5F5
surface
#F0E9E9
border
#CBC5C5
text
#0C0303
muted
#7D7878

Preview Lab

Preview with #51141D

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

Preview Lab → · Contrast checker → · Palette generator →

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