#812A4E#812A4E

#812A4E is a dark, vivid pink. Relative luminance 0.069; OKLCH L 42.6% C 0.125 H 358.3°. Best body text is #FFFFFF at 8.84:1 contrast (WCAG AA passes).

Color values

HEX#812A4E
RGBrgb(129, 42, 78)
HSLhsl(335, 51%, 34%)
HSVhsv(335, 67%, 51%)
CMYKcmyk(0%, 67.4%, 39.5%, 49.4%)
CIE-LABlab(31.52, 40.72, -1.63)
CIE-LCHlch(31.52, 40.75, 357.71°)
OKLaboklab(42.59% 0.1246 -0.0038)
OKLCHoklch(42.59% 0.125 358.3)
XYZxyz(11.2571, 6.8744, 7.9403)
Luminance0.0687 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#812A4E #2A815D
analogous
#812A79 #812A4E #81312A
triadic
#812A4E #4E812A #2A4E81
tetradic
#812A4E #79812A #2A815D #312A81
square
#812A4E #79812A #2A815D #312A81
split-complementary
#812A4E #2A8131 #2A7981
monochromatic
#250C16 #531B32 #812A4E #AF396A #CA5C89

Accessibility & contrast

On white

8.84
#812A4E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#812A4E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #812A4E
8.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##812A4E#FFFFFF#000000##FFFFFF
##812A4E1.008.842.378.84
#FFFFFF8.841.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A404F
Deuteranopia (green-blind)
#51504C
Tritanopia (blue-blind)
#8C2138
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #812a4e;
/* rgb */ color: rgb(129, 42, 78);
/* oklch */ color: oklch(42.6% 0.125 358.3);
Tailwind
colors: {
  custom: {
    50: '#a9697f',
    500: '#812a4e',
    950: '#000000',
  },
}
SCSS
$custom: #812a4e;
$custom-light: #a9697f;
$custom-dark: #000000;
JSON
{
  "hex": "#812a4e",
  "rgb": {
    "r": 129,
    "g": 42,
    "b": 78
  },
  "hsl": {
    "h": 335.172,
    "s": 50.877,
    "l": 33.529
  },
  "oklch": {
    "l": 0.42594,
    "c": 0.12462,
    "h": 358.3
  },
  "luminance": 0.06873
}

Semantic roles & 50–950 ramp

primary
#812A4E
secondary
#57AF8B
accent
#DAA04D
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#10070A
muted
#7F7A7C

Preview Lab

Preview with #812A4E

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

Preview Lab → · Contrast checker → · Palette generator →

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