#812E5A#812E5A

#812E5A is a dark, vivid pink. Relative luminance 0.074; OKLCH L 43.5% C 0.124 H 350.6°. Best body text is #FFFFFF at 8.50:1 contrast (WCAG AA passes).

Color values

HEX#812E5A
RGBrgb(129, 46, 90)
HSLhsl(328, 47%, 34%)
HSVhsv(328, 64%, 51%)
CMYKcmyk(0%, 64.3%, 30.2%, 49.4%)
CIE-LABlab(32.61, 40.43, -7.80)
CIE-LCHlch(32.61, 41.17, 349.08°)
OKLaboklab(43.54% 0.1228 -0.0203)
OKLCHoklch(43.54% 0.124 350.6)
XYZxyz(11.8763, 7.3605, 10.4661)
Luminance0.0736 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#812E5A #2E8155
analogous
#7F2E81 #812E5A #812E30
triadic
#812E5A #5A812E #2E5A81
tetradic
#812E5A #817F2E #2E8155 #2E3081
square
#812E5A #817F2E #2E8155 #2E3081
split-complementary
#812E5A #30812E #2E817F
monochromatic
#270E1B #541E3B #812E5A #AE3E79 #C76298

Accessibility & contrast

On white

8.50
#812E5A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#812E5A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #812E5A
8.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##812E5A#FFFFFF#000000##FFFFFF
##812E5A1.008.502.478.50
#FFFFFF8.501.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#39435B
Deuteranopia (green-blind)
#505258
Tritanopia (blue-blind)
#8A2A40
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #812e5a;
/* rgb */ color: rgb(129, 46, 90);
/* oklch */ color: oklch(43.5% 0.124 350.6);
Tailwind
colors: {
  custom: {
    50: '#a96c88',
    500: '#812e5a',
    950: '#000000',
  },
}
SCSS
$custom: #812e5a;
$custom-light: #a96c88;
$custom-dark: #000000;
JSON
{
  "hex": "#812e5a",
  "rgb": {
    "r": 129,
    "g": 46,
    "b": 90
  },
  "hsl": {
    "h": 328.193,
    "s": 47.429,
    "l": 34.314
  },
  "oklch": {
    "l": 0.43543,
    "c": 0.12446,
    "h": 350.6
  },
  "luminance": 0.07359
}

Semantic roles & 50–950 ramp

primary
#812E5A
secondary
#5DAE83
accent
#D79051
background
#FAF6F8
surface
#F4ECEF
border
#CEC7CA
text
#10070B
muted
#7F7A7C

Preview Lab

Preview with #812E5A

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

Preview Lab → · Contrast checker → · Palette generator →

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