#511C39#511C39

#511C39 is a dark, moderate pink. Relative luminance 0.029; OKLCH L 31.8% C 0.087 H 349.3°. Best body text is #FFFFFF at 13.33:1 contrast (WCAG AA passes).

Color values

HEX#511C39
RGBrgb(81, 28, 57)
HSLhsl(327, 49%, 21%)
HSVhsv(327, 65%, 32%)
CMYKcmyk(0%, 65.4%, 29.6%, 68.2%)
CIE-LABlab(19.54, 28.33, -6.23)
CIE-LCHlch(19.54, 29.00, 347.61°)
OKLaboklab(31.78% 0.0858 -0.0163)
OKLCHoklch(31.78% 0.087 349.3)
XYZxyz(4.5473, 2.8757, 4.1857)
Luminance0.0288 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#511C39 #1C5134
analogous
#4F1C51 #511C39 #511C1F
triadic
#511C39 #39511C #1C3951
tetradic
#511C39 #514F1C #1C5134 #1C1F51
square
#511C39 #514F1C #1C5134 #1C1F51
split-complementary
#511C39 #1F511C #1C514F
monochromatic
#170810 #240C19 #511C39 #7E2C59 #AC3B79

Accessibility & contrast

On white

13.33
#511C39 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#511C39 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #511C39
13.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##511C39#FFFFFF#000000##FFFFFF
##511C391.0013.331.5813.33
#FFFFFF13.331.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#22293A
Deuteranopia (green-blind)
#313338
Tritanopia (blue-blind)
#571A28
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #511c39;
/* rgb */ color: rgb(81, 28, 57);
/* oklch */ color: oklch(31.8% 0.087 349.3);
Tailwind
colors: {
  custom: {
    50: '#845b6f',
    500: '#511c39',
    950: '#000000',
  },
}
SCSS
$custom: #511c39;
$custom-light: #845b6f;
$custom-dark: #000000;
JSON
{
  "hex": "#511c39",
  "rgb": {
    "r": 81,
    "g": 28,
    "b": 57
  },
  "hsl": {
    "h": 327.17,
    "s": 48.624,
    "l": 21.373
  },
  "oklch": {
    "l": 0.31782,
    "c": 0.08728,
    "h": 349.3
  },
  "luminance": 0.02875
}

Semantic roles & 50–950 ramp

primary
#511C39
secondary
#428761
accent
#D88D50
background
#F8F5F6
surface
#EFE9EC
border
#CAC5C7
text
#0B0407
muted
#7C797A

Preview Lab

Preview with #511C39

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

Preview Lab → · Contrast checker → · Palette generator →

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