#511B3B#511B3B

#511B3B is a dark, moderate pink. Relative luminance 0.028; OKLCH L 31.7% C 0.090 H 346.9°. Best body text is #FFFFFF at 13.38:1 contrast (WCAG AA passes).

Color values

HEX#511B3B
RGBrgb(81, 27, 59)
HSLhsl(324, 50%, 21%)
HSVhsv(324, 67%, 32%)
CMYKcmyk(0%, 66.7%, 27.2%, 68.2%)
CIE-LABlab(19.43, 29.16, -7.78)
CIE-LCHlch(19.43, 30.18, 345.06°)
OKLaboklab(31.73% 0.088 -0.0205)
OKLCHoklch(31.73% 0.09 346.9)
XYZxyz(4.5749, 2.8494, 4.4459)
Luminance0.0285 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#511B3B #1B5131
analogous
#4C1B51 #511B3B #511B20
triadic
#511B3B #3B511B #1B3B51
tetradic
#511B3B #514C1B #1B5131 #1B2051
square
#511B3B #514C1B #1B5131 #1B2051
split-complementary
#511B3B #20511B #1B514C
monochromatic
#170811 #230C1A #511B3B #7F2A5C #AD3A7E

Accessibility & contrast

On white

13.38
#511B3B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #511B3B
13.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##511B3B#FFFFFF#000000##FFFFFF
##511B3B1.0013.381.5713.38
#FFFFFF13.381.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#21293C
Deuteranopia (green-blind)
#30323A
Tritanopia (blue-blind)
#571A28
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #511b3b;
/* rgb */ color: rgb(81, 27, 59);
/* oklch */ color: oklch(31.7% 0.090 346.9);
Tailwind
colors: {
  custom: {
    50: '#845b71',
    500: '#511b3b',
    950: '#000000',
  },
}
SCSS
$custom: #511b3b;
$custom-light: #845b71;
$custom-dark: #000000;
JSON
{
  "hex": "#511b3b",
  "rgb": {
    "r": 81,
    "g": 27,
    "b": 59
  },
  "hsl": {
    "h": 324.444,
    "s": 50,
    "l": 21.176
  },
  "oklch": {
    "l": 0.31729,
    "c": 0.09034,
    "h": 346.9
  },
  "luminance": 0.02849
}

Semantic roles & 50–950 ramp

primary
#511B3B
secondary
#41875D
accent
#DA874E
background
#F8F5F6
surface
#EFE9EC
border
#CAC5C7
text
#0B0407
muted
#7C797A

Preview Lab

Preview with #511B3B

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

Preview Lab → · Contrast checker → · Palette generator →

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