#511C3F#511C3F

#511C3F is a dark, moderate pink. Relative luminance 0.029; OKLCH L 32.1% C 0.092 H 343.1°. Best body text is #FFFFFF at 13.23:1 contrast (WCAG AA passes).

Color values

HEX#511C3F
RGBrgb(81, 28, 63)
HSLhsl(320, 49%, 21%)
HSVhsv(320, 65%, 32%)
CMYKcmyk(0%, 65.4%, 22.2%, 68.2%)
CIE-LABlab(19.80, 29.30, -10.00)
CIE-LCHlch(19.80, 30.96, 341.15°)
OKLaboklab(32.06% 0.0876 -0.0267)
OKLCHoklch(32.06% 0.092 343.1)
XYZxyz(4.7059, 2.9391, 5.0211)
Luminance0.0294 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#511C3F #1C512E
analogous
#491C51 #511C3F #511C25
triadic
#511C3F #3F511C #1C3F51
tetradic
#511C3F #51491C #1C512E #1C2551
square
#511C3F #51491C #1C512E #1C2551
split-complementary
#511C3F #25511C #1C5149
monochromatic
#170812 #240C1C #511C3F #7E2C62 #AC3B86

Accessibility & contrast

On white

13.23
#511C3F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #511C3F
13.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##511C3F#FFFFFF#000000##FFFFFF
##511C3F1.0013.231.5913.23
#FFFFFF13.231.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#202A40
Deuteranopia (green-blind)
#2F333E
Tritanopia (blue-blind)
#561C2A
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #511c3f;
/* rgb */ color: rgb(81, 28, 63);
/* oklch */ color: oklch(32.1% 0.092 343.1);
Tailwind
colors: {
  custom: {
    50: '#845c74',
    500: '#511c3f',
    950: '#000000',
  },
}
SCSS
$custom: #511c3f;
$custom-light: #845c74;
$custom-dark: #000000;
JSON
{
  "hex": "#511c3f",
  "rgb": {
    "r": 81,
    "g": 28,
    "b": 63
  },
  "hsl": {
    "h": 320.377,
    "s": 48.624,
    "l": 21.373
  },
  "oklch": {
    "l": 0.32059,
    "c": 0.09152,
    "h": 343.1
  },
  "luminance": 0.02939
}

Semantic roles & 50–950 ramp

primary
#511C3F
secondary
#428759
accent
#D87E50
background
#F8F5F7
surface
#EFE9ED
border
#CAC5C8
text
#0B0408
muted
#7C797B

Preview Lab

Preview with #511C3F

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

Preview Lab → · Contrast checker → · Palette generator →

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