#812940#812940

#812940 is a dark, vivid pink. Relative luminance 0.066; OKLCH L 42.0% C 0.122 H 8.2°. Best body text is #FFFFFF at 9.03:1 contrast (WCAG AA passes).

Color values

HEX#812940
RGBrgb(129, 41, 64)
HSLhsl(344, 52%, 33%)
HSVhsv(344, 68%, 51%)
CMYKcmyk(0%, 68.2%, 50.4%, 49.4%)
CIE-LABlab(30.94, 39.66, 6.72)
CIE-LCHlch(30.94, 40.22, 9.62°)
OKLaboklab(42.02% 0.1206 0.0174)
OKLCHoklch(42.02% 0.122 8.2)
XYZxyz(10.7725, 6.6245, 5.5609)
Luminance0.0662 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#812940 #29816A
analogous
#81296C #812940 #813E29
triadic
#812940 #408129 #294081
tetradic
#812940 #6C8129 #29816A #3E2981
square
#812940 #6C8129 #29816A #3E2981
split-complementary
#812940 #29813E #296C81
monochromatic
#240B12 #531A29 #812940 #AF3857 #CB5A77

Accessibility & contrast

On white

9.03
#812940 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#812940 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #812940
9.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##812940#FFFFFF#000000##FFFFFF
##8129401.009.032.329.03
#FFFFFF9.031.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D3E40
Deuteranopia (green-blind)
#544F3E
Tritanopia (blue-blind)
#8D1B32
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #812940;
/* rgb */ color: rgb(129, 41, 64);
/* oklch */ color: oklch(42.0% 0.122 8.2);
Tailwind
colors: {
  custom: {
    50: '#aa6974',
    500: '#812940',
    950: '#000000',
  },
}
SCSS
$custom: #812940;
$custom-light: #aa6974;
$custom-dark: #000000;
JSON
{
  "hex": "#812940",
  "rgb": {
    "r": 129,
    "g": 41,
    "b": 64
  },
  "hsl": {
    "h": 344.318,
    "s": 51.765,
    "l": 33.333
  },
  "oklch": {
    "l": 0.42024,
    "c": 0.12186,
    "h": 8.2
  },
  "luminance": 0.06623
}

Semantic roles & 50–950 ramp

primary
#812940
secondary
#56B098
accent
#DBB64D
background
#FBF6F7
surface
#F6EBED
border
#D0C6C8
text
#110708
muted
#807A7B

Preview Lab

Preview with #812940

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

Preview Lab → · Contrast checker → · Palette generator →

#812940 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva