#511C31#511C31

#511C31 is a dark, moderate pink. Relative luminance 0.028; OKLCH L 31.5% C 0.083 H 358.3°. Best body text is #FFFFFF at 13.46:1 contrast (WCAG AA passes).

Color values

HEX#511C31
RGBrgb(81, 28, 49)
HSLhsl(336, 49%, 21%)
HSVhsv(336, 65%, 32%)
CMYKcmyk(0%, 65.4%, 39.5%, 68.2%)
CIE-LABlab(19.23, 27.16, -1.08)
CIE-LCHlch(19.23, 27.18, 357.73°)
OKLaboklab(31.45% 0.0829 -0.0025)
OKLCHoklch(31.45% 0.083 358.3)
XYZxyz(4.3632, 2.8021, 3.2162)
Luminance0.0280 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#511C31 #1C513C
analogous
#511C4C #511C31 #51221C
triadic
#511C31 #31511C #1C3151
tetradic
#511C31 #4C511C #1C513C #221C51
square
#511C31 #4C511C #1C513C #221C51
split-complementary
#511C31 #1C5122 #1C4C51
monochromatic
#17080E #240C15 #511C31 #7E2C4D #AC3B68

Accessibility & contrast

On white

13.46
#511C31 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.56
#511C31 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #511C31
13.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##511C31#FFFFFF#000000##FFFFFF
##511C311.0013.461.5613.46
#FFFFFF13.461.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#252832
Deuteranopia (green-blind)
#333230
Tritanopia (blue-blind)
#581824
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #511c31;
/* rgb */ color: rgb(81, 28, 49);
/* oklch */ color: oklch(31.5% 0.083 358.3);
Tailwind
colors: {
  custom: {
    50: '#845b69',
    500: '#511c31',
    950: '#000000',
  },
}
SCSS
$custom: #511c31;
$custom-light: #845b69;
$custom-dark: #000000;
JSON
{
  "hex": "#511c31",
  "rgb": {
    "r": 81,
    "g": 28,
    "b": 49
  },
  "hsl": {
    "h": 336.226,
    "s": 48.624,
    "l": 21.373
  },
  "oklch": {
    "l": 0.31454,
    "c": 0.0829,
    "h": 358.3
  },
  "luminance": 0.02802
}

Semantic roles & 50–950 ramp

primary
#511C31
secondary
#42876B
accent
#D8A250
background
#F8F5F6
surface
#EFE9EB
border
#CAC5C6
text
#0B0406
muted
#7C797A

Preview Lab

Preview with #511C31

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

Preview Lab → · Contrast checker → · Palette generator →

#511C31 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva