#51190F#51190F

#51190F is a dark, moderate red. Relative luminance 0.025; OKLCH L 30.1% C 0.086 H 32.3°. Best body text is #FFFFFF at 14.04:1 contrast (WCAG AA passes).

Color values

HEX#51190F
RGBrgb(81, 25, 15)
HSLhsl(9, 69%, 19%)
HSVhsv(9, 81%, 32%)
CMYKcmyk(0%, 69.1%, 81.5%, 68.2%)
CIE-LABlab(17.83, 25.58, 20.31)
CIE-LCHlch(17.83, 32.66, 38.45°)
OKLaboklab(30.14% 0.0729 0.0461)
OKLCHoklch(30.14% 0.086 32.3)
XYZxyz(3.8276, 2.4796, 0.7289)
Luminance0.0248 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#51190F #0F4751
analogous
#510F26 #51190F #513A0F
triadic
#51190F #0F5119 #190F51
tetradic
#51190F #26510F #0F4751 #3A0F51
square
#51190F #26510F #0F4751 #3A0F51
split-complementary
#51190F #0F513A #0F2651
monochromatic
#1A0805 #1D0905 #51190F #852919 #B83922

Accessibility & contrast

On white

14.04
#51190F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.50
#51190F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #51190F
14.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##51190F#FFFFFF#000000##FFFFFF
##51190F1.0014.041.5014.04
#FFFFFF14.041.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF14.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#29240E
Deuteranopia (green-blind)
#36300D
Tritanopia (blue-blind)
#5A0B17
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #51190f;
/* rgb */ color: rgb(81, 25, 15);
/* oklch */ color: oklch(30.1% 0.086 32.3);
Tailwind
colors: {
  custom: {
    50: '#87594e',
    500: '#51190f',
    950: '#000000',
  },
}
SCSS
$custom: #51190f;
$custom-light: #87594e;
$custom-dark: #000000;
JSON
{
  "hex": "#51190f",
  "rgb": {
    "r": 81,
    "g": 25,
    "b": 15
  },
  "hsl": {
    "h": 9.091,
    "s": 68.75,
    "l": 18.824
  },
  "oklch": {
    "l": 0.30135,
    "c": 0.08631,
    "h": 32.3
  },
  "luminance": 0.02479
}

Semantic roles & 50–950 ramp

primary
#51190F
secondary
#317D8B
accent
#D1EC3C
background
#F8F5F4
surface
#F0E9E7
border
#CBC5C3
text
#0C0301
muted
#7D7877

Preview Lab

Preview with #51190F

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

Preview Lab → · Contrast checker → · Palette generator →

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