#511B46#511B46

#511B46 is a dark, moderate pink. Relative luminance 0.030; OKLCH L 32.3% C 0.099 H 336.4°. Best body text is #FFFFFF at 13.17:1 contrast (WCAG AA passes).

Color values

HEX#511B46
RGBrgb(81, 27, 70)
HSLhsl(312, 50%, 21%)
HSVhsv(312, 67%, 32%)
CMYKcmyk(0%, 66.7%, 13.6%, 68.2%)
CIE-LABlab(19.95, 31.03, -14.59)
CIE-LCHlch(19.95, 34.29, 334.81°)
OKLaboklab(32.28% 0.0907 -0.0396)
OKLCHoklch(32.28% 0.099 336.4)
XYZxyz(4.8908, 2.9758, 6.1100)
Luminance0.0297 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#511B46 #1B5126
analogous
#411B51 #511B46 #511B2B
triadic
#511B46 #46511B #1B4651
tetradic
#511B46 #51411B #1B5126 #1B2B51
square
#511B46 #51411B #1B5126 #1B2B51
split-complementary
#511B46 #2B511B #1B5141
monochromatic
#170814 #230C1E #511B46 #7F2A6E #AD3A95

Accessibility & contrast

On white

13.17
#511B46 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#511B46 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #511B46
13.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##511B46#FFFFFF#000000##FFFFFF
##511B461.0013.171.6013.17
#FFFFFF13.171.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C2B47
Deuteranopia (green-blind)
#2C3345
Tritanopia (blue-blind)
#551E2D
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #511b46;
/* rgb */ color: rgb(81, 27, 70);
/* oklch */ color: oklch(32.3% 0.099 336.4);
Tailwind
colors: {
  custom: {
    50: '#845b79',
    500: '#511b46',
    950: '#000000',
  },
}
SCSS
$custom: #511b46;
$custom-light: #845b79;
$custom-dark: #000000;
JSON
{
  "hex": "#511b46",
  "rgb": {
    "r": 81,
    "g": 27,
    "b": 70
  },
  "hsl": {
    "h": 312.222,
    "s": 50,
    "l": 21.176
  },
  "oklch": {
    "l": 0.32278,
    "c": 0.09898,
    "h": 336.4
  },
  "luminance": 0.02975
}

Semantic roles & 50–950 ramp

primary
#511B46
secondary
#41874F
accent
#DA6B4E
background
#F8F5F7
surface
#EFE9ED
border
#CAC5C8
text
#0B0409
muted
#7C797B

Preview Lab

Preview with #511B46

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

Preview Lab → · Contrast checker → · Palette generator →

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