#812154#812154

#812154 is a dark, vivid pink. Relative luminance 0.064; OKLCH L 41.8% C 0.139 H 352.3°. Best body text is #FFFFFF at 9.21:1 contrast (WCAG AA passes).

Color values

HEX#812154
RGBrgb(129, 33, 84)
HSLhsl(328, 59%, 32%)
HSVhsv(328, 74%, 51%)
CMYKcmyk(0%, 74.4%, 34.9%, 49.4%)
CIE-LABlab(30.39, 45.16, -7.24)
CIE-LCHlch(30.39, 45.73, 350.90°)
OKLaboklab(41.83% 0.1382 -0.0186)
OKLCHoklch(41.83% 0.139 352.3)
XYZxyz(11.1980, 6.3962, 9.0307)
Luminance0.0640 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#812154 #21814E
analogous
#7E2181 #812154 #812124
triadic
#812154 #548121 #215481
tetradic
#812154 #817E21 #21814E #212481
square
#812154 #817E21 #21814E #212481
split-complementary
#812154 #248121 #21817E
monochromatic
#200815 #501534 #812154 #B22D74 #D14B92

Accessibility & contrast

On white

9.21
#812154 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#812154 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #812154
9.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##812154#FFFFFF#000000##FFFFFF
##8121541.009.212.289.21
#FFFFFF9.211.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#313C55
Deuteranopia (green-blind)
#4D4E52
Tritanopia (blue-blind)
#8B1A37
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #812154;
/* rgb */ color: rgb(129, 33, 84);
/* oklch */ color: oklch(41.8% 0.139 352.3);
Tailwind
colors: {
  custom: {
    50: '#a96584',
    500: '#812154',
    950: '#000000',
  },
}
SCSS
$custom: #812154;
$custom-light: #a96584;
$custom-dark: #000000;
JSON
{
  "hex": "#812154",
  "rgb": {
    "r": 129,
    "g": 33,
    "b": 84
  },
  "hsl": {
    "h": 328.125,
    "s": 59.259,
    "l": 31.765
  },
  "oklch": {
    "l": 0.41832,
    "c": 0.13945,
    "h": 352.3
  },
  "luminance": 0.06395
}

Semantic roles & 50–950 ramp

primary
#812154
secondary
#4AB47C
accent
#E28F45
background
#FAF6F8
surface
#F4EBEF
border
#CEC6CA
text
#10060A
muted
#7F7A7C

Preview Lab

Preview with #812154

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

Preview Lab → · Contrast checker → · Palette generator →

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