#51151D#51151D

#51151D is a dark, moderate red. Relative luminance 0.024; OKLCH L 29.9% C 0.089 H 16.8°. Best body text is #FFFFFF at 14.24:1 contrast (WCAG AA passes).

Color values

HEX#51151D
RGBrgb(81, 21, 29)
HSLhsl(352, 59%, 20%)
HSVhsv(352, 74%, 32%)
CMYKcmyk(0%, 74.1%, 64.2%, 68.2%)
CIE-LABlab(17.34, 28.49, 10.45)
CIE-LCHlch(17.34, 30.35, 20.15°)
OKLaboklab(29.85% 0.0853 0.0257)
OKLCHoklch(29.85% 0.089 16.8)
XYZxyz(3.8836, 2.3749, 1.4161)
Luminance0.0237 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#51151D #155149
analogous
#51153B #51151D #512B15
triadic
#51151D #1D5115 #151D51
tetradic
#51151D #3B5115 #155149 #2B1551
square
#51151D #3B5115 #155149 #2B1551
split-complementary
#51151D #15512B #153B51
monochromatic
#180609 #20080C #51151D #82222E #B22E40

Accessibility & contrast

On white

14.24
#51151D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.47
#51151D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #51151D
14.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##51151D#FFFFFF#000000##FFFFFF
##51151D1.0014.241.4714.24
#FFFFFF14.241.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#24231D
Deuteranopia (green-blind)
#342F1B
Tritanopia (blue-blind)
#590818
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #51151d;
/* rgb */ color: rgb(81, 21, 29);
/* oklch */ color: oklch(29.9% 0.089 16.8);
Tailwind
colors: {
  custom: {
    50: '#865758',
    500: '#51151d',
    950: '#000000',
  },
}
SCSS
$custom: #51151d;
$custom-light: #865758;
$custom-dark: #000000;
JSON
{
  "hex": "#51151d",
  "rgb": {
    "r": 81,
    "g": 21,
    "b": 29
  },
  "hsl": {
    "h": 352,
    "s": 58.824,
    "l": 20
  },
  "oklch": {
    "l": 0.29853,
    "c": 0.08908,
    "h": 16.8
  },
  "luminance": 0.02374
}

Semantic roles & 50–950 ramp

primary
#51151D
secondary
#39897E
accent
#E2CD46
background
#F8F5F5
surface
#F0E9E9
border
#CBC5C5
text
#0C0303
muted
#7D7878

Preview Lab

Preview with #51151D

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

Preview Lab → · Contrast checker → · Palette generator →

#51151D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva