#812E5D#812E5D

#812E5D is a dark, vivid pink. Relative luminance 0.074; OKLCH L 43.7% C 0.126 H 348.5°. Best body text is #FFFFFF at 8.46:1 contrast (WCAG AA passes).

Color values

HEX#812E5D
RGBrgb(129, 46, 93)
HSLhsl(326, 47%, 34%)
HSVhsv(326, 64%, 51%)
CMYKcmyk(0%, 64.3%, 27.9%, 49.4%)
CIE-LABlab(32.73, 40.84, -9.56)
CIE-LCHlch(32.73, 41.95, 346.82°)
OKLaboklab(43.67% 0.1237 -0.0251)
OKLCHoklch(43.67% 0.126 348.5)
XYZxyz(12.0065, 7.4126, 11.1523)
Luminance0.0741 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#812E5D #2E8152
analogous
#7C2E81 #812E5D #812E34
triadic
#812E5D #5D812E #2E5D81
tetradic
#812E5D #817C2E #2E8152 #2E3481
square
#812E5D #817C2E #2E8152 #2E3481
split-complementary
#812E5D #34812E #2E817C
monochromatic
#270E1C #541E3C #812E5D #AE3E7E #C7629B

Accessibility & contrast

On white

8.46
#812E5D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.48
#812E5D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #812E5D
8.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##812E5D#FFFFFF#000000##FFFFFF
##812E5D1.008.462.488.46
#FFFFFF8.461.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#38445E
Deuteranopia (green-blind)
#4F525B
Tritanopia (blue-blind)
#8A2B41
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #812e5d;
/* rgb */ color: rgb(129, 46, 93);
/* oklch */ color: oklch(43.7% 0.126 348.5);
Tailwind
colors: {
  custom: {
    50: '#a96c8b',
    500: '#812e5d',
    950: '#000000',
  },
}
SCSS
$custom: #812e5d;
$custom-light: #a96c8b;
$custom-dark: #000000;
JSON
{
  "hex": "#812e5d",
  "rgb": {
    "r": 129,
    "g": 46,
    "b": 93
  },
  "hsl": {
    "h": 326.024,
    "s": 47.429,
    "l": 34.314
  },
  "oklch": {
    "l": 0.43665,
    "c": 0.1262,
    "h": 348.5
  },
  "luminance": 0.07411
}

Semantic roles & 50–950 ramp

primary
#812E5D
secondary
#5DAE80
accent
#D78B51
background
#FAF6F8
surface
#F4ECF0
border
#CEC7CB
text
#10070B
muted
#7F7A7C

Preview Lab

Preview with #812E5D

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

Preview Lab → · Contrast checker → · Palette generator →

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