#511F46#511F46

#511F46 is a dark, moderate pink. Relative luminance 0.032; OKLCH L 32.8% C 0.092 H 336.8°. Best body text is #FFFFFF at 12.85:1 contrast (WCAG AA passes).

Color values

HEX#511F46
RGBrgb(81, 31, 70)
HSLhsl(313, 45%, 22%)
HSVhsv(313, 62%, 32%)
CMYKcmyk(0%, 61.7%, 13.6%, 68.2%)
CIE-LABlab(20.72, 28.93, -13.40)
CIE-LCHlch(20.72, 31.89, 335.16°)
OKLaboklab(32.85% 0.0845 -0.0362)
OKLCHoklch(32.85% 0.092 336.8)
XYZxyz(4.9889, 3.1719, 6.1426)
Luminance0.0317 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#511F46 #1F512A
analogous
#431F51 #511F46 #511F2D
triadic
#511F46 #46511F #1F4651
tetradic
#511F46 #51431F #1F512A #1F2D51
square
#511F46 #51431F #1F512A #1F2D51
split-complementary
#511F46 #2D511F #1F5143
monochromatic
#160813 #250E20 #511F46 #7D306C #AA4193

Accessibility & contrast

On white

12.85
#511F46 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#511F46 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #511F46
12.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##511F46#FFFFFF#000000##FFFFFF
##511F461.0012.851.6312.85
#FFFFFF12.851.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#202D47
Deuteranopia (green-blind)
#2F3545
Tritanopia (blue-blind)
#55212F
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #511f46;
/* rgb */ color: rgb(81, 31, 70);
/* oklch */ color: oklch(32.8% 0.092 336.8);
Tailwind
colors: {
  custom: {
    50: '#845e79',
    500: '#511f46',
    950: '#000000',
  },
}
SCSS
$custom: #511f46;
$custom-light: #845e79;
$custom-dark: #000000;
JSON
{
  "hex": "#511f46",
  "rgb": {
    "r": 81,
    "g": 31,
    "b": 70
  },
  "hsl": {
    "h": 313.2,
    "s": 44.643,
    "l": 21.961
  },
  "oklch": {
    "l": 0.32846,
    "c": 0.09198,
    "h": 336.8
  },
  "luminance": 0.03171
}

Semantic roles & 50–950 ramp

primary
#511F46
secondary
#468654
accent
#D47053
background
#F8F5F7
surface
#EFE9ED
border
#CAC5C8
text
#0B0409
muted
#7C797B

Preview Lab

Preview with #511F46

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

Preview Lab → · Contrast checker → · Palette generator →

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