#811242#811242

#811242 is a dark, vivid pink. Relative luminance 0.055; OKLCH L 40.0% C 0.147 H 1.5°. Best body text is #FFFFFF at 10.01:1 contrast (WCAG AA passes).

Color values

HEX#811242
RGBrgb(129, 18, 66)
HSLhsl(334, 76%, 29%)
HSVhsv(334, 86%, 51%)
CMYKcmyk(0%, 86%, 48.8%, 49.4%)
CIE-LABlab(28.10, 47.94, 1.33)
CIE-LCHlch(28.10, 47.96, 1.59°)
OKLaboklab(39.95% 0.1474 0.0039)
OKLCHoklch(39.95% 0.147 1.5)
XYZxyz(10.2538, 5.4945, 5.6738)
Luminance0.0549 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#811242 #128151
analogous
#81127A #811242 #811A12
triadic
#811242 #428112 #124281
tetradic
#811242 #7A8112 #128151 #1A1281
square
#811242 #7A8112 #128151 #1A1281
split-complementary
#811242 #12811A #127A81
monochromatic
#1B040E #4B0B27 #811242 #B7195D #E22C7A

Accessibility & contrast

On white

10.01
#811242 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#811242 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #811242
10.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##811242#FFFFFF#000000##FFFFFF
##8112421.0010.012.1010.01
#FFFFFF10.011.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF10.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F3543
Deuteranopia (green-blind)
#4D4A3F
Tritanopia (blue-blind)
#8D0029
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #811242;
/* rgb */ color: rgb(129, 18, 66);
/* oklch */ color: oklch(40.0% 0.147 1.5);
Tailwind
colors: {
  custom: {
    50: '#ab5f76',
    500: '#811242',
    950: '#000000',
  },
}
SCSS
$custom: #811242;
$custom-light: #ab5f76;
$custom-dark: #000000;
JSON
{
  "hex": "#811242",
  "rgb": {
    "r": 129,
    "g": 18,
    "b": 66
  },
  "hsl": {
    "h": 334.054,
    "s": 75.51,
    "l": 28.824
  },
  "oklch": {
    "l": 0.3995,
    "c": 0.1474,
    "h": 1.5
  },
  "luminance": 0.05493
}

Semantic roles & 50–950 ramp

primary
#811242
secondary
#38B780
accent
#F2A136
background
#FBF5F7
surface
#F6EAED
border
#D0C6C8
text
#110508
muted
#80797B

Preview Lab

Preview with #811242

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

Preview Lab → · Contrast checker → · Palette generator →

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