#511B2B#511B2B

#511B2B is a dark, moderate pink. Relative luminance 0.027; OKLCH L 31.1% C 0.082 H 4.8°. Best body text is #FFFFFF at 13.62:1 contrast (WCAG AA passes).

Color values

HEX#511B2B
RGBrgb(81, 27, 43)
HSLhsl(342, 50%, 21%)
HSVhsv(342, 67%, 32%)
CMYKcmyk(0%, 66.7%, 46.9%, 68.2%)
CIE-LABlab(18.83, 26.92, 2.58)
CIE-LCHlch(18.83, 27.04, 5.46°)
OKLaboklab(31.09% 0.0821 0.0069)
OKLCHoklch(31.09% 0.082 4.8)
XYZxyz(4.2216, 2.7081, 2.5854)
Luminance0.0271 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#511B2B #1B5141
analogous
#511B46 #511B2B #51261B
triadic
#511B2B #2B511B #1B2B51
tetradic
#511B2B #46511B #1B5141 #261B51
square
#511B2B #46511B #1B5141 #261B51
split-complementary
#511B2B #1B5126 #1B4651
monochromatic
#17080C #230C13 #511B2B #7F2A43 #AD3A5C

Accessibility & contrast

On white

13.62
#511B2B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.54
#511B2B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #511B2B
13.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##511B2B#FFFFFF#000000##FFFFFF
##511B2B1.0013.621.5413.62
#FFFFFF13.621.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#26272B
Deuteranopia (green-blind)
#34322A
Tritanopia (blue-blind)
#581521
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #511b2b;
/* rgb */ color: rgb(81, 27, 43);
/* oklch */ color: oklch(31.1% 0.082 4.8);
Tailwind
colors: {
  custom: {
    50: '#855a64',
    500: '#511b2b',
    950: '#000000',
  },
}
SCSS
$custom: #511b2b;
$custom-light: #855a64;
$custom-dark: #000000;
JSON
{
  "hex": "#511b2b",
  "rgb": {
    "r": 81,
    "g": 27,
    "b": 43
  },
  "hsl": {
    "h": 342.222,
    "s": 50,
    "l": 21.176
  },
  "oklch": {
    "l": 0.31091,
    "c": 0.08235,
    "h": 4.8
  },
  "luminance": 0.02708
}

Semantic roles & 50–950 ramp

primary
#511B2B
secondary
#418772
accent
#DAB04E
background
#F8F5F5
surface
#F0E9EA
border
#CBC5C6
text
#0B0405
muted
#7C7979

Preview Lab

Preview with #511B2B

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

Preview Lab → · Contrast checker → · Palette generator →

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