#831966#831966

#831966 is a dark, vivid pink. Relative luminance 0.065; OKLCH L 42.3% C 0.161 H 341.8°. Best body text is #FFFFFF at 9.15:1 contrast (WCAG AA passes).

Color values

HEX#831966
RGBrgb(131, 25, 102)
HSLhsl(316, 68%, 31%)
HSVhsv(316, 81%, 51%)
CMYKcmyk(0%, 80.9%, 22.1%, 48.6%)
CIE-LABlab(30.60, 50.73, -18.60)
CIE-LCHlch(30.60, 54.03, 339.86°)
OKLaboklab(42.3% 0.1525 -0.05)
OKLCHoklch(42.3% 0.161 341.8)
XYZxyz(12.1064, 6.4811, 13.1812)
Luminance0.0648 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#831966 #198336
analogous
#6B1983 #831966 #831931
triadic
#831966 #668319 #196683
tetradic
#831966 #836B19 #198336 #193183
square
#831966 #836B19 #198336 #193183
split-complementary
#831966 #318319 #19836B
monochromatic
#1C0516 #500F3E #831966 #B6238E #DA3DAF

Accessibility & contrast

On white

9.15
#831966 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#831966 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #831966
9.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##831966#FFFFFF#000000##FFFFFF
##8319661.009.152.309.15
#FFFFFF9.151.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#243D68
Deuteranopia (green-blind)
#464E64
Tritanopia (blue-blind)
#8C1B3E
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #831966;
/* rgb */ color: rgb(131, 25, 102);
/* oklch */ color: oklch(42.3% 0.161 341.8);
Tailwind
colors: {
  custom: {
    50: '#ab6392',
    500: '#831966',
    950: '#000000',
  },
}
SCSS
$custom: #831966;
$custom-light: #ab6392;
$custom-dark: #000000;
JSON
{
  "hex": "#831966",
  "rgb": {
    "r": 131,
    "g": 25,
    "b": 102
  },
  "hsl": {
    "h": 316.415,
    "s": 67.949,
    "l": 30.588
  },
  "oklch": {
    "l": 0.42303,
    "c": 0.16051,
    "h": 341.8
  },
  "luminance": 0.0648
}

Semantic roles & 50–950 ramp

primary
#831966
secondary
#41B761
accent
#EB6D3D
background
#FAF6F8
surface
#F5EBF0
border
#CFC6CB
text
#11060D
muted
#807A7D

Preview Lab

Preview with #831966

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

Preview Lab → · Contrast checker → · Palette generator →

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