#51140F#51140F

#51140F is a dark, moderate red. Relative luminance 0.023; OKLCH L 29.5% C 0.092 H 28.6°. Best body text is #FFFFFF at 14.42:1 contrast (WCAG AA passes).

Color values

HEX#51140F
RGBrgb(81, 20, 15)
HSLhsl(5, 69%, 19%)
HSVhsv(5, 81%, 32%)
CMYKcmyk(0%, 75.3%, 81.5%, 68.2%)
CIE-LABlab(16.92, 28.04, 19.20)
CIE-LCHlch(16.92, 33.98, 34.41°)
OKLaboklab(29.45% 0.0806 0.044)
OKLCHoklch(29.45% 0.092 28.6)
XYZxyz(3.7301, 2.2847, 0.6964)
Luminance0.0228 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#51140F #0F4C51
analogous
#510F2B #51140F #51350F
triadic
#51140F #0F5114 #140F51
tetradic
#51140F #2B510F #0F4C51 #350F51
square
#51140F #2B510F #0F4C51 #350F51
split-complementary
#51140F #0F5135 #0F2B51
monochromatic
#1A0605 #1D0705 #51140F #852119 #B82D22

Accessibility & contrast

On white

14.42
#51140F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.46
#51140F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #51140F
14.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##51140F#FFFFFF#000000##FFFFFF
##51140F1.0014.421.4614.42
#FFFFFF14.421.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#25210E
Deuteranopia (green-blind)
#352F0D
Tritanopia (blue-blind)
#5A0313
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #51140f;
/* rgb */ color: rgb(81, 20, 15);
/* oklch */ color: oklch(29.5% 0.092 28.6);
Tailwind
colors: {
  custom: {
    50: '#88564e',
    500: '#51140f',
    950: '#000000',
  },
}
SCSS
$custom: #51140f;
$custom-light: #88564e;
$custom-dark: #000000;
JSON
{
  "hex": "#51140f",
  "rgb": {
    "r": 81,
    "g": 20,
    "b": 15
  },
  "hsl": {
    "h": 4.545,
    "s": 68.75,
    "l": 18.824
  },
  "oklch": {
    "l": 0.29451,
    "c": 0.09184,
    "h": 28.6
  },
  "luminance": 0.02284
}

Semantic roles & 50–950 ramp

primary
#51140F
secondary
#31848B
accent
#DEEC3C
background
#F8F5F4
surface
#F0E9E7
border
#CBC5C3
text
#0C0301
muted
#7D7877

Preview Lab

Preview with #51140F

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

Preview Lab → · Contrast checker → · Palette generator →

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