#812E4C#812E4C

#812E4C is a dark, moderate pink. Relative luminance 0.071; OKLCH L 43.0% C 0.118 H 1.0°. Best body text is #FFFFFF at 8.65:1 contrast (WCAG AA passes).

Color values

HEX#812E4C
RGBrgb(129, 46, 76)
HSLhsl(338, 47%, 34%)
HSVhsv(338, 64%, 51%)
CMYKcmyk(0%, 64.3%, 41.1%, 49.4%)
CIE-LABlab(32.13, 38.65, 0.58)
CIE-LCHlch(32.13, 38.65, 0.85°)
OKLaboklab(43.03% 0.118 0.002)
OKLCHoklch(43.03% 0.118 1)
XYZxyz(11.3355, 7.1442, 7.6181)
Luminance0.0714 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#812E4C #2E8163
analogous
#812E76 #812E4C #81392E
triadic
#812E4C #4C812E #2E4C81
tetradic
#812E4C #76812E #2E8163 #392E81
square
#812E4C #76812E #2E8163 #392E81
split-complementary
#812E4C #2E8139 #2E7681
monochromatic
#270E17 #541E31 #812E4C #AE3E67 #C76287

Accessibility & contrast

On white

8.65
#812E4C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#812E4C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #812E4C
8.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##812E4C#FFFFFF#000000##FFFFFF
##812E4C1.008.652.438.65
#FFFFFF8.651.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D424D
Deuteranopia (green-blind)
#54514A
Tritanopia (blue-blind)
#8C253A
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #812e4c;
/* rgb */ color: rgb(129, 46, 76);
/* oklch */ color: oklch(43.0% 0.118 1.0);
Tailwind
colors: {
  custom: {
    50: '#a96c7d',
    500: '#812e4c',
    950: '#000000',
  },
}
SCSS
$custom: #812e4c;
$custom-light: #a96c7d;
$custom-dark: #000000;
JSON
{
  "hex": "#812e4c",
  "rgb": {
    "r": 129,
    "g": 46,
    "b": 76
  },
  "hsl": {
    "h": 338.313,
    "s": 47.429,
    "l": 34.314
  },
  "oklch": {
    "l": 0.43028,
    "c": 0.11805,
    "h": 1
  },
  "luminance": 0.07143
}

Semantic roles & 50–950 ramp

primary
#812E4C
secondary
#5DAE91
accent
#D7A751
background
#FAF6F7
surface
#F4ECEE
border
#CEC7C9
text
#100709
muted
#7F7A7B

Preview Lab

Preview with #812E4C

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

Preview Lab → · Contrast checker → · Palette generator →

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