#51163B#51163B

#51163B is a dark, moderate pink. Relative luminance 0.026; OKLCH L 31.1% C 0.099 H 345.8°. Best body text is #FFFFFF at 13.75:1 contrast (WCAG AA passes).

Color values

HEX#51163B
RGBrgb(81, 22, 59)
HSLhsl(322, 57%, 20%)
HSVhsv(322, 73%, 32%)
CMYKcmyk(0%, 72.8%, 27.2%, 68.2%)
CIE-LABlab(18.54, 31.61, -9.14)
CIE-LCHlch(18.54, 32.90, 343.87°)
OKLaboklab(31.07% 0.0955 -0.0242)
OKLCHoklch(31.07% 0.099 345.8)
XYZxyz(4.4698, 2.6394, 4.4109)
Luminance0.0264 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#51163B #16512C
analogous
#4A1651 #51163B #51161D
triadic
#51163B #3B5116 #163B51
tetradic
#51163B #514A16 #16512C #161D51
square
#51163B #514A16 #16512C #161D51
split-complementary
#51163B #1D5116 #16514A
monochromatic
#180712 #210918 #51163B #81235E #B13081

Accessibility & contrast

On white

13.75
#51163B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.53
#51163B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #51163B
13.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##51163B#FFFFFF#000000##FFFFFF
##51163B1.0013.751.5313.75
#FFFFFF13.751.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D273C
Deuteranopia (green-blind)
#2E313A
Tritanopia (blue-blind)
#571526
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #51163b;
/* rgb */ color: rgb(81, 22, 59);
/* oklch */ color: oklch(31.1% 0.099 345.8);
Tailwind
colors: {
  custom: {
    50: '#845871',
    500: '#51163b',
    950: '#000000',
  },
}
SCSS
$custom: #51163b;
$custom-light: #845871;
$custom-dark: #000000;
JSON
{
  "hex": "#51163b",
  "rgb": {
    "r": 81,
    "g": 22,
    "b": 59
  },
  "hsl": {
    "h": 322.373,
    "s": 57.282,
    "l": 20.196
  },
  "oklch": {
    "l": 0.31072,
    "c": 0.0985,
    "h": 345.8
  },
  "luminance": 0.02639
}

Semantic roles & 50–950 ramp

primary
#51163B
secondary
#3A8857
accent
#E18047
background
#F8F5F6
surface
#EFE9EC
border
#CAC5C7
text
#0B0407
muted
#7C797A

Preview Lab

Preview with #51163B

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

Preview Lab → · Contrast checker → · Palette generator →

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