#511B38#511B38

#511B38 is a dark, moderate pink. Relative luminance 0.028; OKLCH L 31.6% C 0.088 H 350.0°. Best body text is #FFFFFF at 13.43:1 contrast (WCAG AA passes).

Color values

HEX#511B38
RGBrgb(81, 27, 56)
HSLhsl(328, 50%, 21%)
HSVhsv(328, 67%, 32%)
CMYKcmyk(0%, 66.7%, 30.9%, 68.2%)
CIE-LABlab(19.30, 28.70, -5.88)
CIE-LCHlch(19.30, 29.29, 348.42°)
OKLaboklab(31.6% 0.087 -0.0153)
OKLCHoklch(31.6% 0.088 350)
XYZxyz(4.4993, 2.8192, 4.0478)
Luminance0.0282 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#511B38 #1B5134
analogous
#4F1B51 #511B38 #511B1D
triadic
#511B38 #38511B #1B3851
tetradic
#511B38 #514F1B #1B5134 #1B1D51
square
#511B38 #514F1B #1B5134 #1B1D51
split-complementary
#511B38 #1D511B #1B514F
monochromatic
#170810 #230C18 #511B38 #7F2A58 #AD3A77

Accessibility & contrast

On white

13.43
#511B38 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.56
#511B38 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #511B38
13.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##511B38#FFFFFF#000000##FFFFFF
##511B381.0013.431.5613.43
#FFFFFF13.431.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#222939
Deuteranopia (green-blind)
#313237
Tritanopia (blue-blind)
#571927
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #511b38;
/* rgb */ color: rgb(81, 27, 56);
/* oklch */ color: oklch(31.6% 0.088 350.0);
Tailwind
colors: {
  custom: {
    50: '#845b6e',
    500: '#511b38',
    950: '#000000',
  },
}
SCSS
$custom: #511b38;
$custom-light: #845b6e;
$custom-dark: #000000;
JSON
{
  "hex": "#511b38",
  "rgb": {
    "r": 81,
    "g": 27,
    "b": 56
  },
  "hsl": {
    "h": 327.778,
    "s": 50,
    "l": 21.176
  },
  "oklch": {
    "l": 0.31595,
    "c": 0.08837,
    "h": 350
  },
  "luminance": 0.02819
}

Semantic roles & 50–950 ramp

primary
#511B38
secondary
#418761
accent
#DA8F4E
background
#F8F5F6
surface
#EFE9EB
border
#CAC5C6
text
#0B0407
muted
#7C797A

Preview Lab

Preview with #511B38

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

Preview Lab → · Contrast checker → · Palette generator →

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