#511C34#511C34

#511C34 is a dark, moderate pink. Relative luminance 0.028; OKLCH L 31.6% C 0.084 H 354.8°. Best body text is #FFFFFF at 13.41:1 contrast (WCAG AA passes).

Color values

HEX#511C34
RGBrgb(81, 28, 52)
HSLhsl(333, 49%, 21%)
HSVhsv(333, 65%, 32%)
CMYKcmyk(0%, 65.4%, 35.8%, 68.2%)
CIE-LABlab(19.34, 27.58, -3.02)
CIE-LCHlch(19.34, 27.75, 353.75°)
OKLaboklab(31.57% 0.084 -0.0076)
OKLCHoklch(31.57% 0.084 354.8)
XYZxyz(4.4286, 2.8282, 3.5608)
Luminance0.0283 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#511C34 #1C5139
analogous
#511C4F #511C34 #511F1C
triadic
#511C34 #34511C #1C3451
tetradic
#511C34 #4F511C #1C5139 #1F1C51
square
#511C34 #4F511C #1C5139 #1F1C51
split-complementary
#511C34 #1C511F #1C4F51
monochromatic
#17080F #240C17 #511C34 #7E2C51 #AC3B6E

Accessibility & contrast

On white

13.41
#511C34 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.57
#511C34 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #511C34
13.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##511C34#FFFFFF#000000##FFFFFF
##511C341.0013.411.5713.41
#FFFFFF13.411.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#242935
Deuteranopia (green-blind)
#323233
Tritanopia (blue-blind)
#571925
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #511c34;
/* rgb */ color: rgb(81, 28, 52);
/* oklch */ color: oklch(31.6% 0.084 354.8);
Tailwind
colors: {
  custom: {
    50: '#845b6b',
    500: '#511c34',
    950: '#000000',
  },
}
SCSS
$custom: #511c34;
$custom-light: #845b6b;
$custom-dark: #000000;
JSON
{
  "hex": "#511c34",
  "rgb": {
    "r": 81,
    "g": 28,
    "b": 52
  },
  "hsl": {
    "h": 332.83,
    "s": 48.624,
    "l": 21.373
  },
  "oklch": {
    "l": 0.31571,
    "c": 0.08435,
    "h": 354.8
  },
  "luminance": 0.02828
}

Semantic roles & 50–950 ramp

primary
#511C34
secondary
#428768
accent
#D89A50
background
#F8F5F6
surface
#EFE9EB
border
#CAC5C6
text
#0B0406
muted
#7C797A

Preview Lab

Preview with #511C34

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

Preview Lab → · Contrast checker → · Palette generator →

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