#51111F#51111F

#51111F is a dark, moderate red. Relative luminance 0.022; OKLCH L 29.4% C 0.094 H 12.6°. Best body text is #FFFFFF at 14.48:1 contrast (WCAG AA passes).

Color values

HEX#51111F
RGBrgb(81, 17, 31)
HSLhsl(347, 65%, 19%)
HSVhsv(347, 79%, 32%)
CMYKcmyk(0%, 79%, 61.7%, 68.2%)
CIE-LABlab(16.75, 30.44, 8.22)
CIE-LCHlch(16.75, 31.53, 15.11°)
OKLaboklab(29.43% 0.0919 0.0205)
OKLCHoklch(29.43% 0.094 12.6)
XYZxyz(3.8415, 2.2497, 1.5280)
Luminance0.0225 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#51111F #115143
analogous
#51113F #51111F #512311
triadic
#51111F #1F5111 #111F51
tetradic
#51111F #3F5111 #115143 #231151
square
#51111F #3F5111 #115143 #231151
split-complementary
#51111F #115123 #113F51
monochromatic
#19050A #1E060C #51111F #841C32 #B62646

Accessibility & contrast

On white

14.48
#51111F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.45
#51111F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #51111F
14.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##51111F#FFFFFF#000000##FFFFFF
##51111F1.0014.481.4514.48
#FFFFFF14.481.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#22211F
Deuteranopia (green-blind)
#322E1D
Tritanopia (blue-blind)
#590317
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #51111f;
/* rgb */ color: rgb(81, 17, 31);
/* oklch */ color: oklch(29.4% 0.094 12.6);
Tailwind
colors: {
  custom: {
    50: '#86555a',
    500: '#51111f',
    950: '#000000',
  },
}
SCSS
$custom: #51111f;
$custom-light: #86555a;
$custom-dark: #000000;
JSON
{
  "hex": "#51111f",
  "rgb": {
    "r": 81,
    "g": 17,
    "b": 31
  },
  "hsl": {
    "h": 346.875,
    "s": 65.306,
    "l": 19.216
  },
  "oklch": {
    "l": 0.29425,
    "c": 0.09416,
    "h": 12.6
  },
  "luminance": 0.02249
}

Semantic roles & 50–950 ramp

primary
#51111F
secondary
#348A77
accent
#E8C340
background
#F8F5F5
surface
#F0E9E9
border
#CBC5C5
text
#0C0303
muted
#7D7878

Preview Lab

Preview with #51111F

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

Preview Lab → · Contrast checker → · Palette generator →

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