#51162B#51162B

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

Color values

HEX#51162B
RGBrgb(81, 22, 43)
HSLhsl(339, 57%, 20%)
HSVhsv(339, 73%, 32%)
CMYKcmyk(0%, 72.8%, 46.9%, 68.2%)
CIE-LABlab(17.91, 29.43, 1.24)
CIE-LCHlch(17.91, 29.45, 2.42°)
OKLaboklab(30.4% 0.09 0.0035)
OKLCHoklch(30.4% 0.09 2.3)
XYZxyz(4.1166, 2.4981, 2.5504)
Luminance0.0250 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#51162B #16513C
analogous
#511648 #51162B #511E16
triadic
#51162B #2B5116 #162B51
tetradic
#51162B #485116 #16513C #1E1651
square
#51162B #485116 #16513C #1E1651
split-complementary
#51162B #16511E #164851
monochromatic
#18070D #210911 #51162B #812345 #B1305E

Accessibility & contrast

On white

14.00
#51162B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #51162B
14.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##51162B#FFFFFF#000000##FFFFFF
##51162B1.0014.001.5014.00
#FFFFFF14.001.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF14.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#22252C
Deuteranopia (green-blind)
#32302A
Tritanopia (blue-blind)
#580F1E
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #51162b;
/* rgb */ color: rgb(81, 22, 43);
/* oklch */ color: oklch(30.4% 0.090 2.3);
Tailwind
colors: {
  custom: {
    50: '#855864',
    500: '#51162b',
    950: '#000000',
  },
}
SCSS
$custom: #51162b;
$custom-light: #855864;
$custom-dark: #000000;
JSON
{
  "hex": "#51162b",
  "rgb": {
    "r": 81,
    "g": 22,
    "b": 43
  },
  "hsl": {
    "h": 338.644,
    "s": 57.282,
    "l": 20.196
  },
  "oklch": {
    "l": 0.30403,
    "c": 0.09006,
    "h": 2.3
  },
  "luminance": 0.02498
}

Semantic roles & 50–950 ramp

primary
#51162B
secondary
#3A886D
accent
#E1AA47
background
#F8F5F5
surface
#F0E9EA
border
#CBC5C6
text
#0B0305
muted
#7C7879

Preview Lab

Preview with #51162B

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

Preview Lab → · Contrast checker → · Palette generator →

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