#812E56#812E56

#812E56 is a dark, vivid pink. Relative luminance 0.073; OKLCH L 43.4% C 0.122 H 353.5°. Best body text is #FFFFFF at 8.54:1 contrast (WCAG AA passes).

Color values

HEX#812E56
RGBrgb(129, 46, 86)
HSLhsl(331, 47%, 34%)
HSVhsv(331, 64%, 51%)
CMYKcmyk(0%, 64.3%, 33.3%, 49.4%)
CIE-LABlab(32.47, 39.89, -5.43)
CIE-LCHlch(32.47, 40.26, 352.25°)
OKLaboklab(43.39% 0.1215 -0.0139)
OKLCHoklch(43.39% 0.122 353.5)
XYZxyz(11.7106, 7.2942, 9.5935)
Luminance0.0729 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#812E56 #2E8159
analogous
#812E80 #812E56 #812F2E
triadic
#812E56 #56812E #2E5681
tetradic
#812E56 #80812E #2E8159 #2F2E81
square
#812E56 #80812E #2E8159 #2F2E81
split-complementary
#812E56 #2E812F #2E8081
monochromatic
#270E1A #541E38 #812E56 #AE3E74 #C76293

Accessibility & contrast

On white

8.54
#812E56 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#812E56 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #812E56
8.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##812E56#FFFFFF#000000##FFFFFF
##812E561.008.542.468.54
#FFFFFF8.541.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B4357
Deuteranopia (green-blind)
#515254
Tritanopia (blue-blind)
#8B293E
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #812e56;
/* rgb */ color: rgb(129, 46, 86);
/* oklch */ color: oklch(43.4% 0.122 353.5);
Tailwind
colors: {
  custom: {
    50: '#a96c85',
    500: '#812e56',
    950: '#000000',
  },
}
SCSS
$custom: #812e56;
$custom-light: #a96c85;
$custom-dark: #000000;
JSON
{
  "hex": "#812e56",
  "rgb": {
    "r": 129,
    "g": 46,
    "b": 86
  },
  "hsl": {
    "h": 331.084,
    "s": 47.429,
    "l": 34.314
  },
  "oklch": {
    "l": 0.43387,
    "c": 0.12233,
    "h": 353.5
  },
  "luminance": 0.07293
}

Semantic roles & 50–950 ramp

primary
#812E56
secondary
#5DAE87
accent
#D79651
background
#FAF6F8
surface
#F4ECEF
border
#CEC7CA
text
#10070B
muted
#7F7A7C

Preview Lab

Preview with #812E56

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

Preview Lab → · Contrast checker → · Palette generator →

#812E56 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva