#511027#511027

#511027 is a dark, moderate pink. Relative luminance 0.023; OKLCH L 29.6% C 0.097 H 4.1°. Best body text is #FFFFFF at 14.45:1 contrast (WCAG AA passes).

Color values

HEX#511027
RGBrgb(81, 16, 39)
HSLhsl(339, 67%, 19%)
HSVhsv(339, 80%, 32%)
CMYKcmyk(0%, 80.2%, 51.9%, 68.2%)
CIE-LABlab(16.83, 31.61, 2.55)
CIE-LCHlch(16.83, 31.71, 4.62°)
OKLaboklab(29.56% 0.0967 0.0069)
OKLCHoklch(29.56% 0.097 4.1)
XYZxyz(3.9452, 2.2669, 2.1489)
Luminance0.0227 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#511027 #10513A
analogous
#511048 #511027 #511A10
triadic
#511027 #275110 #102751
tetradic
#511027 #485110 #10513A #1A1051
square
#511027 #485110 #10513A #1A1051
split-complementary
#511027 #10511A #104851
monochromatic
#1A050C #1E060E #511027 #841A40 #B72458

Accessibility & contrast

On white

14.45
#511027 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.45
#511027 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #511027
14.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##511027#FFFFFF#000000##FFFFFF
##5110271.0014.451.4514.45
#FFFFFF14.451.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F2128
Deuteranopia (green-blind)
#302E25
Tritanopia (blue-blind)
#59041A
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #511027;
/* rgb */ color: rgb(81, 16, 39);
/* oklch */ color: oklch(29.6% 0.097 4.1);
Tailwind
colors: {
  custom: {
    50: '#865560',
    500: '#511027',
    950: '#000000',
  },
}
SCSS
$custom: #511027;
$custom-light: #865560;
$custom-dark: #000000;
JSON
{
  "hex": "#511027",
  "rgb": {
    "r": 81,
    "g": 16,
    "b": 39
  },
  "hsl": {
    "h": 338.769,
    "s": 67.01,
    "l": 19.02
  },
  "oklch": {
    "l": 0.29562,
    "c": 0.09696,
    "h": 4.1
  },
  "luminance": 0.02266
}

Semantic roles & 50–950 ramp

primary
#511027
secondary
#328B6B
accent
#EAAD3E
background
#F8F5F5
surface
#F0E9E9
border
#CBC5C5
text
#0C0305
muted
#7D7879

Preview Lab

Preview with #511027

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

Preview Lab → · Contrast checker → · Palette generator →

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