#812B4E#812B4E

#812B4E is a dark, vivid pink. Relative luminance 0.069; OKLCH L 42.7% C 0.123 H 358.5°. Best body text is #FFFFFF at 8.79:1 contrast (WCAG AA passes).

Color values

HEX#812B4E
RGBrgb(129, 43, 78)
HSLhsl(336, 50%, 34%)
HSVhsv(336, 67%, 51%)
CMYKcmyk(0%, 66.7%, 39.5%, 49.4%)
CIE-LABlab(31.68, 40.27, -1.39)
CIE-LCHlch(31.68, 40.30, 358.03°)
OKLaboklab(42.72% 0.1231 -0.0031)
OKLCHoklch(42.72% 0.123 358.5)
XYZxyz(11.2930, 6.9462, 7.9523)
Luminance0.0694 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#812B4E #2B815E
analogous
#812B79 #812B4E #81332B
triadic
#812B4E #4E812B #2B4E81
tetradic
#812B4E #79812B #2B815E #332B81
square
#812B4E #79812B #2B815E #332B81
split-complementary
#812B4E #2B8133 #2B7981
monochromatic
#250C16 #531C32 #812B4E #AF3A6A #C95D89

Accessibility & contrast

On white

8.79
#812B4E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#812B4E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #812B4E
8.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##812B4E#FFFFFF#000000##FFFFFF
##812B4E1.008.792.398.79
#FFFFFF8.791.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B404F
Deuteranopia (green-blind)
#52514C
Tritanopia (blue-blind)
#8B2339
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #812b4e;
/* rgb */ color: rgb(129, 43, 78);
/* oklch */ color: oklch(42.7% 0.123 358.5);
Tailwind
colors: {
  custom: {
    50: '#a96a7f',
    500: '#812b4e',
    950: '#000000',
  },
}
SCSS
$custom: #812b4e;
$custom-light: #a96a7f;
$custom-dark: #000000;
JSON
{
  "hex": "#812b4e",
  "rgb": {
    "r": 129,
    "g": 43,
    "b": 78
  },
  "hsl": {
    "h": 335.581,
    "s": 50,
    "l": 33.725
  },
  "oklch": {
    "l": 0.42716,
    "c": 0.12318,
    "h": 358.5
  },
  "luminance": 0.06945
}

Semantic roles & 50–950 ramp

primary
#812B4E
secondary
#59AF8C
accent
#DAA14E
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#10070A
muted
#7F7A7C

Preview Lab

Preview with #812B4E

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

Preview Lab → · Contrast checker → · Palette generator →

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