#812259#812259

#812259 is a dark, vivid pink. Relative luminance 0.065; OKLCH L 42.1% C 0.141 H 349.3°. Best body text is #FFFFFF at 9.11:1 contrast (WCAG AA passes).

Color values

HEX#812259
RGBrgb(129, 34, 89)
HSLhsl(325, 58%, 32%)
HSVhsv(325, 74%, 51%)
CMYKcmyk(0%, 73.6%, 31%, 49.4%)
CIE-LABlab(30.72, 45.41, -10.01)
CIE-LCHlch(30.72, 46.50, 347.57°)
OKLaboklab(42.14% 0.1384 -0.0262)
OKLCHoklch(42.14% 0.141 349.3)
XYZxyz(11.4290, 6.5337, 10.1085)
Luminance0.0653 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#812259 #22814A
analogous
#7A2281 #812259 #81222A
triadic
#812259 #598122 #225981
tetradic
#812259 #817A22 #22814A #222A81
square
#812259 #817A22 #22814A #222A81
split-complementary
#812259 #2A8122 #22817A
monochromatic
#200816 #511538 #812259 #B12F7A #D04D99

Accessibility & contrast

On white

9.11
#812259 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#812259 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #812259
9.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##812259#FFFFFF#000000##FFFFFF
##8122591.009.112.319.11
#FFFFFF9.111.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#303E5B
Deuteranopia (green-blind)
#4C4E57
Tritanopia (blue-blind)
#8B1D3A
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #812259;
/* rgb */ color: rgb(129, 34, 89);
/* oklch */ color: oklch(42.1% 0.141 349.3);
Tailwind
colors: {
  custom: {
    50: '#a96688',
    500: '#812259',
    950: '#000000',
  },
}
SCSS
$custom: #812259;
$custom-light: #a96688;
$custom-dark: #000000;
JSON
{
  "hex": "#812259",
  "rgb": {
    "r": 129,
    "g": 34,
    "b": 89
  },
  "hsl": {
    "h": 325.263,
    "s": 58.282,
    "l": 31.961
  },
  "oklch": {
    "l": 0.42138,
    "c": 0.14087,
    "h": 349.3
  },
  "luminance": 0.06532
}

Semantic roles & 50–950 ramp

primary
#812259
secondary
#4BB377
accent
#E18846
background
#FAF6F8
surface
#F4EBEF
border
#CEC6CA
text
#10060B
muted
#7F7A7C

Preview Lab

Preview with #812259

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

Preview Lab → · Contrast checker → · Palette generator →

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