#511133#511133

#511133 is a dark, moderate pink. Relative luminance 0.024; OKLCH L 30.1% C 0.101 H 352.4°. Best body text is #FFFFFF at 14.21:1 contrast (WCAG AA passes).

Color values

HEX#511133
RGBrgb(81, 17, 51)
HSLhsl(328, 65%, 19%)
HSVhsv(328, 79%, 32%)
CMYKcmyk(0%, 79%, 37%, 68.2%)
CIE-LABlab(17.41, 32.63, -5.20)
CIE-LCHlch(17.41, 33.04, 350.95°)
OKLaboklab(30.13% 0.0999 -0.0134)
OKLCHoklch(30.13% 0.101 352.4)
XYZxyz(4.1916, 2.3897, 3.3719)
Luminance0.0239 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#511133 #11512F
analogous
#4F1151 #511133 #511113
triadic
#511133 #335111 #113351
tetradic
#511133 #514F11 #11512F #111351
square
#511133 #514F11 #11512F #111351
split-complementary
#511133 #135111 #11514F
monochromatic
#190510 #1E0613 #511133 #841C53 #B62673

Accessibility & contrast

On white

14.21
#511133 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #511133
14.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##511133#FFFFFF#000000##FFFFFF
##5111331.0014.211.4814.21
#FFFFFF14.211.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C2334
Deuteranopia (green-blind)
#2E2F32
Tritanopia (blue-blind)
#580C20
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #511133;
/* rgb */ color: rgb(81, 17, 51);
/* oklch */ color: oklch(30.1% 0.101 352.4);
Tailwind
colors: {
  custom: {
    50: '#85566a',
    500: '#511133',
    950: '#000000',
  },
}
SCSS
$custom: #511133;
$custom-light: #85566a;
$custom-dark: #000000;
JSON
{
  "hex": "#511133",
  "rgb": {
    "r": 81,
    "g": 17,
    "b": 51
  },
  "hsl": {
    "h": 328.125,
    "s": 65.306,
    "l": 19.216
  },
  "oklch": {
    "l": 0.30134,
    "c": 0.10078,
    "h": 352.4
  },
  "luminance": 0.02389
}

Semantic roles & 50–950 ramp

primary
#511133
secondary
#348A5C
accent
#E88F40
background
#F8F5F6
surface
#F0E9EB
border
#CBC5C6
text
#0B0306
muted
#7C787A

Preview Lab

Preview with #511133

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

Preview Lab → · Contrast checker → · Palette generator →

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