#812160#812160

#812160 is a dark, vivid pink. Relative luminance 0.066; OKLCH L 42.3% C 0.146 H 344.9°. Best body text is #FFFFFF at 9.05:1 contrast (WCAG AA passes).

Color values

HEX#812160
RGBrgb(129, 33, 96)
HSLhsl(321, 59%, 32%)
HSVhsv(321, 74%, 51%)
CMYKcmyk(0%, 74.4%, 25.6%, 49.4%)
CIE-LABlab(30.88, 46.72, -14.31)
CIE-LCHlch(30.88, 48.86, 342.97°)
OKLaboklab(42.35% 0.1413 -0.0381)
OKLCHoklch(42.35% 0.146 344.9)
XYZxyz(11.7089, 6.6006, 11.7215)
Luminance0.0660 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#812160 #218142
analogous
#722181 #812160 #812130
triadic
#812160 #608121 #216081
tetradic
#812160 #817221 #218142 #213081
square
#812160 #817221 #218142 #213081
split-complementary
#812160 #308121 #218172
monochromatic
#200817 #50153C #812160 #B22D84 #D14BA3

Accessibility & contrast

On white

9.05
#812160 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#812160 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #812160
9.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##812160#FFFFFF#000000##FFFFFF
##8121601.009.052.329.05
#FFFFFF9.051.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C3E62
Deuteranopia (green-blind)
#494F5E
Tritanopia (blue-blind)
#8A203D
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #812160;
/* rgb */ color: rgb(129, 33, 96);
/* oklch */ color: oklch(42.3% 0.146 344.9);
Tailwind
colors: {
  custom: {
    50: '#a9668d',
    500: '#812160',
    950: '#000000',
  },
}
SCSS
$custom: #812160;
$custom-light: #a9668d;
$custom-dark: #000000;
JSON
{
  "hex": "#812160",
  "rgb": {
    "r": 129,
    "g": 33,
    "b": 96
  },
  "hsl": {
    "h": 320.625,
    "s": 59.259,
    "l": 31.765
  },
  "oklch": {
    "l": 0.42349,
    "c": 0.14632,
    "h": 344.9
  },
  "luminance": 0.06599
}

Semantic roles & 50–950 ramp

primary
#812160
secondary
#4AB46E
accent
#E27B45
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10060C
muted
#7F7A7D

Preview Lab

Preview with #812160

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

Preview Lab → · Contrast checker → · Palette generator →

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