#511E34#511E34

#511E34 is a dark, moderate pink. Relative luminance 0.029; OKLCH L 31.9% C 0.081 H 355.7°. Best body text is #FFFFFF at 13.25:1 contrast (WCAG AA passes).

Color values

HEX#511E34
RGBrgb(81, 30, 52)
HSLhsl(334, 46%, 22%)
HSVhsv(334, 63%, 32%)
CMYKcmyk(0%, 63%, 35.8%, 68.2%)
CIE-LABlab(19.75, 26.50, -2.42)
CIE-LCHlch(19.75, 26.61, 354.77°)
OKLaboklab(31.87% 0.0807 -0.006)
OKLCHoklch(31.87% 0.081 355.7)
XYZxyz(4.4777, 2.9263, 3.5772)
Luminance0.0293 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#511E34 #1E513B
analogous
#511E4E #511E34 #51221E
triadic
#511E34 #34511E #1E3451
tetradic
#511E34 #4E511E #1E513B #221E51
square
#511E34 #4E511E #1E513B #221E51
split-complementary
#511E34 #1E5122 #1E4E51
monochromatic
#16080E #240D17 #511E34 #7E2F51 #AA3F6D

Accessibility & contrast

On white

13.25
#511E34 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.59
#511E34 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #511E34
13.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##511E34#FFFFFF#000000##FFFFFF
##511E341.0013.251.5913.25
#FFFFFF13.251.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#262A35
Deuteranopia (green-blind)
#333333
Tritanopia (blue-blind)
#571B26
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #511e34;
/* rgb */ color: rgb(81, 30, 52);
/* oklch */ color: oklch(31.9% 0.081 355.7);
Tailwind
colors: {
  custom: {
    50: '#845c6b',
    500: '#511e34',
    950: '#000000',
  },
}
SCSS
$custom: #511e34;
$custom-light: #845c6b;
$custom-dark: #000000;
JSON
{
  "hex": "#511e34",
  "rgb": {
    "r": 81,
    "g": 30,
    "b": 52
  },
  "hsl": {
    "h": 334.118,
    "s": 45.946,
    "l": 21.765
  },
  "oklch": {
    "l": 0.31872,
    "c": 0.08089,
    "h": 355.7
  },
  "luminance": 0.02926
}

Semantic roles & 50–950 ramp

primary
#511E34
secondary
#45866A
accent
#D69D52
background
#F8F5F6
surface
#EFE9EB
border
#CAC5C6
text
#0B0406
muted
#7C797A

Preview Lab

Preview with #511E34

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

Preview Lab → · Contrast checker → · Palette generator →

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