#812155#812155

#812155 is a dark, vivid pink. Relative luminance 0.064; OKLCH L 41.9% C 0.140 H 351.7°. Best body text is #FFFFFF at 9.20:1 contrast (WCAG AA passes).

Color values

HEX#812155
RGBrgb(129, 33, 85)
HSLhsl(328, 59%, 32%)
HSVhsv(328, 74%, 51%)
CMYKcmyk(0%, 74.4%, 34.1%, 49.4%)
CIE-LABlab(30.43, 45.28, -7.83)
CIE-LCHlch(30.43, 45.95, 350.18°)
OKLaboklab(41.87% 0.1385 -0.0203)
OKLCHoklch(41.87% 0.14 351.7)
XYZxyz(11.2374, 6.4120, 9.2384)
Luminance0.0641 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#812155 #21814D
analogous
#7D2181 #812155 #812125
triadic
#812155 #558121 #215581
tetradic
#812155 #817D21 #21814D #212581
square
#812155 #817D21 #21814D #212581
split-complementary
#812155 #258121 #21817D
monochromatic
#200815 #501535 #812155 #B22D75 #D14B94

Accessibility & contrast

On white

9.20
#812155 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #812155
9.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##812155#FFFFFF#000000##FFFFFF
##8121551.009.202.289.20
#FFFFFF9.201.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#313D56
Deuteranopia (green-blind)
#4C4E53
Tritanopia (blue-blind)
#8B1A38
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #812155;
/* rgb */ color: rgb(129, 33, 85);
/* oklch */ color: oklch(41.9% 0.140 351.7);
Tailwind
colors: {
  custom: {
    50: '#a96584',
    500: '#812155',
    950: '#000000',
  },
}
SCSS
$custom: #812155;
$custom-light: #a96584;
$custom-dark: #000000;
JSON
{
  "hex": "#812155",
  "rgb": {
    "r": 129,
    "g": 33,
    "b": 85
  },
  "hsl": {
    "h": 327.5,
    "s": 59.259,
    "l": 31.765
  },
  "oklch": {
    "l": 0.41873,
    "c": 0.13996,
    "h": 351.7
  },
  "luminance": 0.06411
}

Semantic roles & 50–950 ramp

primary
#812155
secondary
#4AB47B
accent
#E28D45
background
#FAF6F8
surface
#F4EBEF
border
#CEC6CA
text
#10060B
muted
#7F7A7C

Preview Lab

Preview with #812155

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

Preview Lab → · Contrast checker → · Palette generator →

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