#511B3C#511B3C

#511B3C is a dark, moderate pink. Relative luminance 0.029; OKLCH L 31.8% C 0.091 H 345.8°. Best body text is #FFFFFF at 13.36:1 contrast (WCAG AA passes).

Color values

HEX#511B3C
RGBrgb(81, 27, 60)
HSLhsl(323, 50%, 21%)
HSVhsv(323, 67%, 32%)
CMYKcmyk(0%, 66.7%, 25.9%, 68.2%)
CIE-LABlab(19.47, 29.32, -8.41)
CIE-LCHlch(19.47, 30.50, 343.99°)
OKLaboklab(31.78% 0.0883 -0.0223)
OKLCHoklch(31.78% 0.091 345.8)
XYZxyz(4.6010, 2.8599, 4.5838)
Luminance0.0286 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#511B3C #1B5130
analogous
#4B1B51 #511B3C #511B21
triadic
#511B3C #3C511B #1B3C51
tetradic
#511B3C #514B1B #1B5130 #1B2151
square
#511B3C #514B1B #1B5130 #1B2151
split-complementary
#511B3C #21511B #1B514B
monochromatic
#170811 #230C1A #511B3C #7F2A5E #AD3A80

Accessibility & contrast

On white

13.36
#511B3C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.57
#511B3C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #511B3C
13.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##511B3C#FFFFFF#000000##FFFFFF
##511B3C1.0013.361.5713.36
#FFFFFF13.361.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#20293D
Deuteranopia (green-blind)
#30333B
Tritanopia (blue-blind)
#571A29
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #511b3c;
/* rgb */ color: rgb(81, 27, 60);
/* oklch */ color: oklch(31.8% 0.091 345.8);
Tailwind
colors: {
  custom: {
    50: '#845b71',
    500: '#511b3c',
    950: '#000000',
  },
}
SCSS
$custom: #511b3c;
$custom-light: #845b71;
$custom-dark: #000000;
JSON
{
  "hex": "#511b3c",
  "rgb": {
    "r": 81,
    "g": 27,
    "b": 60
  },
  "hsl": {
    "h": 323.333,
    "s": 50,
    "l": 21.176
  },
  "oklch": {
    "l": 0.31775,
    "c": 0.09104,
    "h": 345.8
  },
  "luminance": 0.02859
}

Semantic roles & 50–950 ramp

primary
#511B3C
secondary
#41875C
accent
#DA844E
background
#F8F5F6
surface
#EFE9EC
border
#CAC5C7
text
#0B0407
muted
#7C797A

Preview Lab

Preview with #511B3C

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

Preview Lab → · Contrast checker → · Palette generator →

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