#511628#511628

#511628 is a dark, moderate pink. Relative luminance 0.025; OKLCH L 30.3% C 0.089 H 5.5°. Best body text is #FFFFFF at 14.04:1 contrast (WCAG AA passes).

Color values

HEX#511628
RGBrgb(81, 22, 40)
HSLhsl(342, 57%, 20%)
HSVhsv(342, 73%, 32%)
CMYKcmyk(0%, 72.8%, 50.6%, 68.2%)
CIE-LABlab(17.81, 29.09, 3.24)
CIE-LCHlch(17.81, 29.27, 6.37°)
OKLaboklab(30.3% 0.0887 0.0086)
OKLCHoklch(30.3% 0.089 5.5)
XYZxyz(4.0636, 2.4769, 2.2712)
Luminance0.0248 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#511628 #16513F
analogous
#511645 #511628 #512116
triadic
#511628 #285116 #162851
tetradic
#511628 #455116 #16513F #211651
square
#511628 #455116 #16513F #211651
split-complementary
#511628 #165121 #164551
monochromatic
#18070C #210910 #511628 #812340 #B13058

Accessibility & contrast

On white

14.04
#511628 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.50
#511628 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #511628
14.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##511628#FFFFFF#000000##FFFFFF
##5116281.0014.041.5014.04
#FFFFFF14.041.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF14.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#232428
Deuteranopia (green-blind)
#323027
Tritanopia (blue-blind)
#590D1D
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #511628;
/* rgb */ color: rgb(81, 22, 40);
/* oklch */ color: oklch(30.3% 0.089 5.5);
Tailwind
colors: {
  custom: {
    50: '#855861',
    500: '#511628',
    950: '#000000',
  },
}
SCSS
$custom: #511628;
$custom-light: #855861;
$custom-dark: #000000;
JSON
{
  "hex": "#511628",
  "rgb": {
    "r": 81,
    "g": 22,
    "b": 40
  },
  "hsl": {
    "h": 341.695,
    "s": 57.282,
    "l": 20.196
  },
  "oklch": {
    "l": 0.303,
    "c": 0.08915,
    "h": 5.5
  },
  "luminance": 0.02476
}

Semantic roles & 50–950 ramp

primary
#511628
secondary
#3A8871
accent
#E1B247
background
#F8F5F5
surface
#F0E9E9
border
#CBC5C5
text
#0C0305
muted
#7D7879

Preview Lab

Preview with #511628

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

Preview Lab → · Contrast checker → · Palette generator →

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