#51163F#51163F

#51163F is a dark, moderate pink. Relative luminance 0.027; OKLCH L 31.3% C 0.101 H 342.1°. Best body text is #FFFFFF at 13.67:1 contrast (WCAG AA passes).

Color values

HEX#51163F
RGBrgb(81, 22, 63)
HSLhsl(318, 57%, 20%)
HSVhsv(318, 73%, 32%)
CMYKcmyk(0%, 72.8%, 22.2%, 68.2%)
CIE-LABlab(18.72, 32.24, -11.65)
CIE-LCHlch(18.72, 34.28, 340.14°)
OKLaboklab(31.27% 0.0965 -0.0312)
OKLCHoklch(31.27% 0.101 342.1)
XYZxyz(4.5776, 2.6825, 4.9783)
Luminance0.0268 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#51163F #165128
analogous
#451651 #51163F #511621
triadic
#51163F #3F5116 #163F51
tetradic
#51163F #514516 #165128 #162151
square
#51163F #514516 #165128 #162151
split-complementary
#51163F #215116 #165145
monochromatic
#180713 #21091A #51163F #812364 #B1308A

Accessibility & contrast

On white

13.67
#51163F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.54
#51163F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #51163F
13.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##51163F#FFFFFF#000000##FFFFFF
##51163F1.0013.671.5413.67
#FFFFFF13.671.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B2740
Deuteranopia (green-blind)
#2D313E
Tritanopia (blue-blind)
#561728
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #51163f;
/* rgb */ color: rgb(81, 22, 63);
/* oklch */ color: oklch(31.3% 0.101 342.1);
Tailwind
colors: {
  custom: {
    50: '#845874',
    500: '#51163f',
    950: '#000000',
  },
}
SCSS
$custom: #51163f;
$custom-light: #845874;
$custom-dark: #000000;
JSON
{
  "hex": "#51163f",
  "rgb": {
    "r": 81,
    "g": 22,
    "b": 63
  },
  "hsl": {
    "h": 318.305,
    "s": 57.282,
    "l": 20.196
  },
  "oklch": {
    "l": 0.3127,
    "c": 0.10139,
    "h": 342.1
  },
  "luminance": 0.02682
}

Semantic roles & 50–950 ramp

primary
#51163F
secondary
#3A8852
accent
#E17647
background
#F8F5F7
surface
#EFE9ED
border
#CAC5C8
text
#0B0408
muted
#7C797B

Preview Lab

Preview with #51163F

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

Preview Lab → · Contrast checker → · Palette generator →

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