#511B2C#511B2C

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

Color values

HEX#511B2C
RGBrgb(81, 27, 44)
HSLhsl(341, 50%, 21%)
HSVhsv(341, 67%, 32%)
CMYKcmyk(0%, 66.7%, 45.7%, 68.2%)
CIE-LABlab(18.87, 27.05, 1.91)
CIE-LCHlch(18.87, 27.11, 4.05°)
OKLaboklab(31.13% 0.0825 0.0053)
OKLCHoklch(31.13% 0.083 3.6)
XYZxyz(4.2402, 2.7155, 2.6832)
Luminance0.0272 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#511B2C #1B5140
analogous
#511B47 #511B2C #51251B
triadic
#511B2C #2C511B #1B2C51
tetradic
#511B2C #47511B #1B5140 #251B51
square
#511B2C #47511B #1B5140 #251B51
split-complementary
#511B2C #1B5125 #1B4751
monochromatic
#17080C #230C13 #511B2C #7F2A45 #AD3A5E

Accessibility & contrast

On white

13.61
#511B2C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #511B2C
13.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##511B2C#FFFFFF#000000##FFFFFF
##511B2C1.0013.611.5413.61
#FFFFFF13.611.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#25272C
Deuteranopia (green-blind)
#34322B
Tritanopia (blue-blind)
#581522
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #511b2c;
/* rgb */ color: rgb(81, 27, 44);
/* oklch */ color: oklch(31.1% 0.083 3.6);
Tailwind
colors: {
  custom: {
    50: '#855a64',
    500: '#511b2c',
    950: '#000000',
  },
}
SCSS
$custom: #511b2c;
$custom-light: #855a64;
$custom-dark: #000000;
JSON
{
  "hex": "#511b2c",
  "rgb": {
    "r": 81,
    "g": 27,
    "b": 44
  },
  "hsl": {
    "h": 341.111,
    "s": 50,
    "l": 21.176
  },
  "oklch": {
    "l": 0.31125,
    "c": 0.08266,
    "h": 3.6
  },
  "luminance": 0.02715
}

Semantic roles & 50–950 ramp

primary
#511B2C
secondary
#418771
accent
#DAAE4E
background
#F8F5F6
surface
#F0E9EB
border
#CBC5C6
text
#0B0405
muted
#7C797A

Preview Lab

Preview with #511B2C

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

Preview Lab → · Contrast checker → · Palette generator →

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