#511F43#511F43

#511F43 is a dark, moderate pink. Relative luminance 0.031; OKLCH L 32.7% C 0.089 H 339.7°. Best body text is #FFFFFF at 12.91:1 contrast (WCAG AA passes).

Color values

HEX#511F43
RGBrgb(81, 31, 67)
HSLhsl(317, 45%, 22%)
HSVhsv(317, 62%, 32%)
CMYKcmyk(0%, 61.7%, 17.3%, 68.2%)
CIE-LABlab(20.58, 28.39, -11.56)
CIE-LCHlch(20.58, 30.65, 337.84°)
OKLaboklab(32.69% 0.0838 -0.0311)
OKLCHoklch(32.69% 0.089 339.7)
XYZxyz(4.8965, 3.1349, 5.6563)
Luminance0.0314 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#511F43 #1F512D
analogous
#461F51 #511F43 #511F2A
triadic
#511F43 #43511F #1F4351
tetradic
#511F43 #51461F #1F512D #1F2A51
square
#511F43 #51461F #1F512D #1F2A51
split-complementary
#511F43 #2A511F #1F5146
monochromatic
#160812 #250E1E #511F43 #7D3068 #AA418C

Accessibility & contrast

On white

12.91
#511F43 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#511F43 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #511F43
12.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##511F43#FFFFFF#000000##FFFFFF
##511F431.0012.911.6312.91
#FFFFFF12.911.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#212D44
Deuteranopia (green-blind)
#303442
Tritanopia (blue-blind)
#56202E
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #511f43;
/* rgb */ color: rgb(81, 31, 67);
/* oklch */ color: oklch(32.7% 0.089 339.7);
Tailwind
colors: {
  custom: {
    50: '#845d77',
    500: '#511f43',
    950: '#000000',
  },
}
SCSS
$custom: #511f43;
$custom-light: #845d77;
$custom-dark: #000000;
JSON
{
  "hex": "#511f43",
  "rgb": {
    "r": 81,
    "g": 31,
    "b": 67
  },
  "hsl": {
    "h": 316.8,
    "s": 44.643,
    "l": 21.961
  },
  "oklch": {
    "l": 0.32694,
    "c": 0.08938,
    "h": 339.7
  },
  "luminance": 0.03135
}

Semantic roles & 50–950 ramp

primary
#511F43
secondary
#468658
accent
#D47853
background
#F8F5F7
surface
#EFE9ED
border
#CAC5C8
text
#0B0408
muted
#7C797B

Preview Lab

Preview with #511F43

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

Preview Lab → · Contrast checker → · Palette generator →

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