#511038#511038

#511038 is a dark, moderate pink. Relative luminance 0.024; OKLCH L 30.3% C 0.105 H 347.5°. Best body text is #FFFFFF at 14.18:1 contrast (WCAG AA passes).

Color values

HEX#511038
RGBrgb(81, 16, 56)
HSLhsl(323, 67%, 19%)
HSVhsv(323, 80%, 32%)
CMYKcmyk(0%, 80.2%, 30.9%, 68.2%)
CIE-LABlab(17.49, 33.72, -8.63)
CIE-LCHlch(17.49, 34.80, 345.64°)
OKLaboklab(30.26% 0.1026 -0.0228)
OKLCHoklch(30.26% 0.105 347.5)
XYZxyz(4.2926, 2.4059, 3.9789)
Luminance0.0240 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#511038 #105129
analogous
#4A1051 #511038 #511018
triadic
#511038 #385110 #103851
tetradic
#511038 #514A10 #105129 #101851
square
#511038 #514A10 #105129 #101851
split-complementary
#511038 #185110 #10514A
monochromatic
#1A0512 #1E0615 #511038 #841A5B #B7247F

Accessibility & contrast

On white

14.18
#511038 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.48
#511038 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #511038
14.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##511038#FFFFFF#000000##FFFFFF
##5110381.0014.181.4814.18
#FFFFFF14.181.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#192439
Deuteranopia (green-blind)
#2C2F37
Tritanopia (blue-blind)
#570E22
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #511038;
/* rgb */ color: rgb(81, 16, 56);
/* oklch */ color: oklch(30.3% 0.105 347.5);
Tailwind
colors: {
  custom: {
    50: '#85556e',
    500: '#511038',
    950: '#000000',
  },
}
SCSS
$custom: #511038;
$custom-light: #85556e;
$custom-dark: #000000;
JSON
{
  "hex": "#511038",
  "rgb": {
    "r": 81,
    "g": 16,
    "b": 56
  },
  "hsl": {
    "h": 323.077,
    "s": 67.01,
    "l": 19.02
  },
  "oklch": {
    "l": 0.3026,
    "c": 0.10508,
    "h": 347.5
  },
  "luminance": 0.02405
}

Semantic roles & 50–950 ramp

primary
#511038
secondary
#328B54
accent
#EA803E
background
#F8F5F6
surface
#F0E9EC
border
#CBC5C7
text
#0B0307
muted
#7C787A

Preview Lab

Preview with #511038

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

Preview Lab → · Contrast checker → · Palette generator →

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