#51120F#51120F

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

Color values

HEX#51120F
RGBrgb(81, 18, 15)
HSLhsl(3, 69%, 19%)
HSVhsv(3, 81%, 32%)
CMYKcmyk(0%, 77.8%, 81.5%, 68.2%)
CIE-LABlab(16.59, 28.94, 18.80)
CIE-LCHlch(16.59, 34.51, 33.01°)
OKLaboklab(29.21% 0.0835 0.0432)
OKLCHoklch(29.21% 0.094 27.4)
XYZxyz(3.6963, 2.2170, 0.6851)
Luminance0.0222 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#51120F #0F4E51
analogous
#510F2D #51120F #51330F
triadic
#51120F #0F5112 #120F51
tetradic
#51120F #2D510F #0F4E51 #330F51
square
#51120F #2D510F #0F4E51 #330F51
split-complementary
#51120F #0F5133 #0F2D51
monochromatic
#1A0605 #1D0705 #51120F #851D19 #B82922

Accessibility & contrast

On white

14.55
#51120F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #51120F
14.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##51120F#FFFFFF#000000##FFFFFF
##51120F1.0014.551.4414.55
#FFFFFF14.551.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#24200E
Deuteranopia (green-blind)
#342E0D
Tritanopia (blue-blind)
#5A0012
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #51120f;
/* rgb */ color: rgb(81, 18, 15);
/* oklch */ color: oklch(29.2% 0.094 27.4);
Tailwind
colors: {
  custom: {
    50: '#88554e',
    500: '#51120f',
    950: '#000000',
  },
}
SCSS
$custom: #51120f;
$custom-light: #88554e;
$custom-dark: #000000;
JSON
{
  "hex": "#51120f",
  "rgb": {
    "r": 81,
    "g": 18,
    "b": 15
  },
  "hsl": {
    "h": 2.727,
    "s": 68.75,
    "l": 18.824
  },
  "oklch": {
    "l": 0.29205,
    "c": 0.09396,
    "h": 27.4
  },
  "luminance": 0.02216
}

Semantic roles & 50–950 ramp

primary
#51120F
secondary
#31878B
accent
#E4EC3C
background
#F8F5F4
surface
#F0E9E7
border
#CBC5C3
text
#0C0301
muted
#7D7877

Preview Lab

Preview with #51120F

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

Preview Lab → · Contrast checker → · Palette generator →

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