#812866#812866

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

Color values

HEX#812866
RGBrgb(129, 40, 102)
HSLhsl(318, 53%, 33%)
HSVhsv(318, 69%, 51%)
CMYKcmyk(0%, 69%, 20.9%, 49.4%)
CIE-LABlab(32.14, 44.81, -16.25)
CIE-LCHlch(32.14, 47.67, 340.07°)
OKLaboklab(43.35% 0.1341 -0.0436)
OKLCHoklch(43.35% 0.141 342)
XYZxyz(12.2107, 7.1452, 13.3039)
Luminance0.0714 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#812866 #288143
analogous
#6F2881 #812866 #812839
triadic
#812866 #668128 #286681
tetradic
#812866 #816F28 #288143 #283981
square
#812866 #816F28 #288143 #283981
split-complementary
#812866 #398128 #28816F
monochromatic
#240B1C #521A41 #812866 #B0368B #CB58A8

Accessibility & contrast

On white

8.65
#812866 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#812866 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #812866
8.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##812866#FFFFFF#000000##FFFFFF
##8128661.008.652.438.65
#FFFFFF8.651.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F4268
Deuteranopia (green-blind)
#4A5164
Tritanopia (blue-blind)
#892943
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #812866;
/* rgb */ color: rgb(129, 40, 102);
/* oklch */ color: oklch(43.4% 0.141 342.0);
Tailwind
colors: {
  custom: {
    50: '#a96991',
    500: '#812866',
    950: '#000000',
  },
}
SCSS
$custom: #812866;
$custom-light: #a96991;
$custom-dark: #000000;
JSON
{
  "hex": "#812866",
  "rgb": {
    "r": 129,
    "g": 40,
    "b": 102
  },
  "hsl": {
    "h": 318.202,
    "s": 52.663,
    "l": 33.137
  },
  "oklch": {
    "l": 0.43352,
    "c": 0.14098,
    "h": 342
  },
  "luminance": 0.07144
}

Semantic roles & 50–950 ramp

primary
#812866
secondary
#54B070
accent
#DC784C
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10070D
muted
#7F7A7D

Preview Lab

Preview with #812866

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

Preview Lab → · Contrast checker → · Palette generator →

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