#51121F#51121F

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

Color values

HEX#51121F
RGBrgb(81, 18, 31)
HSLhsl(348, 64%, 19%)
HSVhsv(348, 78%, 32%)
CMYKcmyk(0%, 77.8%, 61.7%, 68.2%)
CIE-LABlab(16.90, 30.02, 8.43)
CIE-LCHlch(16.90, 31.18, 15.68°)
OKLaboklab(29.54% 0.0905 0.021)
OKLCHoklch(29.54% 0.093 13.1)
XYZxyz(3.8573, 2.2814, 1.5333)
Luminance0.0228 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#51121F #125144
analogous
#51123F #51121F #512512
triadic
#51121F #1F5112 #121F51
tetradic
#51121F #3F5112 #125144 #251251
square
#51121F #3F5112 #125144 #251251
split-complementary
#51121F #125125 #123F51
monochromatic
#19060A #1F070C #51121F #831D32 #B52845

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##51121F#FFFFFF#000000##FFFFFF
##51121F1.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)
#22211F
Deuteranopia (green-blind)
#322E1D
Tritanopia (blue-blind)
#590417
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #51121f;
/* rgb */ color: rgb(81, 18, 31);
/* oklch */ color: oklch(29.5% 0.093 13.1);
Tailwind
colors: {
  custom: {
    50: '#86555a',
    500: '#51121f',
    950: '#000000',
  },
}
SCSS
$custom: #51121f;
$custom-light: #86555a;
$custom-dark: #000000;
JSON
{
  "hex": "#51121f",
  "rgb": {
    "r": 81,
    "g": 18,
    "b": 31
  },
  "hsl": {
    "h": 347.619,
    "s": 63.636,
    "l": 19.412
  },
  "oklch": {
    "l": 0.29539,
    "c": 0.09294,
    "h": 13.1
  },
  "luminance": 0.02281
}

Semantic roles & 50–950 ramp

primary
#51121F
secondary
#358A78
accent
#E7C541
background
#F8F5F5
surface
#F0E9E9
border
#CBC5C5
text
#0C0303
muted
#7D7878

Preview Lab

Preview with #51121F

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

Preview Lab → · Contrast checker → · Palette generator →

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