#51312E#51312E

#51312E is a dark, muted red. Relative luminance 0.041; OKLCH L 35.1% C 0.047 H 25.6°. Best body text is #FFFFFF at 11.48:1 contrast (WCAG AA passes).

Color values

HEX#51312E
RGBrgb(81, 49, 46)
HSLhsl(5, 28%, 25%)
HSVhsv(5, 43%, 32%)
CMYKcmyk(0%, 39.5%, 43.2%, 68.2%)
CIE-LABlab(24.14, 14.14, 8.00)
CIE-LCHlch(24.14, 16.24, 29.49°)
OKLaboklab(35.14% 0.0427 0.0205)
OKLCHoklch(35.14% 0.047 25.6)
XYZxyz(4.9850, 4.1436, 3.1215)
Luminance0.0414 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#51312E #2E4E51
analogous
#512E3D #51312E #51432E
triadic
#51312E #2E5131 #312E51
tetradic
#51312E #3D512E #2E4E51 #432E51
square
#51312E #3D512E #2E4E51 #432E51
split-complementary
#51312E #2E5143 #2E3D51
monochromatic
#140C0B #2A1918 #51312E #784944 #9F605A

Accessibility & contrast

On white

11.48
#51312E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.83
#51312E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #51312E
11.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##51312E#FFFFFF#000000##FFFFFF
##51312E1.0011.481.8311.48
#FFFFFF11.481.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#38362E
Deuteranopia (green-blind)
#3F3C2E
Tritanopia (blue-blind)
#572D30
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #51312e;
/* rgb */ color: rgb(81, 49, 46);
/* oklch */ color: oklch(35.1% 0.047 25.6);
Tailwind
colors: {
  custom: {
    50: '#836966',
    500: '#51312e',
    950: '#000000',
  },
}
SCSS
$custom: #51312e;
$custom-light: #836966;
$custom-dark: #000000;
JSON
{
  "hex": "#51312e",
  "rgb": {
    "r": 81,
    "g": 49,
    "b": 46
  },
  "hsl": {
    "h": 5.143,
    "s": 27.559,
    "l": 24.902
  },
  "oklch": {
    "l": 0.35141,
    "c": 0.04737,
    "h": 25.6
  },
  "luminance": 0.04143
}

Semantic roles & 50–950 ramp

primary
#51312E
secondary
#587F83
accent
#BCC464
background
#F8F6F6
surface
#EFEBEB
border
#CAC6C6
text
#0B0606
muted
#7C7A7A

Preview Lab

Preview with #51312E

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

Preview Lab → · Contrast checker → · Palette generator →

#51312E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva