#812558#812558

#812558 is a dark, vivid pink. Relative luminance 0.067; OKLCH L 42.4% C 0.136 H 350.4°. Best body text is #FFFFFF at 8.98:1 contrast (WCAG AA passes).

Color values

HEX#812558
RGBrgb(129, 37, 88)
HSLhsl(327, 55%, 33%)
HSVhsv(327, 71%, 51%)
CMYKcmyk(0%, 71.3%, 31.8%, 49.4%)
CIE-LABlab(31.10, 44.10, -8.77)
CIE-LCHlch(31.10, 44.96, 348.75°)
OKLaboklab(42.41% 0.1345 -0.0228)
OKLCHoklch(42.41% 0.136 350.4)
XYZxyz(11.4769, 6.6961, 9.9187)
Luminance0.0669 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#812558 #25814E
analogous
#7C2581 #812558 #81252A
triadic
#812558 #588125 #255881
tetradic
#812558 #817C25 #25814E #252A81
square
#812558 #817C25 #25814E #252A81
split-complementary
#812558 #2A8125 #25817C
monochromatic
#220A17 #511738 #812558 #B13378 #CE5397

Accessibility & contrast

On white

8.98
#812558 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#812558 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #812558
8.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##812558#FFFFFF#000000##FFFFFF
##8125581.008.982.348.98
#FFFFFF8.981.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#333F59
Deuteranopia (green-blind)
#4D4F56
Tritanopia (blue-blind)
#8B203B
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #812558;
/* rgb */ color: rgb(129, 37, 88);
/* oklch */ color: oklch(42.4% 0.136 350.4);
Tailwind
colors: {
  custom: {
    50: '#a96787',
    500: '#812558',
    950: '#000000',
  },
}
SCSS
$custom: #812558;
$custom-light: #a96787;
$custom-dark: #000000;
JSON
{
  "hex": "#812558",
  "rgb": {
    "r": 129,
    "g": 37,
    "b": 88
  },
  "hsl": {
    "h": 326.739,
    "s": 55.422,
    "l": 32.549
  },
  "oklch": {
    "l": 0.42406,
    "c": 0.13639,
    "h": 350.4
  },
  "luminance": 0.06695
}

Semantic roles & 50–950 ramp

primary
#812558
secondary
#50B27C
accent
#DF8C49
background
#FAF6F8
surface
#F4EBEF
border
#CEC6CA
text
#10060B
muted
#7F7A7C

Preview Lab

Preview with #812558

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

Preview Lab → · Contrast checker → · Palette generator →

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