#51163A#51163A

#51163A is a dark, moderate pink. Relative luminance 0.026; OKLCH L 31.0% C 0.098 H 346.7°. Best body text is #FFFFFF at 13.76:1 contrast (WCAG AA passes).

Color values

HEX#51163A
RGBrgb(81, 22, 58)
HSLhsl(323, 57%, 20%)
HSVhsv(323, 73%, 32%)
CMYKcmyk(0%, 72.8%, 28.4%, 68.2%)
CIE-LABlab(18.49, 31.45, -8.51)
CIE-LCHlch(18.49, 32.58, 344.86°)
OKLaboklab(31.02% 0.0952 -0.0225)
OKLCHoklch(31.02% 0.098 346.7)
XYZxyz(4.4441, 2.6291, 4.2756)
Luminance0.0263 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#51163A #16512D
analogous
#4B1651 #51163A #51161C
triadic
#51163A #3A5116 #163A51
tetradic
#51163A #514B16 #16512D #161C51
square
#51163A #514B16 #16512D #161C51
split-complementary
#51163A #1C5116 #16514B
monochromatic
#180711 #210918 #51163A #81235C #B1307F

Accessibility & contrast

On white

13.76
#51163A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #51163A
13.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##51163A#FFFFFF#000000##FFFFFF
##51163A1.0013.761.5313.76
#FFFFFF13.761.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D273B
Deuteranopia (green-blind)
#2E3139
Tritanopia (blue-blind)
#571525
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #51163a;
/* rgb */ color: rgb(81, 22, 58);
/* oklch */ color: oklch(31.0% 0.098 346.7);
Tailwind
colors: {
  custom: {
    50: '#845870',
    500: '#51163a',
    950: '#000000',
  },
}
SCSS
$custom: #51163a;
$custom-light: #845870;
$custom-dark: #000000;
JSON
{
  "hex": "#51163a",
  "rgb": {
    "r": 81,
    "g": 22,
    "b": 58
  },
  "hsl": {
    "h": 323.39,
    "s": 57.282,
    "l": 20.196
  },
  "oklch": {
    "l": 0.31024,
    "c": 0.09783,
    "h": 346.7
  },
  "luminance": 0.02629
}

Semantic roles & 50–950 ramp

primary
#51163A
secondary
#3A8859
accent
#E18347
background
#F8F5F6
surface
#EFE9EC
border
#CAC5C7
text
#0B0407
muted
#7C797A

Preview Lab

Preview with #51163A

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

Preview Lab → · Contrast checker → · Palette generator →

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