#511028#511028

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

Color values

HEX#511028
RGBrgb(81, 16, 40)
HSLhsl(338, 67%, 19%)
HSVhsv(338, 80%, 32%)
CMYKcmyk(0%, 80.2%, 50.6%, 68.2%)
CIE-LABlab(16.86, 31.72, 1.88)
CIE-LCHlch(16.86, 31.77, 3.39°)
OKLaboklab(29.6% 0.0971 0.0052)
OKLCHoklch(29.6% 0.097 3)
XYZxyz(3.9620, 2.2736, 2.2373)
Luminance0.0227 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#511028 #105139
analogous
#511049 #511028 #511910
triadic
#511028 #285110 #102851
tetradic
#511028 #495110 #105139 #191051
square
#511028 #495110 #105139 #191051
split-complementary
#511028 #105119 #104951
monochromatic
#1A050D #1E060F #511028 #841A41 #B7245A

Accessibility & contrast

On white

14.44
#511028 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #511028
14.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##511028#FFFFFF#000000##FFFFFF
##5110281.0014.441.4514.44
#FFFFFF14.441.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F2229
Deuteranopia (green-blind)
#302E26
Tritanopia (blue-blind)
#59051A
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #511028;
/* rgb */ color: rgb(81, 16, 40);
/* oklch */ color: oklch(29.6% 0.097 3.0);
Tailwind
colors: {
  custom: {
    50: '#865561',
    500: '#511028',
    950: '#000000',
  },
}
SCSS
$custom: #511028;
$custom-light: #865561;
$custom-dark: #000000;
JSON
{
  "hex": "#511028",
  "rgb": {
    "r": 81,
    "g": 16,
    "b": 40
  },
  "hsl": {
    "h": 337.846,
    "s": 67.01,
    "l": 19.02
  },
  "oklch": {
    "l": 0.29596,
    "c": 0.09727,
    "h": 3
  },
  "luminance": 0.02273
}

Semantic roles & 50–950 ramp

primary
#511028
secondary
#328B6A
accent
#EAAA3E
background
#F8F5F5
surface
#F0E9E9
border
#CBC5C5
text
#0C0305
muted
#7D7879

Preview Lab

Preview with #511028

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

Preview Lab → · Contrast checker → · Palette generator →

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