#511E3F#511E3F

#511E3F is a dark, moderate pink. Relative luminance 0.030; OKLCH L 32.4% C 0.088 H 343.5°. Best body text is #FFFFFF at 13.06:1 contrast (WCAG AA passes).

Color values

HEX#511E3F
RGBrgb(81, 30, 63)
HSLhsl(321, 46%, 22%)
HSVhsv(321, 63%, 32%)
CMYKcmyk(0%, 63%, 22.2%, 68.2%)
CIE-LABlab(20.19, 28.23, -9.40)
CIE-LCHlch(20.19, 29.76, 341.59°)
OKLaboklab(32.35% 0.0843 -0.025)
OKLCHoklch(32.35% 0.088 343.5)
XYZxyz(4.7549, 3.0372, 5.0375)
Luminance0.0304 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#511E3F #1E5130
analogous
#4A1E51 #511E3F #511E26
triadic
#511E3F #3F511E #1E3F51
tetradic
#511E3F #514A1E #1E5130 #1E2651
square
#511E3F #514A1E #1E5130 #1E2651
split-complementary
#511E3F #26511E #1E514A
monochromatic
#160811 #240D1C #511E3F #7E2F62 #AA3F84

Accessibility & contrast

On white

13.06
#511E3F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#511E3F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #511E3F
13.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##511E3F#FFFFFF#000000##FFFFFF
##511E3F1.0013.061.6113.06
#FFFFFF13.061.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#222B40
Deuteranopia (green-blind)
#30343E
Tritanopia (blue-blind)
#561E2B
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #511e3f;
/* rgb */ color: rgb(81, 30, 63);
/* oklch */ color: oklch(32.4% 0.088 343.5);
Tailwind
colors: {
  custom: {
    50: '#845d74',
    500: '#511e3f',
    950: '#000000',
  },
}
SCSS
$custom: #511e3f;
$custom-light: #845d74;
$custom-dark: #000000;
JSON
{
  "hex": "#511e3f",
  "rgb": {
    "r": 81,
    "g": 30,
    "b": 63
  },
  "hsl": {
    "h": 321.176,
    "s": 45.946,
    "l": 21.765
  },
  "oklch": {
    "l": 0.3235,
    "c": 0.08797,
    "h": 343.5
  },
  "luminance": 0.03037
}

Semantic roles & 50–950 ramp

primary
#511E3F
secondary
#45865C
accent
#D68152
background
#F8F5F7
surface
#EFE9ED
border
#CAC5C8
text
#0B0408
muted
#7C797B

Preview Lab

Preview with #511E3F

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

Preview Lab → · Contrast checker → · Palette generator →

#511E3F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva