#812562#812562

#812562 is a dark, vivid pink. Relative luminance 0.069; OKLCH L 42.8% C 0.142 H 344.1°. Best body text is #FFFFFF at 8.84:1 contrast (WCAG AA passes).

Color values

HEX#812562
RGBrgb(129, 37, 98)
HSLhsl(320, 55%, 33%)
HSVhsv(320, 71%, 51%)
CMYKcmyk(0%, 71.3%, 24%, 49.4%)
CIE-LABlab(31.52, 45.46, -14.63)
CIE-LCHlch(31.52, 47.76, 342.16°)
OKLaboklab(42.84% 0.137 -0.039)
OKLCHoklch(42.84% 0.142 344.1)
XYZxyz(11.9199, 6.8733, 12.2518)
Luminance0.0687 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#812562 #258144
analogous
#722581 #812562 #812534
triadic
#812562 #628125 #256281
tetradic
#812562 #817225 #258144 #253481
square
#812562 #817225 #258144 #253481
split-complementary
#812562 #348125 #258172
monochromatic
#220A1A #51173E #812562 #B13386 #CE53A4

Accessibility & contrast

On white

8.84
#812562 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#812562 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #812562
8.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##812562#FFFFFF#000000##FFFFFF
##8125621.008.842.378.84
#FFFFFF8.841.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F4064
Deuteranopia (green-blind)
#4A5060
Tritanopia (blue-blind)
#8A2440
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #812562;
/* rgb */ color: rgb(129, 37, 98);
/* oklch */ color: oklch(42.8% 0.142 344.1);
Tailwind
colors: {
  custom: {
    50: '#a9688e',
    500: '#812562',
    950: '#000000',
  },
}
SCSS
$custom: #812562;
$custom-light: #a9688e;
$custom-dark: #000000;
JSON
{
  "hex": "#812562",
  "rgb": {
    "r": 129,
    "g": 37,
    "b": 98
  },
  "hsl": {
    "h": 320.217,
    "s": 55.422,
    "l": 32.549
  },
  "oklch": {
    "l": 0.42843,
    "c": 0.14242,
    "h": 344.1
  },
  "luminance": 0.06872
}

Semantic roles & 50–950 ramp

primary
#812562
secondary
#50B271
accent
#DF7B49
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10060C
muted
#7F7A7D

Preview Lab

Preview with #812562

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

Preview Lab → · Contrast checker → · Palette generator →

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