#511541#511541

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

Color values

HEX#511541
RGBrgb(81, 21, 65)
HSLhsl(316, 59%, 20%)
HSVhsv(316, 74%, 32%)
CMYKcmyk(0%, 74.1%, 19.8%, 68.2%)
CIE-LABlab(18.66, 33.02, -13.13)
CIE-LCHlch(18.66, 35.54, 338.31°)
OKLaboklab(31.26% 0.0983 -0.0354)
OKLCHoklch(31.26% 0.104 340.2)
XYZxyz(4.6158, 2.6677, 5.2718)
Luminance0.0267 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#511541 #155125
analogous
#431551 #511541 #511523
triadic
#511541 #415115 #154151
tetradic
#511541 #514315 #155125 #152351
square
#511541 #514315 #155125 #152351
split-complementary
#511541 #235115 #155143
monochromatic
#180614 #20081A #511541 #822268 #B22E8F

Accessibility & contrast

On white

13.70
#511541 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #511541
13.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##511541#FFFFFF#000000##FFFFFF
##5115411.0013.701.5313.70
#FFFFFF13.701.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#192742
Deuteranopia (green-blind)
#2B3140
Tritanopia (blue-blind)
#561728
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #511541;
/* rgb */ color: rgb(81, 21, 65);
/* oklch */ color: oklch(31.3% 0.104 340.2);
Tailwind
colors: {
  custom: {
    50: '#845875',
    500: '#511541',
    950: '#000000',
  },
}
SCSS
$custom: #511541;
$custom-light: #845875;
$custom-dark: #000000;
JSON
{
  "hex": "#511541",
  "rgb": {
    "r": 81,
    "g": 21,
    "b": 65
  },
  "hsl": {
    "h": 316,
    "s": 58.824,
    "l": 20
  },
  "oklch": {
    "l": 0.31256,
    "c": 0.10445,
    "h": 340.2
  },
  "luminance": 0.02667
}

Semantic roles & 50–950 ramp

primary
#511541
secondary
#39894E
accent
#E26F46
background
#F8F5F7
surface
#EFE9ED
border
#CAC5C8
text
#0B0308
muted
#7C787B

Preview Lab

Preview with #511541

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

Preview Lab → · Contrast checker → · Palette generator →

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