#511346#511346

#511346 is a dark, moderate pink. Relative luminance 0.027; OKLCH L 31.3% C 0.111 H 335.9°. Best body text is #FFFFFF at 13.71:1 contrast (WCAG AA passes).

Color values

HEX#511346
RGBrgb(81, 19, 70)
HSLhsl(311, 62%, 20%)
HSVhsv(311, 77%, 32%)
CMYKcmyk(0%, 76.5%, 13.6%, 68.2%)
CIE-LABlab(18.62, 34.72, -16.66)
CIE-LCHlch(18.62, 38.51, 334.37°)
OKLaboklab(31.31% 0.1017 -0.0454)
OKLCHoklch(31.31% 0.111 335.9)
XYZxyz(4.7318, 2.6577, 6.0569)
Luminance0.0266 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#511346 #13511E
analogous
#3D1351 #511346 #511327
triadic
#511346 #465113 #134651
tetradic
#511346 #513D13 #13511E #132751
square
#511346 #513D13 #13511E #132751
split-complementary
#511346 #275113 #13513D
monochromatic
#190615 #1F071B #511346 #831F71 #B42A9C

Accessibility & contrast

On white

13.71
#511346 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.53
#511346 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #511346
13.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##511346#FFFFFF#000000##FFFFFF
##5113461.0013.711.5313.71
#FFFFFF13.711.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#142747
Deuteranopia (green-blind)
#293144
Tritanopia (blue-blind)
#55172A
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #511346;
/* rgb */ color: rgb(81, 19, 70);
/* oklch */ color: oklch(31.3% 0.111 335.9);
Tailwind
colors: {
  custom: {
    50: '#845779',
    500: '#511346',
    950: '#000000',
  },
}
SCSS
$custom: #511346;
$custom-light: #845779;
$custom-dark: #000000;
JSON
{
  "hex": "#511346",
  "rgb": {
    "r": 81,
    "g": 19,
    "b": 70
  },
  "hsl": {
    "h": 310.645,
    "s": 62,
    "l": 19.608
  },
  "oklch": {
    "l": 0.3131,
    "c": 0.11132,
    "h": 335.9
  },
  "luminance": 0.02657
}

Semantic roles & 50–950 ramp

primary
#511346
secondary
#368A45
accent
#E56043
background
#F8F5F7
surface
#EFE9ED
border
#CAC5C8
text
#0B0309
muted
#7C787B

Preview Lab

Preview with #511346

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

Preview Lab → · Contrast checker → · Palette generator →

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