#812470#812470

#812470 is a dark, vivid pink. Relative luminance 0.071; OKLCH L 43.4% C 0.154 H 336.2°. Best body text is #FFFFFF at 8.68:1 contrast (WCAG AA passes).

Color values

HEX#812470
RGBrgb(129, 36, 112)
HSLhsl(311, 56%, 32%)
HSVhsv(311, 72%, 51%)
CMYKcmyk(0%, 72.1%, 13.2%, 49.4%)
CIE-LABlab(32.03, 47.97, -22.80)
CIE-LCHlch(32.03, 53.11, 334.58°)
OKLaboklab(43.43% 0.1406 -0.0621)
OKLCHoklch(43.43% 0.154 336.2)
XYZxyz(12.6090, 7.0998, 16.0324)
Luminance0.0710 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#812470 #248135
analogous
#642481 #812470 #812441
triadic
#812470 #708124 #247081
tetradic
#812470 #816424 #248135 #244181
square
#812470 #816424 #248135 #244181
split-complementary
#812470 #418124 #248164
monochromatic
#21091D #511746 #812470 #B1319A #CE51B7

Accessibility & contrast

On white

8.68
#812470 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#812470 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #812470
8.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##812470#FFFFFF#000000##FFFFFF
##8124701.008.682.428.68
#FFFFFF8.681.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#254272
Deuteranopia (green-blind)
#45506E
Tritanopia (blue-blind)
#882A47
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #812470;
/* rgb */ color: rgb(129, 36, 112);
/* oklch */ color: oklch(43.4% 0.154 336.2);
Tailwind
colors: {
  custom: {
    50: '#a96899',
    500: '#812470',
    950: '#000000',
  },
}
SCSS
$custom: #812470;
$custom-light: #a96899;
$custom-dark: #000000;
JSON
{
  "hex": "#812470",
  "rgb": {
    "r": 129,
    "g": 36,
    "b": 112
  },
  "hsl": {
    "h": 310.968,
    "s": 56.364,
    "l": 32.353
  },
  "oklch": {
    "l": 0.43433,
    "c": 0.15366,
    "h": 336.2
  },
  "luminance": 0.07099
}

Semantic roles & 50–950 ramp

primary
#812470
secondary
#4EB261
accent
#E06448
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10070E
muted
#7F7A7E

Preview Lab

Preview with #812470

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

Preview Lab → · Contrast checker → · Palette generator →

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