#811A42#811A42

#811A42 is a dark, vivid pink. Relative luminance 0.058; OKLCH L 40.5% C 0.140 H 2.8°. Best body text is #FFFFFF at 9.72:1 contrast (WCAG AA passes).

Color values

HEX#811A42
RGBrgb(129, 26, 66)
HSLhsl(337, 66%, 30%)
HSVhsv(337, 80%, 51%)
CMYKcmyk(0%, 79.8%, 48.8%, 49.4%)
CIE-LABlab(28.90, 45.65, 2.50)
CIE-LCHlch(28.90, 45.72, 3.13°)
OKLaboklab(40.54% 0.14 0.0069)
OKLCHoklch(40.54% 0.14 2.8)
XYZxyz(10.4069, 5.8007, 5.7248)
Luminance0.0580 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#811A42 #1A8159
analogous
#811A75 #811A42 #81251A
triadic
#811A42 #42811A #1A4281
tetradic
#811A42 #75811A #1A8159 #251A81
square
#811A42 #75811A #1A8159 #251A81
split-complementary
#811A42 #1A8125 #1A7581
monochromatic
#1B050E #4E1028 #811A42 #B4245C #D83D79

Accessibility & contrast

On white

9.72
#811A42 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #811A42
9.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##811A42#FFFFFF#000000##FFFFFF
##811A421.009.722.169.72
#FFFFFF9.721.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#333743
Deuteranopia (green-blind)
#4E4B40
Tritanopia (blue-blind)
#8D012C
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #811a42;
/* rgb */ color: rgb(129, 26, 66);
/* oklch */ color: oklch(40.5% 0.140 2.8);
Tailwind
colors: {
  custom: {
    50: '#ab6276',
    500: '#811a42',
    950: '#000000',
  },
}
SCSS
$custom: #811a42;
$custom-light: #ab6276;
$custom-dark: #000000;
JSON
{
  "hex": "#811a42",
  "rgb": {
    "r": 129,
    "g": 26,
    "b": 66
  },
  "hsl": {
    "h": 336.699,
    "s": 66.452,
    "l": 30.392
  },
  "oklch": {
    "l": 0.40539,
    "c": 0.14014,
    "h": 2.8
  },
  "luminance": 0.05799
}

Semantic roles & 50–950 ramp

primary
#811A42
secondary
#42B588
accent
#E9A73E
background
#FBF6F7
surface
#F6EBED
border
#D0C6C8
text
#110608
muted
#807A7B

Preview Lab

Preview with #811A42

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

Preview Lab → · Contrast checker → · Palette generator →

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