#51112B#51112B

#51112B is a dark, moderate pink. Relative luminance 0.023; OKLCH L 29.8% C 0.097 H 0.3°. Best body text is #FFFFFF at 14.33:1 contrast (WCAG AA passes).

Color values

HEX#51112B
RGBrgb(81, 17, 43)
HSLhsl(336, 65%, 19%)
HSVhsv(336, 79%, 32%)
CMYKcmyk(0%, 79%, 46.9%, 68.2%)
CIE-LABlab(17.11, 31.64, 0.08)
CIE-LCHlch(17.11, 31.64, 0.14°)
OKLaboklab(29.81% 0.097 0.0006)
OKLCHoklch(29.81% 0.097 0.3)
XYZxyz(4.0301, 2.3252, 2.5216)
Luminance0.0232 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#51112B #115137
analogous
#51114B #51112B #511711
triadic
#51112B #2B5111 #112B51
tetradic
#51112B #4B5111 #115137 #171151
square
#51112B #4B5111 #115137 #171151
split-complementary
#51112B #115117 #114B51
monochromatic
#19050D #1E0610 #51112B #841C46 #B62661

Accessibility & contrast

On white

14.33
#51112B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.47
#51112B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #51112B
14.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##51112B#FFFFFF#000000##FFFFFF
##51112B1.0014.331.4714.33
#FFFFFF14.331.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F222C
Deuteranopia (green-blind)
#302F2A
Tritanopia (blue-blind)
#58081C
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #51112b;
/* rgb */ color: rgb(81, 17, 43);
/* oklch */ color: oklch(29.8% 0.097 0.3);
Tailwind
colors: {
  custom: {
    50: '#865564',
    500: '#51112b',
    950: '#000000',
  },
}
SCSS
$custom: #51112b;
$custom-light: #865564;
$custom-dark: #000000;
JSON
{
  "hex": "#51112b",
  "rgb": {
    "r": 81,
    "g": 17,
    "b": 43
  },
  "hsl": {
    "h": 335.625,
    "s": 65.306,
    "l": 19.216
  },
  "oklch": {
    "l": 0.29811,
    "c": 0.09704,
    "h": 0.3
  },
  "luminance": 0.02325
}

Semantic roles & 50–950 ramp

primary
#51112B
secondary
#348A67
accent
#E8A440
background
#F8F5F5
surface
#F0E9EA
border
#CBC5C6
text
#0C0305
muted
#7D7879

Preview Lab

Preview with #51112B

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

Preview Lab → · Contrast checker → · Palette generator →

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