#812865#812865

#812865 is a dark, vivid pink. Relative luminance 0.071; OKLCH L 43.3% C 0.140 H 342.6°. Best body text is #FFFFFF at 8.66:1 contrast (WCAG AA passes).

Color values

HEX#812865
RGBrgb(129, 40, 101)
HSLhsl(319, 53%, 33%)
HSVhsv(319, 69%, 51%)
CMYKcmyk(0%, 69%, 21.7%, 49.4%)
CIE-LABlab(32.09, 44.66, -15.68)
CIE-LCHlch(32.09, 47.34, 340.66°)
OKLaboklab(43.31% 0.1339 -0.0419)
OKLCHoklch(43.31% 0.14 342.6)
XYZxyz(12.1614, 7.1255, 13.0443)
Luminance0.0712 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#812865 #288144
analogous
#702881 #812865 #812839
triadic
#812865 #658128 #286581
tetradic
#812865 #817028 #288144 #283981
square
#812865 #817028 #288144 #283981
split-complementary
#812865 #398128 #288170
monochromatic
#240B1C #521A40 #812865 #B0368A #CB58A7

Accessibility & contrast

On white

8.66
#812865 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #812865
8.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##812865#FFFFFF#000000##FFFFFF
##8128651.008.662.428.66
#FFFFFF8.661.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#304267
Deuteranopia (green-blind)
#4A5163
Tritanopia (blue-blind)
#892942
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #812865;
/* rgb */ color: rgb(129, 40, 101);
/* oklch */ color: oklch(43.3% 0.140 342.6);
Tailwind
colors: {
  custom: {
    50: '#a96991',
    500: '#812865',
    950: '#000000',
  },
}
SCSS
$custom: #812865;
$custom-light: #a96991;
$custom-dark: #000000;
JSON
{
  "hex": "#812865",
  "rgb": {
    "r": 129,
    "g": 40,
    "b": 101
  },
  "hsl": {
    "h": 318.876,
    "s": 52.663,
    "l": 33.137
  },
  "oklch": {
    "l": 0.43305,
    "c": 0.14029,
    "h": 342.6
  },
  "luminance": 0.07124
}

Semantic roles & 50–950 ramp

primary
#812865
secondary
#54B071
accent
#DC794C
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10070C
muted
#7F7A7D

Preview Lab

Preview with #812865

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

Preview Lab → · Contrast checker → · Palette generator →

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