#511F44#511F44

#511F44 is a dark, moderate pink. Relative luminance 0.031; OKLCH L 32.7% C 0.090 H 338.7°. Best body text is #FFFFFF at 12.89:1 contrast (WCAG AA passes).

Color values

HEX#511F44
RGBrgb(81, 31, 68)
HSLhsl(316, 45%, 22%)
HSVhsv(316, 62%, 32%)
CMYKcmyk(0%, 61.7%, 16%, 68.2%)
CIE-LABlab(20.62, 28.57, -12.18)
CIE-LCHlch(20.62, 31.06, 336.92°)
OKLaboklab(32.74% 0.0841 -0.0328)
OKLCHoklch(32.74% 0.09 338.7)
XYZxyz(4.9268, 3.1470, 5.8157)
Luminance0.0315 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#511F44 #1F512C
analogous
#451F51 #511F44 #511F2B
triadic
#511F44 #44511F #1F4451
tetradic
#511F44 #51451F #1F512C #1F2B51
square
#511F44 #51451F #1F512C #1F2B51
split-complementary
#511F44 #2B511F #1F5145
monochromatic
#160813 #250E1F #511F44 #7D3069 #AA418E

Accessibility & contrast

On white

12.89
#511F44 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #511F44
12.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##511F44#FFFFFF#000000##FFFFFF
##511F441.0012.891.6312.89
#FFFFFF12.891.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#212D45
Deuteranopia (green-blind)
#2F3543
Tritanopia (blue-blind)
#55212E
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #511f44;
/* rgb */ color: rgb(81, 31, 68);
/* oklch */ color: oklch(32.7% 0.090 338.7);
Tailwind
colors: {
  custom: {
    50: '#845e78',
    500: '#511f44',
    950: '#000000',
  },
}
SCSS
$custom: #511f44;
$custom-light: #845e78;
$custom-dark: #000000;
JSON
{
  "hex": "#511f44",
  "rgb": {
    "r": 81,
    "g": 31,
    "b": 68
  },
  "hsl": {
    "h": 315.6,
    "s": 44.643,
    "l": 21.961
  },
  "oklch": {
    "l": 0.32744,
    "c": 0.09023,
    "h": 338.7
  },
  "luminance": 0.03147
}

Semantic roles & 50–950 ramp

primary
#511F44
secondary
#468657
accent
#D47553
background
#F8F5F7
surface
#EFE9ED
border
#CAC5C8
text
#0B0408
muted
#7C797B

Preview Lab

Preview with #511F44

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

Preview Lab → · Contrast checker → · Palette generator →

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