#51101F#51101F

#51101F is a dark, moderate red. Relative luminance 0.022; OKLCH L 29.3% C 0.095 H 12.1°. Best body text is #FFFFFF at 14.54:1 contrast (WCAG AA passes).

Color values

HEX#51101F
RGBrgb(81, 16, 31)
HSLhsl(346, 67%, 19%)
HSVhsv(346, 80%, 32%)
CMYKcmyk(0%, 80.2%, 61.7%, 68.2%)
CIE-LABlab(16.60, 30.85, 8.02)
CIE-LCHlch(16.60, 31.87, 14.57°)
OKLaboklab(29.32% 0.0932 0.02)
OKLCHoklch(29.32% 0.095 12.1)
XYZxyz(3.8263, 2.2194, 1.5230)
Luminance0.0222 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#51101F #105142
analogous
#511040 #51101F #512210
triadic
#51101F #1F5110 #101F51
tetradic
#51101F #405110 #105142 #221051
square
#51101F #405110 #105142 #221051
split-complementary
#51101F #105122 #104051
monochromatic
#1A050A #1E060B #51101F #841A33 #B72446

Accessibility & contrast

On white

14.54
#51101F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.44
#51101F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #51101F
14.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##51101F#FFFFFF#000000##FFFFFF
##51101F1.0014.541.4414.54
#FFFFFF14.541.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.541.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #51101f;
/* rgb */ color: rgb(81, 16, 31);
/* oklch */ color: oklch(29.3% 0.095 12.1);
Tailwind
colors: {
  custom: {
    50: '#87545a',
    500: '#51101f',
    950: '#000000',
  },
}
SCSS
$custom: #51101f;
$custom-light: #87545a;
$custom-dark: #000000;
JSON
{
  "hex": "#51101f",
  "rgb": {
    "r": 81,
    "g": 16,
    "b": 31
  },
  "hsl": {
    "h": 346.154,
    "s": 67.01,
    "l": 19.02
  },
  "oklch": {
    "l": 0.29316,
    "c": 0.09534,
    "h": 12.1
  },
  "luminance": 0.02219
}

Semantic roles & 50–950 ramp

primary
#51101F
secondary
#328B76
accent
#EAC23E
background
#F8F5F5
surface
#F0E9E9
border
#CBC5C5
text
#0C0303
muted
#7D7878

Preview Lab

Preview with #51101F

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

Preview Lab → · Contrast checker → · Palette generator →

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