#812C4E#812C4E

#812C4E is a dark, vivid pink. Relative luminance 0.070; OKLCH L 42.8% C 0.122 H 358.8°. Best body text is #FFFFFF at 8.74:1 contrast (WCAG AA passes).

Color values

HEX#812C4E
RGBrgb(129, 44, 78)
HSLhsl(336, 49%, 34%)
HSVhsv(336, 66%, 51%)
CMYKcmyk(0%, 65.9%, 39.5%, 49.4%)
CIE-LABlab(31.85, 39.81, -1.14)
CIE-LCHlch(31.85, 39.83, 358.36°)
OKLaboklab(42.84% 0.1217 -0.0025)
OKLCHoklch(42.84% 0.122 358.8)
XYZxyz(11.3298, 7.0198, 7.9646)
Luminance0.0702 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#812C4E #2C815F
analogous
#812C79 #812C4E #81352C
triadic
#812C4E #4E812C #2C4E81
tetradic
#812C4E #79812C #2C815F #352C81
square
#812C4E #79812C #2C815F #352C81
split-complementary
#812C4E #2C8135 #2C7981
monochromatic
#260D17 #531C32 #812C4E #AF3C6A #C85F89

Accessibility & contrast

On white

8.74
#812C4E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#812C4E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #812C4E
8.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##812C4E#FFFFFF#000000##FFFFFF
##812C4E1.008.742.408.74
#FFFFFF8.741.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.741.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #812c4e;
/* rgb */ color: rgb(129, 44, 78);
/* oklch */ color: oklch(42.8% 0.122 358.8);
Tailwind
colors: {
  custom: {
    50: '#a96b7f',
    500: '#812c4e',
    950: '#000000',
  },
}
SCSS
$custom: #812c4e;
$custom-light: #a96b7f;
$custom-dark: #000000;
JSON
{
  "hex": "#812c4e",
  "rgb": {
    "r": 129,
    "g": 44,
    "b": 78
  },
  "hsl": {
    "h": 336,
    "s": 49.133,
    "l": 33.922
  },
  "oklch": {
    "l": 0.42841,
    "c": 0.12173,
    "h": 358.8
  },
  "luminance": 0.07019
}

Semantic roles & 50–950 ramp

primary
#812C4E
secondary
#5AAF8D
accent
#D9A24F
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#10070A
muted
#7F7A7C

Preview Lab

Preview with #812C4E

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

Preview Lab → · Contrast checker → · Palette generator →

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