#511129#511129

#511129 is a dark, moderate pink. Relative luminance 0.023; OKLCH L 29.7% C 0.096 H 2.4°. Best body text is #FFFFFF at 14.36:1 contrast (WCAG AA passes).

Color values

HEX#511129
RGBrgb(81, 17, 41)
HSLhsl(338, 65%, 19%)
HSVhsv(338, 79%, 32%)
CMYKcmyk(0%, 79%, 49.4%, 68.2%)
CIE-LABlab(17.04, 31.42, 1.42)
CIE-LCHlch(17.04, 31.45, 2.58°)
OKLaboklab(29.74% 0.0962 0.004)
OKLCHoklch(29.74% 0.096 2.4)
XYZxyz(3.9943, 2.3108, 2.3331)
Luminance0.0231 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#511129 #115139
analogous
#511149 #511129 #511911
triadic
#511129 #295111 #112951
tetradic
#511129 #495111 #115139 #191151
square
#511129 #495111 #115139 #191151
split-complementary
#511129 #115119 #114951
monochromatic
#19050D #1E060F #511129 #841C43 #B6265C

Accessibility & contrast

On white

14.36
#511129 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #511129
14.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##511129#FFFFFF#000000##FFFFFF
##5111291.0014.361.4614.36
#FFFFFF14.361.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F222A
Deuteranopia (green-blind)
#302E28
Tritanopia (blue-blind)
#59071B
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #511129;
/* rgb */ color: rgb(81, 17, 41);
/* oklch */ color: oklch(29.7% 0.096 2.4);
Tailwind
colors: {
  custom: {
    50: '#865562',
    500: '#511129',
    950: '#000000',
  },
}
SCSS
$custom: #511129;
$custom-light: #865562;
$custom-dark: #000000;
JSON
{
  "hex": "#511129",
  "rgb": {
    "r": 81,
    "g": 17,
    "b": 41
  },
  "hsl": {
    "h": 337.5,
    "s": 65.306,
    "l": 19.216
  },
  "oklch": {
    "l": 0.29739,
    "c": 0.09632,
    "h": 2.4
  },
  "luminance": 0.0231
}

Semantic roles & 50–950 ramp

primary
#511129
secondary
#348A6A
accent
#E8A940
background
#F8F5F5
surface
#F0E9EA
border
#CBC5C6
text
#0C0305
muted
#7D7879

Preview Lab

Preview with #511129

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

Preview Lab → · Contrast checker → · Palette generator →

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