#51131E#51131E

#51131E is a dark, moderate red. Relative luminance 0.023; OKLCH L 29.6% C 0.092 H 14.6°. Best body text is #FFFFFF at 14.37:1 contrast (WCAG AA passes).

Color values

HEX#51131E
RGBrgb(81, 19, 30)
HSLhsl(349, 62%, 20%)
HSVhsv(349, 77%, 32%)
CMYKcmyk(0%, 76.5%, 63%, 68.2%)
CIE-LABlab(17.03, 29.49, 9.33)
CIE-LCHlch(17.03, 30.93, 17.55°)
OKLaboklab(29.63% 0.0887 0.0231)
OKLCHoklch(29.63% 0.092 14.6)
XYZxyz(3.8609, 2.3093, 1.4705)
Luminance0.0231 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#51131E #135146
analogous
#51133D #51131E #512713
triadic
#51131E #1E5113 #131E51
tetradic
#51131E #3D5113 #135146 #271351
square
#51131E #3D5113 #135146 #271351
split-complementary
#51131E #135127 #133D51
monochromatic
#190609 #1F070C #51131E #831F30 #B42A43

Accessibility & contrast

On white

14.37
#51131E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.46
#51131E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #51131E
14.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##51131E#FFFFFF#000000##FFFFFF
##51131E1.0014.371.4614.37
#FFFFFF14.371.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#23221E
Deuteranopia (green-blind)
#332F1C
Tritanopia (blue-blind)
#590517
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #51131e;
/* rgb */ color: rgb(81, 19, 30);
/* oklch */ color: oklch(29.6% 0.092 14.6);
Tailwind
colors: {
  custom: {
    50: '#865659',
    500: '#51131e',
    950: '#000000',
  },
}
SCSS
$custom: #51131e;
$custom-light: #865659;
$custom-dark: #000000;
JSON
{
  "hex": "#51131e",
  "rgb": {
    "r": 81,
    "g": 19,
    "b": 30
  },
  "hsl": {
    "h": 349.355,
    "s": 62,
    "l": 19.608
  },
  "oklch": {
    "l": 0.2963,
    "c": 0.09163,
    "h": 14.6
  },
  "luminance": 0.02309
}

Semantic roles & 50–950 ramp

primary
#51131E
secondary
#368A7B
accent
#E5C843
background
#F8F5F5
surface
#F0E9E9
border
#CBC5C5
text
#0C0303
muted
#7D7878

Preview Lab

Preview with #51131E

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

Preview Lab → · Contrast checker → · Palette generator →

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