#511031#511031

#511031 is a dark, moderate pink. Relative luminance 0.023; OKLCH L 29.9% C 0.101 H 354.1°. Best body text is #FFFFFF at 14.30:1 contrast (WCAG AA passes).

Color values

HEX#511031
RGBrgb(81, 16, 49)
HSLhsl(330, 67%, 19%)
HSVhsv(330, 80%, 32%)
CMYKcmyk(0%, 80.2%, 39.5%, 68.2%)
CIE-LABlab(17.19, 32.77, -4.11)
CIE-LCHlch(17.19, 33.03, 352.86°)
OKLaboklab(29.94% 0.1005 -0.0104)
OKLCHoklch(29.94% 0.101 354.1)
XYZxyz(4.1333, 2.3422, 3.1396)
Luminance0.0234 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#511031 #105130
analogous
#511051 #511031 #511011
triadic
#511031 #315110 #103151
tetradic
#511031 #515110 #105130 #101151
square
#511031 #515110 #105130 #101151
split-complementary
#511031 #115110 #105151
monochromatic
#1A050F #1E0612 #511031 #841A50 #B7246F

Accessibility & contrast

On white

14.30
#511031 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #511031
14.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##511031#FFFFFF#000000##FFFFFF
##5110311.0014.301.4714.30
#FFFFFF14.301.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C2332
Deuteranopia (green-blind)
#2E2F30
Tritanopia (blue-blind)
#580A1E
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #511031;
/* rgb */ color: rgb(81, 16, 49);
/* oklch */ color: oklch(29.9% 0.101 354.1);
Tailwind
colors: {
  custom: {
    50: '#855569',
    500: '#511031',
    950: '#000000',
  },
}
SCSS
$custom: #511031;
$custom-light: #855569;
$custom-dark: #000000;
JSON
{
  "hex": "#511031",
  "rgb": {
    "r": 81,
    "g": 16,
    "b": 49
  },
  "hsl": {
    "h": 329.538,
    "s": 67.01,
    "l": 19.02
  },
  "oklch": {
    "l": 0.29944,
    "c": 0.10104,
    "h": 354.1
  },
  "luminance": 0.02342
}

Semantic roles & 50–950 ramp

primary
#511031
secondary
#328B5E
accent
#EA933E
background
#F8F5F6
surface
#F0E9EB
border
#CBC5C6
text
#0B0306
muted
#7C787A

Preview Lab

Preview with #511031

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

Preview Lab → · Contrast checker → · Palette generator →

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