#511327#511327

#511327 is a dark, moderate pink. Relative luminance 0.024; OKLCH L 29.9% C 0.093 H 5.2°. Best body text is #FFFFFF at 14.26:1 contrast (WCAG AA passes).

Color values

HEX#511327
RGBrgb(81, 19, 39)
HSLhsl(341, 62%, 20%)
HSVhsv(341, 77%, 32%)
CMYKcmyk(0%, 76.5%, 51.9%, 68.2%)
CIE-LABlab(17.28, 30.35, 3.20)
CIE-LCHlch(17.28, 30.52, 6.03°)
OKLaboklab(29.9% 0.0927 0.0085)
OKLCHoklch(29.9% 0.093 5.2)
XYZxyz(3.9927, 2.3621, 2.1647)
Luminance0.0236 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#511327 #13513D
analogous
#511346 #511327 #511E13
triadic
#511327 #275113 #132751
tetradic
#511327 #465113 #13513D #1E1351
square
#511327 #465113 #13513D #1E1351
split-complementary
#511327 #13511E #134651
monochromatic
#19060C #1F070F #511327 #831F3F #B42A57

Accessibility & contrast

On white

14.26
#511327 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.47
#511327 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #511327
14.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##511327#FFFFFF#000000##FFFFFF
##5113271.0014.261.4714.26
#FFFFFF14.261.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#212327
Deuteranopia (green-blind)
#312F26
Tritanopia (blue-blind)
#59091B
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #511327;
/* rgb */ color: rgb(81, 19, 39);
/* oklch */ color: oklch(29.9% 0.093 5.2);
Tailwind
colors: {
  custom: {
    50: '#865660',
    500: '#511327',
    950: '#000000',
  },
}
SCSS
$custom: #511327;
$custom-light: #865660;
$custom-dark: #000000;
JSON
{
  "hex": "#511327",
  "rgb": {
    "r": 81,
    "g": 19,
    "b": 39
  },
  "hsl": {
    "h": 340.645,
    "s": 62,
    "l": 19.608
  },
  "oklch": {
    "l": 0.29897,
    "c": 0.09307,
    "h": 5.2
  },
  "luminance": 0.02362
}

Semantic roles & 50–950 ramp

primary
#511327
secondary
#368A6F
accent
#E5B143
background
#F8F5F5
surface
#F0E9E9
border
#CBC5C5
text
#0C0305
muted
#7D7879

Preview Lab

Preview with #511327

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

Preview Lab → · Contrast checker → · Palette generator →

#511327 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva