#511B3E#511B3E

#511B3E is a dark, moderate pink. Relative luminance 0.029; OKLCH L 31.9% C 0.092 H 343.8°. Best body text is #FFFFFF at 13.32:1 contrast (WCAG AA passes).

Color values

HEX#511B3E
RGBrgb(81, 27, 62)
HSLhsl(321, 50%, 21%)
HSVhsv(321, 67%, 32%)
CMYKcmyk(0%, 66.7%, 23.5%, 68.2%)
CIE-LABlab(19.56, 29.65, -9.67)
CIE-LCHlch(19.56, 31.18, 341.94°)
OKLaboklab(31.87% 0.0888 -0.0257)
OKLCHoklch(31.87% 0.092 343.8)
XYZxyz(4.6549, 2.8814, 4.8675)
Luminance0.0288 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#511B3E #1B512E
analogous
#491B51 #511B3E #511B23
triadic
#511B3E #3E511B #1B3E51
tetradic
#511B3E #51491B #1B512E #1B2351
square
#511B3E #51491B #1B512E #1B2351
split-complementary
#511B3E #23511B #1B5149
monochromatic
#170812 #230C1B #511B3E #7F2A61 #AD3A84

Accessibility & contrast

On white

13.32
#511B3E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#511B3E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #511B3E
13.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##511B3E#FFFFFF#000000##FFFFFF
##511B3E1.0013.321.5813.32
#FFFFFF13.321.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#202A3F
Deuteranopia (green-blind)
#2F333D
Tritanopia (blue-blind)
#561B29
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #511b3e;
/* rgb */ color: rgb(81, 27, 62);
/* oklch */ color: oklch(31.9% 0.092 343.8);
Tailwind
colors: {
  custom: {
    50: '#845b73',
    500: '#511b3e',
    950: '#000000',
  },
}
SCSS
$custom: #511b3e;
$custom-light: #845b73;
$custom-dark: #000000;
JSON
{
  "hex": "#511b3e",
  "rgb": {
    "r": 81,
    "g": 27,
    "b": 62
  },
  "hsl": {
    "h": 321.111,
    "s": 50,
    "l": 21.176
  },
  "oklch": {
    "l": 0.3187,
    "c": 0.09249,
    "h": 343.8
  },
  "luminance": 0.02881
}

Semantic roles & 50–950 ramp

primary
#511B3E
secondary
#41875A
accent
#DA7F4E
background
#F8F5F6
surface
#EFE9EC
border
#CAC5C7
text
#0B0408
muted
#7C797B

Preview Lab

Preview with #511B3E

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

Preview Lab → · Contrast checker → · Palette generator →

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