#812972#812972

#812972 is a dark, vivid pink. Relative luminance 0.075; OKLCH L 44.1% C 0.148 H 335.3°. Best body text is #FFFFFF at 8.42:1 contrast (WCAG AA passes).

Color values

HEX#812972
RGBrgb(129, 41, 114)
HSLhsl(310, 52%, 33%)
HSVhsv(310, 68%, 51%)
CMYKcmyk(0%, 68.2%, 11.6%, 49.4%)
CIE-LABlab(32.85, 46.28, -22.79)
CIE-LCHlch(32.85, 51.58, 333.78°)
OKLaboklab(44.06% 0.1349 -0.0621)
OKLCHoklch(44.06% 0.148 335.3)
XYZxyz(12.8836, 7.4690, 16.6794)
Luminance0.0747 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#812972 #298138
analogous
#642981 #812972 #812946
triadic
#812972 #728129 #297281
tetradic
#812972 #816429 #298138 #294681
square
#812972 #816429 #298138 #294681
split-complementary
#812972 #468129 #298164
monochromatic
#240B20 #531A49 #812972 #AF389B #CB5AB7

Accessibility & contrast

On white

8.42
#812972 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #812972
8.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##812972#FFFFFF#000000##FFFFFF
##8129721.008.422.498.42
#FFFFFF8.421.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#294574
Deuteranopia (green-blind)
#465270
Tritanopia (blue-blind)
#872F49
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #812972;
/* rgb */ color: rgb(129, 41, 114);
/* oklch */ color: oklch(44.1% 0.148 335.3);
Tailwind
colors: {
  custom: {
    50: '#a86a9b',
    500: '#812972',
    950: '#000000',
  },
}
SCSS
$custom: #812972;
$custom-light: #a86a9b;
$custom-dark: #000000;
JSON
{
  "hex": "#812972",
  "rgb": {
    "r": 129,
    "g": 41,
    "b": 114
  },
  "hsl": {
    "h": 310.227,
    "s": 51.765,
    "l": 33.333
  },
  "oklch": {
    "l": 0.44059,
    "c": 0.14848,
    "h": 335.3
  },
  "luminance": 0.07468
}

Semantic roles & 50–950 ramp

primary
#812972
secondary
#56B065
accent
#DB654D
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10070E
muted
#7F7A7E

Preview Lab

Preview with #812972

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

Preview Lab → · Contrast checker → · Palette generator →

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