#511236#511236

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

Color values

HEX#511236
RGBrgb(81, 18, 54)
HSLhsl(326, 64%, 19%)
HSVhsv(326, 78%, 32%)
CMYKcmyk(0%, 77.8%, 33.3%, 68.2%)
CIE-LABlab(17.69, 32.63, -6.92)
CIE-LCHlch(17.69, 33.35, 348.03°)
OKLaboklab(30.38% 0.0995 -0.0181)
OKLCHoklch(30.38% 0.101 349.7)
XYZxyz(4.2757, 2.4488, 3.7368)
Luminance0.0245 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#511236 #12512D
analogous
#4D1251 #511236 #511217
triadic
#511236 #365112 #123651
tetradic
#511236 #514D12 #12512D #121751
square
#511236 #514D12 #12512D #121751
split-complementary
#511236 #175112 #12514D
monochromatic
#190611 #1F0715 #511236 #831D57 #B52879

Accessibility & contrast

On white

14.10
#511236 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.49
#511236 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #511236
14.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##511236#FFFFFF#000000##FFFFFF
##5112361.0014.101.4914.10
#FFFFFF14.101.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C2437
Deuteranopia (green-blind)
#2E2F35
Tritanopia (blue-blind)
#570F22
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #511236;
/* rgb */ color: rgb(81, 18, 54);
/* oklch */ color: oklch(30.4% 0.101 349.7);
Tailwind
colors: {
  custom: {
    50: '#85566d',
    500: '#511236',
    950: '#000000',
  },
}
SCSS
$custom: #511236;
$custom-light: #85566d;
$custom-dark: #000000;
JSON
{
  "hex": "#511236",
  "rgb": {
    "r": 81,
    "g": 18,
    "b": 54
  },
  "hsl": {
    "h": 325.714,
    "s": 63.636,
    "l": 19.412
  },
  "oklch": {
    "l": 0.30375,
    "c": 0.10115,
    "h": 349.7
  },
  "luminance": 0.02448
}

Semantic roles & 50–950 ramp

primary
#511236
secondary
#358A59
accent
#E78841
background
#F8F5F6
surface
#F0E9EB
border
#CBC5C6
text
#0B0307
muted
#7C787A

Preview Lab

Preview with #511236

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

Preview Lab → · Contrast checker → · Palette generator →

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