#51141F#51141F

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

Color values

HEX#51141F
RGBrgb(81, 20, 31)
HSLhsl(349, 60%, 20%)
HSVhsv(349, 75%, 32%)
CMYKcmyk(0%, 75.3%, 61.7%, 68.2%)
CIE-LABlab(17.22, 29.13, 8.86)
CIE-LCHlch(17.22, 30.45, 16.93°)
OKLaboklab(29.78% 0.0877 0.0221)
OKLCHoklch(29.78% 0.09 14.1)
XYZxyz(3.8912, 2.3491, 1.5446)
Luminance0.0235 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#51141F #145146
analogous
#51143E #51141F #512714
triadic
#51141F #1F5114 #141F51
tetradic
#51141F #3E5114 #145146 #271451
square
#51141F #3E5114 #145146 #271451
split-complementary
#51141F #145127 #143E51
monochromatic
#190609 #20080C #51141F #822032 #B32C45

Accessibility & contrast

On white

14.29
#51141F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #51141F
14.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##51141F#FFFFFF#000000##FFFFFF
##51141F1.0014.291.4714.29
#FFFFFF14.291.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#23221F
Deuteranopia (green-blind)
#332F1D
Tritanopia (blue-blind)
#590718
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #51141f;
/* rgb */ color: rgb(81, 20, 31);
/* oklch */ color: oklch(29.8% 0.090 14.1);
Tailwind
colors: {
  custom: {
    50: '#86565a',
    500: '#51141f',
    950: '#000000',
  },
}
SCSS
$custom: #51141f;
$custom-light: #86565a;
$custom-dark: #000000;
JSON
{
  "hex": "#51141f",
  "rgb": {
    "r": 81,
    "g": 20,
    "b": 31
  },
  "hsl": {
    "h": 349.18,
    "s": 60.396,
    "l": 19.804
  },
  "oklch": {
    "l": 0.29778,
    "c": 0.09042,
    "h": 14.1
  },
  "luminance": 0.02349
}

Semantic roles & 50–950 ramp

primary
#51141F
secondary
#38897A
accent
#E4C744
background
#F8F5F5
surface
#F0E9E9
border
#CBC5C5
text
#0C0303
muted
#7D7878

Preview Lab

Preview with #51141F

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

Preview Lab → · Contrast checker → · Palette generator →

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