#812E51#812E51

#812E51 is a dark, vivid pink. Relative luminance 0.072; OKLCH L 43.2% C 0.120 H 357.2°. Best body text is #FFFFFF at 8.60:1 contrast (WCAG AA passes).

Color values

HEX#812E51
RGBrgb(129, 46, 81)
HSLhsl(335, 47%, 34%)
HSVhsv(335, 64%, 51%)
CMYKcmyk(0%, 64.3%, 37.2%, 49.4%)
CIE-LABlab(32.29, 39.25, -2.44)
CIE-LCHlch(32.29, 39.32, 356.44°)
OKLaboklab(43.2% 0.1199 -0.0059)
OKLCHoklch(43.2% 0.12 357.2)
XYZxyz(11.5161, 7.2165, 8.5694)
Luminance0.0722 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#812E51 #2E815E
analogous
#812E7B #812E51 #81352E
triadic
#812E51 #51812E #2E5181
tetradic
#812E51 #7B812E #2E815E #352E81
square
#812E51 #7B812E #2E815E #352E81
split-complementary
#812E51 #2E8135 #2E7B81
monochromatic
#270E18 #541E35 #812E51 #AE3E6D #C7628D

Accessibility & contrast

On white

8.60
#812E51 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#812E51 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #812E51
8.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##812E51#FFFFFF#000000##FFFFFF
##812E511.008.602.448.60
#FFFFFF8.601.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C4252
Deuteranopia (green-blind)
#52524F
Tritanopia (blue-blind)
#8B273C
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #812e51;
/* rgb */ color: rgb(129, 46, 81);
/* oklch */ color: oklch(43.2% 0.120 357.2);
Tailwind
colors: {
  custom: {
    50: '#a96c81',
    500: '#812e51',
    950: '#000000',
  },
}
SCSS
$custom: #812e51;
$custom-light: #a96c81;
$custom-dark: #000000;
JSON
{
  "hex": "#812e51",
  "rgb": {
    "r": 129,
    "g": 46,
    "b": 81
  },
  "hsl": {
    "h": 334.699,
    "s": 47.429,
    "l": 34.314
  },
  "oklch": {
    "l": 0.43202,
    "c": 0.12,
    "h": 357.2
  },
  "luminance": 0.07215
}

Semantic roles & 50–950 ramp

primary
#812E51
secondary
#5DAE8C
accent
#D79E51
background
#FAF6F7
surface
#F4ECEE
border
#CEC7C9
text
#10070A
muted
#7F7A7C

Preview Lab

Preview with #812E51

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

Preview Lab → · Contrast checker → · Palette generator →

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