#51201B#51201B

#51201B is a dark, moderate red. Relative luminance 0.029; OKLCH L 31.4% C 0.075 H 28.0°. Best body text is #FFFFFF at 13.36:1 contrast (WCAG AA passes).

Color values

HEX#51201B
RGBrgb(81, 32, 27)
HSLhsl(6, 50%, 21%)
HSVhsv(6, 67%, 32%)
CMYKcmyk(0%, 60.5%, 66.7%, 68.2%)
CIE-LABlab(19.48, 22.53, 14.63)
CIE-LCHlch(19.48, 26.86, 33.00°)
OKLaboklab(31.45% 0.0661 0.0351)
OKLCHoklch(31.45% 0.075 28)
XYZxyz(4.1080, 2.8620, 1.3728)
Luminance0.0286 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#51201B #1B4C51
analogous
#511B31 #51201B #513B1B
triadic
#51201B #1B5120 #201B51
tetradic
#51201B #31511B #1B4C51 #3B1B51
square
#51201B #31511B #1B4C51 #3B1B51
split-complementary
#51201B #1B513B #1B3151
monochromatic
#170908 #230E0C #51201B #7F322A #AD443A

Accessibility & contrast

On white

13.36
#51201B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.57
#51201B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #51201B
13.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##51201B#FFFFFF#000000##FFFFFF
##51201B1.0013.361.5713.36
#FFFFFF13.361.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C291A
Deuteranopia (green-blind)
#38331A
Tritanopia (blue-blind)
#59171F
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #51201b;
/* rgb */ color: rgb(81, 32, 27);
/* oklch */ color: oklch(31.4% 0.075 28.0);
Tailwind
colors: {
  custom: {
    50: '#865d57',
    500: '#51201b',
    950: '#000000',
  },
}
SCSS
$custom: #51201b;
$custom-light: #865d57;
$custom-dark: #000000;
JSON
{
  "hex": "#51201b",
  "rgb": {
    "r": 81,
    "g": 32,
    "b": 27
  },
  "hsl": {
    "h": 5.556,
    "s": 50,
    "l": 21.176
  },
  "oklch": {
    "l": 0.31447,
    "c": 0.07481,
    "h": 28
  },
  "luminance": 0.02861
}

Semantic roles & 50–950 ramp

primary
#51201B
secondary
#418087
accent
#CDDA4E
background
#F8F5F5
surface
#F0E9E9
border
#CBC5C5
text
#0C0403
muted
#7D7978

Preview Lab

Preview with #51201B

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

Preview Lab → · Contrast checker → · Palette generator →

#51201B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva