#811B40#811B40

#811B40 is a dark, vivid pink. Relative luminance 0.058; OKLCH L 40.6% C 0.139 H 4.3°. Best body text is #FFFFFF at 9.70:1 contrast (WCAG AA passes).

Color values

HEX#811B40
RGBrgb(129, 27, 64)
HSLhsl(338, 65%, 31%)
HSVhsv(338, 79%, 51%)
CMYKcmyk(0%, 79.1%, 50.4%, 49.4%)
CIE-LABlab(28.96, 45.14, 3.91)
CIE-LCHlch(28.96, 45.30, 4.96°)
OKLaboklab(40.56% 0.1382 0.0104)
OKLCHoklch(40.56% 0.139 4.3)
XYZxyz(10.3715, 5.8226, 5.4272)
Luminance0.0582 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#811B40 #1B815C
analogous
#811B73 #811B40 #81291B
triadic
#811B40 #40811B #1B4081
tetradic
#811B40 #73811B #1B815C #291B81
square
#811B40 #73811B #1B815C #291B81
split-complementary
#811B40 #1B8129 #1B7381
monochromatic
#1C060E #4E1027 #811B40 #B42659 #D73F76

Accessibility & contrast

On white

9.70
#811B40 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#811B40 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #811B40
9.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##811B40#FFFFFF#000000##FFFFFF
##811B401.009.702.169.70
#FFFFFF9.701.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#343741
Deuteranopia (green-blind)
#4F4B3E
Tritanopia (blue-blind)
#8D022B
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #811b40;
/* rgb */ color: rgb(129, 27, 64);
/* oklch */ color: oklch(40.6% 0.139 4.3);
Tailwind
colors: {
  custom: {
    50: '#ab6274',
    500: '#811b40',
    950: '#000000',
  },
}
SCSS
$custom: #811b40;
$custom-light: #ab6274;
$custom-dark: #000000;
JSON
{
  "hex": "#811b40",
  "rgb": {
    "r": 129,
    "g": 27,
    "b": 64
  },
  "hsl": {
    "h": 338.235,
    "s": 65.385,
    "l": 30.588
  },
  "oklch": {
    "l": 0.40561,
    "c": 0.13854,
    "h": 4.3
  },
  "luminance": 0.05821
}

Semantic roles & 50–950 ramp

primary
#811B40
secondary
#43B58B
accent
#E8AB3F
background
#FBF6F7
surface
#F6EBED
border
#D0C6C8
text
#110608
muted
#807A7B

Preview Lab

Preview with #811B40

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

Preview Lab → · Contrast checker → · Palette generator →

#811B40 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva