#812970#812970

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

Color values

HEX#812970
RGBrgb(129, 41, 112)
HSLhsl(312, 52%, 33%)
HSVhsv(312, 68%, 51%)
CMYKcmyk(0%, 68.2%, 13.2%, 49.4%)
CIE-LABlab(32.75, 45.95, -21.67)
CIE-LCHlch(32.75, 50.81, 334.75°)
OKLaboklab(43.96% 0.1346 -0.0589)
OKLCHoklch(43.96% 0.147 336.4)
XYZxyz(12.7710, 7.4239, 16.0864)
Luminance0.0742 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#812970 #29813A
analogous
#662981 #812970 #812944
triadic
#812970 #708129 #297081
tetradic
#812970 #816629 #29813A #294481
square
#812970 #816629 #29813A #294481
split-complementary
#812970 #448129 #298166
monochromatic
#240B1F #531A48 #812970 #AF3898 #CB5AB5

Accessibility & contrast

On white

8.45
#812970 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.48
#812970 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #812970
8.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##812970#FFFFFF#000000##FFFFFF
##8129701.008.452.488.45
#FFFFFF8.451.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A4472
Deuteranopia (green-blind)
#47526E
Tritanopia (blue-blind)
#882E48
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #812970;
/* rgb */ color: rgb(129, 41, 112);
/* oklch */ color: oklch(44.0% 0.147 336.4);
Tailwind
colors: {
  custom: {
    50: '#a86a99',
    500: '#812970',
    950: '#000000',
  },
}
SCSS
$custom: #812970;
$custom-light: #a86a99;
$custom-dark: #000000;
JSON
{
  "hex": "#812970",
  "rgb": {
    "r": 129,
    "g": 41,
    "b": 112
  },
  "hsl": {
    "h": 311.591,
    "s": 51.765,
    "l": 33.333
  },
  "oklch": {
    "l": 0.43956,
    "c": 0.14691,
    "h": 336.4
  },
  "luminance": 0.07423
}

Semantic roles & 50–950 ramp

primary
#812970
secondary
#56B067
accent
#DB684D
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10070E
muted
#7F7A7E

Preview Lab

Preview with #812970

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

Preview Lab → · Contrast checker → · Palette generator →

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