#812971#812971

#812971 is a dark, vivid pink. Relative luminance 0.074; OKLCH L 44.0% C 0.148 H 335.8°. Best body text is #FFFFFF at 8.44:1 contrast (WCAG AA passes).

Color values

HEX#812971
RGBrgb(129, 41, 113)
HSLhsl(311, 52%, 33%)
HSVhsv(311, 68%, 51%)
CMYKcmyk(0%, 68.2%, 12.4%, 49.4%)
CIE-LABlab(32.80, 46.11, -22.23)
CIE-LCHlch(32.80, 51.19, 334.26°)
OKLaboklab(44.01% 0.1347 -0.0605)
OKLCHoklch(44.01% 0.148 335.8)
XYZxyz(12.8270, 7.4463, 16.3813)
Luminance0.0745 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#812971 #298139
analogous
#652981 #812971 #812945
triadic
#812971 #718129 #297181
tetradic
#812971 #816529 #298139 #294581
square
#812971 #816529 #298139 #294581
split-complementary
#812971 #458129 #298165
monochromatic
#240B20 #531A48 #812971 #AF389A #CB5AB6

Accessibility & contrast

On white

8.44
#812971 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#812971 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #812971
8.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##812971#FFFFFF#000000##FFFFFF
##8129711.008.442.498.44
#FFFFFF8.441.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A4573
Deuteranopia (green-blind)
#46526F
Tritanopia (blue-blind)
#882E49
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #812971;
/* rgb */ color: rgb(129, 41, 113);
/* oklch */ color: oklch(44.0% 0.148 335.8);
Tailwind
colors: {
  custom: {
    50: '#a86a9a',
    500: '#812971',
    950: '#000000',
  },
}
SCSS
$custom: #812971;
$custom-light: #a86a9a;
$custom-dark: #000000;
JSON
{
  "hex": "#812971",
  "rgb": {
    "r": 129,
    "g": 41,
    "b": 113
  },
  "hsl": {
    "h": 310.909,
    "s": 51.765,
    "l": 33.333
  },
  "oklch": {
    "l": 0.44007,
    "c": 0.1477,
    "h": 335.8
  },
  "luminance": 0.07445
}

Semantic roles & 50–950 ramp

primary
#812971
secondary
#56B066
accent
#DB674D
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10070E
muted
#7F7A7E

Preview Lab

Preview with #812971

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

Preview Lab → · Contrast checker → · Palette generator →

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