#831971#831971

#831971 is a dark, vivid pink. Relative luminance 0.067; OKLCH L 42.9% C 0.168 H 336.3°. Best body text is #FFFFFF at 8.96:1 contrast (WCAG AA passes).

Color values

HEX#831971
RGBrgb(131, 25, 113)
HSLhsl(310, 68%, 31%)
HSVhsv(310, 81%, 51%)
CMYKcmyk(0%, 80.9%, 13.7%, 48.6%)
CIE-LABlab(31.15, 52.32, -24.79)
CIE-LCHlch(31.15, 57.90, 334.65°)
OKLaboklab(42.88% 0.1538 -0.0676)
OKLCHoklch(42.88% 0.168 336.3)
XYZxyz(12.6886, 6.7140, 16.2473)
Luminance0.0671 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#831971 #19832B
analogous
#601983 #831971 #83193C
triadic
#831971 #718319 #197183
tetradic
#831971 #836019 #19832B #193C83
square
#831971 #836019 #19832B #193C83
split-complementary
#831971 #3C8319 #198360
monochromatic
#1C0518 #500F45 #831971 #B6239D #DA3DBF

Accessibility & contrast

On white

8.96
#831971 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#831971 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #831971
8.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##831971#FFFFFF#000000##FFFFFF
##8319711.008.962.348.96
#FFFFFF8.961.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B3F73
Deuteranopia (green-blind)
#424F6F
Tritanopia (blue-blind)
#8A2244
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #831971;
/* rgb */ color: rgb(131, 25, 113);
/* oklch */ color: oklch(42.9% 0.168 336.3);
Tailwind
colors: {
  custom: {
    50: '#ab649a',
    500: '#831971',
    950: '#000000',
  },
}
SCSS
$custom: #831971;
$custom-light: #ab649a;
$custom-dark: #000000;
JSON
{
  "hex": "#831971",
  "rgb": {
    "r": 131,
    "g": 25,
    "b": 113
  },
  "hsl": {
    "h": 310.189,
    "s": 67.949,
    "l": 30.588
  },
  "oklch": {
    "l": 0.42879,
    "c": 0.16801,
    "h": 336.3
  },
  "luminance": 0.06713
}

Semantic roles & 50–950 ramp

primary
#831971
secondary
#41B755
accent
#EB5B3D
background
#FAF6F9
surface
#F5EBF2
border
#CFC6CC
text
#10060E
muted
#7F7A7E

Preview Lab

Preview with #831971

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

Preview Lab → · Contrast checker → · Palette generator →

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