#511126#511126

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

Color values

HEX#511126
RGBrgb(81, 17, 38)
HSLhsl(340, 65%, 19%)
HSVhsv(340, 79%, 32%)
CMYKcmyk(0%, 79%, 53.1%, 68.2%)
CIE-LABlab(16.94, 31.10, 3.44)
CIE-LCHlch(16.94, 31.29, 6.31°)
OKLaboklab(29.64% 0.095 0.0091)
OKLCHoklch(29.64% 0.095 5.5)
XYZxyz(3.9440, 2.2907, 2.0678)
Luminance0.0229 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#511126 #11513C
analogous
#511146 #511126 #511C11
triadic
#511126 #265111 #112651
tetradic
#511126 #465111 #11513C #1C1151
square
#511126 #465111 #11513C #1C1151
split-complementary
#511126 #11511C #114651
monochromatic
#19050C #1E060E #511126 #841C3E #B62655

Accessibility & contrast

On white

14.40
#511126 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.46
#511126 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #511126
14.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##511126#FFFFFF#000000##FFFFFF
##5111261.0014.401.4614.40
#FFFFFF14.401.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#202226
Deuteranopia (green-blind)
#312E24
Tritanopia (blue-blind)
#59051A
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #511126;
/* rgb */ color: rgb(81, 17, 38);
/* oklch */ color: oklch(29.6% 0.095 5.5);
Tailwind
colors: {
  custom: {
    50: '#865560',
    500: '#511126',
    950: '#000000',
  },
}
SCSS
$custom: #511126;
$custom-light: #865560;
$custom-dark: #000000;
JSON
{
  "hex": "#511126",
  "rgb": {
    "r": 81,
    "g": 17,
    "b": 38
  },
  "hsl": {
    "h": 340.313,
    "s": 65.306,
    "l": 19.216
  },
  "oklch": {
    "l": 0.29636,
    "c": 0.09542,
    "h": 5.5
  },
  "luminance": 0.0229
}

Semantic roles & 50–950 ramp

primary
#511126
secondary
#348A6E
accent
#E8B140
background
#F8F5F5
surface
#F0E9E9
border
#CBC5C5
text
#0C0304
muted
#7D7879

Preview Lab

Preview with #511126

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

Preview Lab → · Contrast checker → · Palette generator →

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