#511122#511122

#511122 is a dark, moderate pink. Relative luminance 0.023; OKLCH L 29.5% C 0.095 H 9.6°. Best body text is #FFFFFF at 14.45:1 contrast (WCAG AA passes).

Color values

HEX#511122
RGBrgb(81, 17, 34)
HSLhsl(344, 65%, 19%)
HSVhsv(344, 79%, 32%)
CMYKcmyk(0%, 79%, 58%, 68.2%)
CIE-LABlab(16.83, 30.71, 6.16)
CIE-LCHlch(16.83, 31.32, 11.35°)
OKLaboklab(29.51% 0.0932 0.0157)
OKLCHoklch(29.51% 0.095 9.6)
XYZxyz(3.8829, 2.2663, 1.7460)
Luminance0.0227 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#511122 #115140
analogous
#511142 #511122 #512011
triadic
#511122 #225111 #112251
tetradic
#511122 #425111 #115140 #201151
square
#511122 #425111 #115140 #201151
split-complementary
#511122 #115120 #114251
monochromatic
#19050B #1E060D #511122 #841C37 #B6264C

Accessibility & contrast

On white

14.45
#511122 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.45
#511122 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #511122
14.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##511122#FFFFFF#000000##FFFFFF
##5111221.0014.451.4514.45
#FFFFFF14.451.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#212122
Deuteranopia (green-blind)
#322E20
Tritanopia (blue-blind)
#590418
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #511122;
/* rgb */ color: rgb(81, 17, 34);
/* oklch */ color: oklch(29.5% 0.095 9.6);
Tailwind
colors: {
  custom: {
    50: '#86555c',
    500: '#511122',
    950: '#000000',
  },
}
SCSS
$custom: #511122;
$custom-light: #86555c;
$custom-dark: #000000;
JSON
{
  "hex": "#511122",
  "rgb": {
    "r": 81,
    "g": 17,
    "b": 34
  },
  "hsl": {
    "h": 344.063,
    "s": 65.306,
    "l": 19.216
  },
  "oklch": {
    "l": 0.29511,
    "c": 0.09455,
    "h": 9.6
  },
  "luminance": 0.02266
}

Semantic roles & 50–950 ramp

primary
#511122
secondary
#348A73
accent
#E8BB40
background
#F8F5F5
surface
#F0E9E9
border
#CBC5C5
text
#0C0304
muted
#7D7879

Preview Lab

Preview with #511122

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

Preview Lab → · Contrast checker → · Palette generator →

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