#511146#511146

#511146 is a dark, moderate pink. Relative luminance 0.026; OKLCH L 31.1% C 0.114 H 335.8°. Best body text is #FFFFFF at 13.83:1 contrast (WCAG AA passes).

Color values

HEX#511146
RGBrgb(81, 17, 70)
HSLhsl(310, 65%, 19%)
HSVhsv(310, 79%, 32%)
CMYKcmyk(0%, 79%, 13.6%, 68.2%)
CIE-LABlab(18.33, 35.53, -17.11)
CIE-LCHlch(18.33, 39.43, 334.29°)
OKLaboklab(31.1% 0.104 -0.0466)
OKLCHoklch(31.1% 0.114 335.8)
XYZxyz(4.6993, 2.5928, 6.0461)
Luminance0.0259 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#511146 #11511C
analogous
#3C1151 #511146 #511126
triadic
#511146 #465111 #114651
tetradic
#511146 #513C11 #11511C #112651
square
#511146 #513C11 #11511C #112651
split-complementary
#511146 #265111 #11513C
monochromatic
#190516 #1E061A #511146 #841C72 #B6269D

Accessibility & contrast

On white

13.83
#511146 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.52
#511146 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #511146
13.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##511146#FFFFFF#000000##FFFFFF
##5111461.0013.831.5213.83
#FFFFFF13.831.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#122747
Deuteranopia (green-blind)
#283044
Tritanopia (blue-blind)
#55162A
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #511146;
/* rgb */ color: rgb(81, 17, 70);
/* oklch */ color: oklch(31.1% 0.114 335.8);
Tailwind
colors: {
  custom: {
    50: '#845679',
    500: '#511146',
    950: '#000000',
  },
}
SCSS
$custom: #511146;
$custom-light: #845679;
$custom-dark: #000000;
JSON
{
  "hex": "#511146",
  "rgb": {
    "r": 81,
    "g": 17,
    "b": 70
  },
  "hsl": {
    "h": 310.313,
    "s": 65.306,
    "l": 19.216
  },
  "oklch": {
    "l": 0.31104,
    "c": 0.11402,
    "h": 335.8
  },
  "luminance": 0.02592
}

Semantic roles & 50–950 ramp

primary
#511146
secondary
#348A42
accent
#E85D40
background
#F8F5F7
surface
#EFE9ED
border
#CAC5C8
text
#0B0309
muted
#7C787B

Preview Lab

Preview with #511146

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

Preview Lab → · Contrast checker → · Palette generator →

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