#511B32#511B32

#511B32 is a dark, moderate pink. Relative luminance 0.028; OKLCH L 31.3% C 0.085 H 356.7°. Best body text is #FFFFFF at 13.53:1 contrast (WCAG AA passes).

Color values

HEX#511B32
RGBrgb(81, 27, 50)
HSLhsl(334, 50%, 21%)
HSVhsv(334, 67%, 32%)
CMYKcmyk(0%, 66.7%, 38.3%, 68.2%)
CIE-LABlab(19.07, 27.83, -2.02)
CIE-LCHlch(19.07, 27.90, 355.85°)
OKLaboklab(31.35% 0.0849 -0.005)
OKLCHoklch(31.35% 0.085 356.7)
XYZxyz(4.3612, 2.7640, 3.3208)
Luminance0.0276 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#511B32 #1B513A
analogous
#511B4D #511B32 #511F1B
triadic
#511B32 #32511B #1B3251
tetradic
#511B32 #4D511B #1B513A #1F1B51
square
#511B32 #4D511B #1B513A #1F1B51
split-complementary
#511B32 #1B511F #1B4D51
monochromatic
#17080E #230C16 #511B32 #7F2A4E #AD3A6B

Accessibility & contrast

On white

13.53
#511B32 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#511B32 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #511B32
13.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##511B32#FFFFFF#000000##FFFFFF
##511B321.0013.531.5513.53
#FFFFFF13.531.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#242833
Deuteranopia (green-blind)
#323231
Tritanopia (blue-blind)
#581724
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #511b32;
/* rgb */ color: rgb(81, 27, 50);
/* oklch */ color: oklch(31.3% 0.085 356.7);
Tailwind
colors: {
  custom: {
    50: '#845b69',
    500: '#511b32',
    950: '#000000',
  },
}
SCSS
$custom: #511b32;
$custom-light: #845b69;
$custom-dark: #000000;
JSON
{
  "hex": "#511b32",
  "rgb": {
    "r": 81,
    "g": 27,
    "b": 50
  },
  "hsl": {
    "h": 334.444,
    "s": 50,
    "l": 21.176
  },
  "oklch": {
    "l": 0.31346,
    "c": 0.08504,
    "h": 356.7
  },
  "luminance": 0.02763
}

Semantic roles & 50–950 ramp

primary
#511B32
secondary
#418769
accent
#DA9E4E
background
#F8F5F6
surface
#EFE9EB
border
#CAC5C6
text
#0B0406
muted
#7C797A

Preview Lab

Preview with #511B32

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

Preview Lab → · Contrast checker → · Palette generator →

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