#51162E#51162E

#51162E is a dark, moderate pink. Relative luminance 0.025; OKLCH L 30.5% C 0.091 H 359.0°. Best body text is #FFFFFF at 13.96:1 contrast (WCAG AA passes).

Color values

HEX#51162E
RGBrgb(81, 22, 46)
HSLhsl(336, 57%, 20%)
HSVhsv(336, 73%, 32%)
CMYKcmyk(0%, 72.8%, 43.2%, 68.2%)
CIE-LABlab(18.01, 29.79, -0.75)
CIE-LCHlch(18.01, 29.80, 358.56°)
OKLaboklab(30.51% 0.0912 -0.0016)
OKLCHoklch(30.51% 0.091 359)
XYZxyz(4.1737, 2.5209, 2.8510)
Luminance0.0252 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#51162E #165139
analogous
#51164C #51162E #511B16
triadic
#51162E #2E5116 #162E51
tetradic
#51162E #4C5116 #165139 #1B1651
square
#51162E #4C5116 #165139 #1B1651
split-complementary
#51162E #16511B #164C51
monochromatic
#18070E #210913 #51162E #812349 #B13065

Accessibility & contrast

On white

13.96
#51162E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.50
#51162E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #51162E
13.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##51162E#FFFFFF#000000##FFFFFF
##51162E1.0013.961.5013.96
#FFFFFF13.961.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF13.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#21252F
Deuteranopia (green-blind)
#31302D
Tritanopia (blue-blind)
#581020
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #51162e;
/* rgb */ color: rgb(81, 22, 46);
/* oklch */ color: oklch(30.5% 0.091 359.0);
Tailwind
colors: {
  custom: {
    50: '#855866',
    500: '#51162e',
    950: '#000000',
  },
}
SCSS
$custom: #51162e;
$custom-light: #855866;
$custom-dark: #000000;
JSON
{
  "hex": "#51162e",
  "rgb": {
    "r": 81,
    "g": 22,
    "b": 46
  },
  "hsl": {
    "h": 335.593,
    "s": 57.282,
    "l": 20.196
  },
  "oklch": {
    "l": 0.30513,
    "c": 0.0912,
    "h": 359
  },
  "luminance": 0.0252
}

Semantic roles & 50–950 ramp

primary
#51162E
secondary
#3A8869
accent
#E1A247
background
#F8F5F6
surface
#F0E9EB
border
#CBC5C6
text
#0B0306
muted
#7C787A

Preview Lab

Preview with #51162E

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

Preview Lab → · Contrast checker → · Palette generator →

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