#812E4A#812E4A

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

Color values

HEX#812E4A
RGBrgb(129, 46, 74)
HSLhsl(340, 47%, 34%)
HSVhsv(340, 64%, 51%)
CMYKcmyk(0%, 64.3%, 42.6%, 49.4%)
CIE-LABlab(32.07, 38.41, 1.79)
CIE-LCHlch(32.07, 38.46, 2.67°)
OKLaboklab(42.96% 0.1173 0.0051)
OKLCHoklch(42.96% 0.117 2.5)
XYZxyz(11.2670, 7.1168, 7.2576)
Luminance0.0712 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#812E4A #2E8165
analogous
#812E74 #812E4A #813C2E
triadic
#812E4A #4A812E #2E4A81
tetradic
#812E4A #74812E #2E8165 #3C2E81
square
#812E4A #74812E #2E8165 #3C2E81
split-complementary
#812E4A #2E813C #2E7481
monochromatic
#270E16 #541E30 #812E4A #AE3E64 #C76284

Accessibility & contrast

On white

8.67
#812E4A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#812E4A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #812E4A
8.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##812E4A#FFFFFF#000000##FFFFFF
##812E4A1.008.672.428.67
#FFFFFF8.671.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E414B
Deuteranopia (green-blind)
#545148
Tritanopia (blue-blind)
#8C2539
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #812e4a;
/* rgb */ color: rgb(129, 46, 74);
/* oklch */ color: oklch(43.0% 0.117 2.5);
Tailwind
colors: {
  custom: {
    50: '#a96c7c',
    500: '#812e4a',
    950: '#000000',
  },
}
SCSS
$custom: #812e4a;
$custom-light: #a96c7c;
$custom-dark: #000000;
JSON
{
  "hex": "#812e4a",
  "rgb": {
    "r": 129,
    "g": 46,
    "b": 74
  },
  "hsl": {
    "h": 339.759,
    "s": 47.429,
    "l": 34.314
  },
  "oklch": {
    "l": 0.42962,
    "c": 0.11738,
    "h": 2.5
  },
  "luminance": 0.07116
}

Semantic roles & 50–950 ramp

primary
#812E4A
secondary
#5DAE93
accent
#D7AA51
background
#FAF6F7
surface
#F4ECEE
border
#CEC7C9
text
#100709
muted
#7F7A7B

Preview Lab

Preview with #812E4A

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

Preview Lab → · Contrast checker → · Palette generator →

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