#51241A#51241A

#51241A is a dark, moderate red. Relative luminance 0.031; OKLCH L 32.1% C 0.070 H 33.8°. Best body text is #FFFFFF at 12.99:1 contrast (WCAG AA passes).

Color values

HEX#51241A
RGBrgb(81, 36, 26)
HSLhsl(11, 51%, 21%)
HSVhsv(11, 68%, 32%)
CMYKcmyk(0%, 55.6%, 67.9%, 68.2%)
CIE-LABlab(20.39, 20.09, 16.43)
CIE-LCHlch(20.39, 25.95, 39.28°)
OKLaboklab(32.13% 0.0583 0.039)
OKLCHoklch(32.13% 0.07 33.8)
XYZxyz(4.2110, 3.0862, 1.3510)
Luminance0.0309 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#51241A #1A4751
analogous
#511A2B #51241A #513F1A
triadic
#51241A #1A5124 #241A51
tetradic
#51241A #2B511A #1A4751 #3F1A51
square
#51241A #2B511A #1A4751 #3F1A51
split-complementary
#51241A #1A513F #1A2B51
monochromatic
#170A07 #230F0B #51241A #7F3929 #AE4D38

Accessibility & contrast

On white

12.99
#51241A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#51241A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #51241A
12.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##51241A#FFFFFF#000000##FFFFFF
##51241A1.0012.991.6212.99
#FFFFFF12.991.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F2B19
Deuteranopia (green-blind)
#3B3519
Tritanopia (blue-blind)
#591C22
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #51241a;
/* rgb */ color: rgb(81, 36, 26);
/* oklch */ color: oklch(32.1% 0.070 33.8);
Tailwind
colors: {
  custom: {
    50: '#866056',
    500: '#51241a',
    950: '#000000',
  },
}
SCSS
$custom: #51241a;
$custom-light: #866056;
$custom-dark: #000000;
JSON
{
  "hex": "#51241a",
  "rgb": {
    "r": 81,
    "g": 36,
    "b": 26
  },
  "hsl": {
    "h": 10.909,
    "s": 51.402,
    "l": 20.98
  },
  "oklch": {
    "l": 0.32127,
    "c": 0.07016,
    "h": 33.8
  },
  "luminance": 0.03086
}

Semantic roles & 50–950 ramp

primary
#51241A
secondary
#407A87
accent
#C1DB4D
background
#F8F5F5
surface
#F0E9E9
border
#CBC5C5
text
#0C0503
muted
#7D7978

Preview Lab

Preview with #51241A

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

Preview Lab → · Contrast checker → · Palette generator →

#51241A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva