#812840#812840

#812840 is a dark, vivid pink. Relative luminance 0.066; OKLCH L 41.9% C 0.123 H 7.9°. Best body text is #FFFFFF at 9.09:1 contrast (WCAG AA passes).

Color values

HEX#812840
RGBrgb(129, 40, 64)
HSLhsl(344, 53%, 33%)
HSVhsv(344, 69%, 51%)
CMYKcmyk(0%, 69%, 50.4%, 49.4%)
CIE-LABlab(30.77, 40.10, 6.49)
CIE-LCHlch(30.77, 40.62, 9.20°)
OKLaboklab(41.9% 0.122 0.0169)
OKLCHoklch(41.9% 0.123 7.9)
XYZxyz(10.7383, 6.5562, 5.5495)
Luminance0.0655 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#812840 #288169
analogous
#81286C #812840 #813C28
triadic
#812840 #408128 #284081
tetradic
#812840 #6C8128 #288169 #3C2881
square
#812840 #6C8128 #288169 #3C2881
split-complementary
#812840 #28813C #286C81
monochromatic
#240B12 #521A29 #812840 #B03657 #CB5877

Accessibility & contrast

On white

9.09
#812840 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#812840 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #812840
9.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##812840#FFFFFF#000000##FFFFFF
##8128401.009.092.319.09
#FFFFFF9.091.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C3D41
Deuteranopia (green-blind)
#534F3E
Tritanopia (blue-blind)
#8D1A31
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #812840;
/* rgb */ color: rgb(129, 40, 64);
/* oklch */ color: oklch(41.9% 0.123 7.9);
Tailwind
colors: {
  custom: {
    50: '#aa6874',
    500: '#812840',
    950: '#000000',
  },
}
SCSS
$custom: #812840;
$custom-light: #aa6874;
$custom-dark: #000000;
JSON
{
  "hex": "#812840",
  "rgb": {
    "r": 129,
    "g": 40,
    "b": 64
  },
  "hsl": {
    "h": 343.82,
    "s": 52.663,
    "l": 33.137
  },
  "oklch": {
    "l": 0.41904,
    "c": 0.12318,
    "h": 7.9
  },
  "luminance": 0.06555
}

Semantic roles & 50–950 ramp

primary
#812840
secondary
#54B098
accent
#DCB54C
background
#FBF6F7
surface
#F6EBED
border
#D0C6C8
text
#110608
muted
#807A7B

Preview Lab

Preview with #812840

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

Preview Lab → · Contrast checker → · Palette generator →

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