#51111C#51111C

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

Color values

HEX#51111C
RGBrgb(81, 17, 28)
HSLhsl(350, 65%, 19%)
HSVhsv(350, 79%, 32%)
CMYKcmyk(0%, 79%, 65.4%, 68.2%)
CIE-LABlab(16.67, 30.19, 10.28)
CIE-LCHlch(16.67, 31.90, 18.80°)
OKLaboklab(29.35% 0.0905 0.0252)
OKLCHoklch(29.35% 0.094 15.6)
XYZxyz(3.8038, 2.2346, 1.3294)
Luminance0.0223 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#51111C #115146
analogous
#51113C #51111C #512611
triadic
#51111C #1C5111 #111C51
tetradic
#51111C #3C5111 #115146 #261151
square
#51111C #3C5111 #115146 #261151
split-complementary
#51111C #115126 #113C51
monochromatic
#190509 #1E060B #51111C #841C2D #B6263F

Accessibility & contrast

On white

14.51
#51111C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #51111C
14.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##51111C#FFFFFF#000000##FFFFFF
##51111C1.0014.511.4514.51
#FFFFFF14.511.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#22211C
Deuteranopia (green-blind)
#322E1A
Tritanopia (blue-blind)
#590216
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #51111c;
/* rgb */ color: rgb(81, 17, 28);
/* oklch */ color: oklch(29.3% 0.094 15.6);
Tailwind
colors: {
  custom: {
    50: '#875557',
    500: '#51111c',
    950: '#000000',
  },
}
SCSS
$custom: #51111c;
$custom-light: #875557;
$custom-dark: #000000;
JSON
{
  "hex": "#51111c",
  "rgb": {
    "r": 81,
    "g": 17,
    "b": 28
  },
  "hsl": {
    "h": 349.688,
    "s": 65.306,
    "l": 19.216
  },
  "oklch": {
    "l": 0.29347,
    "c": 0.09396,
    "h": 15.6
  },
  "luminance": 0.02234
}

Semantic roles & 50–950 ramp

primary
#51111C
secondary
#348A7B
accent
#E8CB40
background
#F8F5F5
surface
#F0E9E9
border
#CBC5C5
text
#0C0303
muted
#7D7878

Preview Lab

Preview with #51111C

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

Preview Lab → · Contrast checker → · Palette generator →

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