#811240#811240

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

Color values

HEX#811240
RGBrgb(129, 18, 64)
HSLhsl(335, 76%, 29%)
HSVhsv(335, 86%, 51%)
CMYKcmyk(0%, 86%, 50.4%, 49.4%)
CIE-LABlab(28.04, 47.76, 2.59)
CIE-LCHlch(28.04, 47.83, 3.10°)
OKLaboklab(39.88% 0.1466 0.0071)
OKLCHoklch(39.88% 0.147 2.8)
XYZxyz(10.1959, 5.4713, 5.3687)
Luminance0.0547 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#811240 #128153
analogous
#811278 #811240 #811C12
triadic
#811240 #408112 #124081
tetradic
#811240 #788112 #128153 #1C1281
square
#811240 #788112 #128153 #1C1281
split-complementary
#811240 #12811C #127881
monochromatic
#1B040D #4B0B25 #811240 #B7195B #E22C77

Accessibility & contrast

On white

10.03
#811240 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#811240 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #811240
10.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##811240#FFFFFF#000000##FFFFFF
##8112401.0010.032.0910.03
#FFFFFF10.031.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#303541
Deuteranopia (green-blind)
#4D4A3D
Tritanopia (blue-blind)
#8D0028
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #811240;
/* rgb */ color: rgb(129, 18, 64);
/* oklch */ color: oklch(39.9% 0.147 2.8);
Tailwind
colors: {
  custom: {
    50: '#ab5f74',
    500: '#811240',
    950: '#000000',
  },
}
SCSS
$custom: #811240;
$custom-light: #ab5f74;
$custom-dark: #000000;
JSON
{
  "hex": "#811240",
  "rgb": {
    "r": 129,
    "g": 18,
    "b": 64
  },
  "hsl": {
    "h": 335.135,
    "s": 75.51,
    "l": 28.824
  },
  "oklch": {
    "l": 0.39884,
    "c": 0.14678,
    "h": 2.8
  },
  "luminance": 0.0547
}

Semantic roles & 50–950 ramp

primary
#811240
secondary
#38B782
accent
#F2A436
background
#FBF5F7
surface
#F6EAED
border
#D0C6C8
text
#110508
muted
#80797B

Preview Lab

Preview with #811240

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

Preview Lab → · Contrast checker → · Palette generator →

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