#51141C#51141C

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

Color values

HEX#51141C
RGBrgb(81, 20, 28)
HSLhsl(352, 60%, 20%)
HSVhsv(352, 75%, 32%)
CMYKcmyk(0%, 75.3%, 65.4%, 68.2%)
CIE-LABlab(17.15, 28.88, 10.91)
CIE-LCHlch(17.15, 30.87, 20.70°)
OKLaboklab(29.7% 0.0863 0.0267)
OKLCHoklch(29.7% 0.09 17.2)
XYZxyz(3.8535, 2.3340, 1.3460)
Luminance0.0233 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#51141C #145149
analogous
#51143B #51141C #512B14
triadic
#51141C #1C5114 #141C51
tetradic
#51141C #3B5114 #145149 #2B1451
square
#51141C #3B5114 #145149 #2B1451
split-complementary
#51141C #14512B #143B51
monochromatic
#190608 #20080B #51141C #82202D #B32C3E

Accessibility & contrast

On white

14.32
#51141C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #51141C
14.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##51141C#FFFFFF#000000##FFFFFF
##51141C1.0014.321.4714.32
#FFFFFF14.321.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#24221C
Deuteranopia (green-blind)
#332F1A
Tritanopia (blue-blind)
#590617
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #51141c;
/* rgb */ color: rgb(81, 20, 28);
/* oklch */ color: oklch(29.7% 0.090 17.2);
Tailwind
colors: {
  custom: {
    50: '#875657',
    500: '#51141c',
    950: '#000000',
  },
}
SCSS
$custom: #51141c;
$custom-light: #875657;
$custom-dark: #000000;
JSON
{
  "hex": "#51141c",
  "rgb": {
    "r": 81,
    "g": 20,
    "b": 28
  },
  "hsl": {
    "h": 352.131,
    "s": 60.396,
    "l": 19.804
  },
  "oklch": {
    "l": 0.29702,
    "c": 0.09034,
    "h": 17.2
  },
  "luminance": 0.02333
}

Semantic roles & 50–950 ramp

primary
#51141C
secondary
#38897E
accent
#E4CF44
background
#F8F5F5
surface
#F0E9E9
border
#CBC5C5
text
#0C0303
muted
#7D7878

Preview Lab

Preview with #51141C

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

Preview Lab → · Contrast checker → · Palette generator →

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