#812159#812159

#812159 is a dark, vivid pink. Relative luminance 0.065; OKLCH L 42.0% C 0.142 H 349.2°. Best body text is #FFFFFF at 9.15:1 contrast (WCAG AA passes).

Color values

HEX#812159
RGBrgb(129, 33, 89)
HSLhsl(325, 59%, 32%)
HSVhsv(325, 74%, 51%)
CMYKcmyk(0%, 74.4%, 31%, 49.4%)
CIE-LABlab(30.59, 45.78, -10.21)
CIE-LCHlch(30.59, 46.91, 347.43°)
OKLaboklab(42.04% 0.1396 -0.0267)
OKLCHoklch(42.04% 0.142 349.2)
XYZxyz(11.4009, 6.4774, 10.0991)
Luminance0.0648 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#812159 #218149
analogous
#792181 #812159 #812129
triadic
#812159 #598121 #215981
tetradic
#812159 #817921 #218149 #212981
square
#812159 #817921 #218149 #212981
split-complementary
#812159 #298121 #218179
monochromatic
#200816 #501537 #812159 #B22D7B #D14B99

Accessibility & contrast

On white

9.15
#812159 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#812159 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #812159
9.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##812159#FFFFFF#000000##FFFFFF
##8121591.009.152.309.15
#FFFFFF9.151.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F3D5B
Deuteranopia (green-blind)
#4B4E57
Tritanopia (blue-blind)
#8B1C3A
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #812159;
/* rgb */ color: rgb(129, 33, 89);
/* oklch */ color: oklch(42.0% 0.142 349.2);
Tailwind
colors: {
  custom: {
    50: '#a96588',
    500: '#812159',
    950: '#000000',
  },
}
SCSS
$custom: #812159;
$custom-light: #a96588;
$custom-dark: #000000;
JSON
{
  "hex": "#812159",
  "rgb": {
    "r": 129,
    "g": 33,
    "b": 89
  },
  "hsl": {
    "h": 325,
    "s": 59.259,
    "l": 31.765
  },
  "oklch": {
    "l": 0.42039,
    "c": 0.14214,
    "h": 349.2
  },
  "luminance": 0.06476
}

Semantic roles & 50–950 ramp

primary
#812159
secondary
#4AB476
accent
#E28745
background
#FAF6F8
surface
#F4EBEF
border
#CEC6CA
text
#10060B
muted
#7F7A7C

Preview Lab

Preview with #812159

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

Preview Lab → · Contrast checker → · Palette generator →

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