#51162A#51162A

#51162A is a dark, moderate pink. Relative luminance 0.025; OKLCH L 30.4% C 0.090 H 3.3°. Best body text is #FFFFFF at 14.02:1 contrast (WCAG AA passes).

Color values

HEX#51162A
RGBrgb(81, 22, 42)
HSLhsl(340, 57%, 20%)
HSVhsv(340, 73%, 32%)
CMYKcmyk(0%, 72.8%, 48.1%, 68.2%)
CIE-LABlab(17.88, 29.31, 1.91)
CIE-LCHlch(17.88, 29.37, 3.72°)
OKLaboklab(30.37% 0.0896 0.0052)
OKLCHoklch(30.37% 0.09 3.3)
XYZxyz(4.0985, 2.4908, 2.4550)
Luminance0.0249 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#51162A #16513D
analogous
#511647 #51162A #511F16
triadic
#51162A #2A5116 #162A51
tetradic
#51162A #475116 #16513D #1F1651
square
#51162A #475116 #16513D #1F1651
split-complementary
#51162A #16511F #164751
monochromatic
#18070C #210911 #51162A #812343 #B1305C

Accessibility & contrast

On white

14.02
#51162A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #51162A
14.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##51162A#FFFFFF#000000##FFFFFF
##51162A1.0014.021.5014.02
#FFFFFF14.021.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF14.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#22242A
Deuteranopia (green-blind)
#323029
Tritanopia (blue-blind)
#580E1E
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #51162a;
/* rgb */ color: rgb(81, 22, 42);
/* oklch */ color: oklch(30.4% 0.090 3.3);
Tailwind
colors: {
  custom: {
    50: '#855863',
    500: '#51162a',
    950: '#000000',
  },
}
SCSS
$custom: #51162a;
$custom-light: #855863;
$custom-dark: #000000;
JSON
{
  "hex": "#51162a",
  "rgb": {
    "r": 81,
    "g": 22,
    "b": 42
  },
  "hsl": {
    "h": 339.661,
    "s": 57.282,
    "l": 20.196
  },
  "oklch": {
    "l": 0.30368,
    "c": 0.08972,
    "h": 3.3
  },
  "luminance": 0.0249
}

Semantic roles & 50–950 ramp

primary
#51162A
secondary
#3A886E
accent
#E1AD47
background
#F8F5F5
surface
#F0E9EA
border
#CBC5C6
text
#0B0305
muted
#7C7879

Preview Lab

Preview with #51162A

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

Preview Lab → · Contrast checker → · Palette generator →

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