#511526#511526

#511526 is a dark, moderate pink. Relative luminance 0.024; OKLCH L 30.1% C 0.090 H 7.2°. Best body text is #FFFFFF at 14.14:1 contrast (WCAG AA passes).

Color values

HEX#511526
RGBrgb(81, 21, 38)
HSLhsl(343, 59%, 20%)
HSVhsv(343, 74%, 32%)
CMYKcmyk(0%, 74.1%, 53.1%, 68.2%)
CIE-LABlab(17.58, 29.34, 4.34)
CIE-LCHlch(17.58, 29.66, 8.42°)
OKLaboklab(30.11% 0.0894 0.0113)
OKLCHoklch(30.11% 0.09 7.2)
XYZxyz(4.0117, 2.4261, 2.0904)
Luminance0.0243 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#511526 #155140
analogous
#511544 #511526 #512215
triadic
#511526 #265115 #152651
tetradic
#511526 #445115 #155140 #221551
square
#511526 #445115 #155140 #221551
split-complementary
#511526 #155122 #154451
monochromatic
#18060B #20080F #511526 #82223D #B22E54

Accessibility & contrast

On white

14.14
#511526 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.49
#511526 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #511526
14.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##511526#FFFFFF#000000##FFFFFF
##5115261.0014.141.4914.14
#FFFFFF14.141.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#232426
Deuteranopia (green-blind)
#323025
Tritanopia (blue-blind)
#590B1C
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #511526;
/* rgb */ color: rgb(81, 21, 38);
/* oklch */ color: oklch(30.1% 0.090 7.2);
Tailwind
colors: {
  custom: {
    50: '#865760',
    500: '#511526',
    950: '#000000',
  },
}
SCSS
$custom: #511526;
$custom-light: #865760;
$custom-dark: #000000;
JSON
{
  "hex": "#511526",
  "rgb": {
    "r": 81,
    "g": 21,
    "b": 38
  },
  "hsl": {
    "h": 343,
    "s": 58.824,
    "l": 20
  },
  "oklch": {
    "l": 0.30108,
    "c": 0.09008,
    "h": 7.2
  },
  "luminance": 0.02426
}

Semantic roles & 50–950 ramp

primary
#511526
secondary
#398972
accent
#E2B646
background
#F8F5F5
surface
#F0E9E9
border
#CBC5C5
text
#0C0304
muted
#7D7879

Preview Lab

Preview with #511526

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

Preview Lab → · Contrast checker → · Palette generator →

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