#831A6F#831A6F

#831A6F is a dark, vivid pink. Relative luminance 0.067; OKLCH L 42.8% C 0.166 H 337.3°. Best body text is #FFFFFF at 8.97:1 contrast (WCAG AA passes).

Color values

HEX#831A6F
RGBrgb(131, 26, 111)
HSLhsl(311, 67%, 31%)
HSVhsv(311, 80%, 51%)
CMYKcmyk(0%, 80.2%, 15.3%, 48.6%)
CIE-LABlab(31.14, 51.73, -23.52)
CIE-LCHlch(31.14, 56.83, 335.55°)
OKLaboklab(42.84% 0.1527 -0.064)
OKLCHoklch(42.84% 0.166 337.3)
XYZxyz(12.5990, 6.7130, 15.6681)
Luminance0.0671 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#831A6F #1A832E
analogous
#621A83 #831A6F #831A3A
triadic
#831A6F #6F831A #1A6F83
tetradic
#831A6F #83621A #1A832E #1A3A83
square
#831A6F #83621A #1A832E #1A3A83
split-complementary
#831A6F #3A831A #1A8362
monochromatic
#1D0618 #501044 #831A6F #B6249A #D93FBB

Accessibility & contrast

On white

8.97
#831A6F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#831A6F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #831A6F
8.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##831A6F#FFFFFF#000000##FFFFFF
##831A6F1.008.972.348.97
#FFFFFF8.971.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E3F71
Deuteranopia (green-blind)
#434F6D
Tritanopia (blue-blind)
#8A2143
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #831a6f;
/* rgb */ color: rgb(131, 26, 111);
/* oklch */ color: oklch(42.8% 0.166 337.3);
Tailwind
colors: {
  custom: {
    50: '#ab6498',
    500: '#831a6f',
    950: '#000000',
  },
}
SCSS
$custom: #831a6f;
$custom-light: #ab6498;
$custom-dark: #000000;
JSON
{
  "hex": "#831a6f",
  "rgb": {
    "r": 131,
    "g": 26,
    "b": 111
  },
  "hsl": {
    "h": 311.429,
    "s": 66.879,
    "l": 30.784
  },
  "oklch": {
    "l": 0.42843,
    "c": 0.16561,
    "h": 337.3
  },
  "luminance": 0.06712
}

Semantic roles & 50–950 ramp

primary
#831A6F
secondary
#42B758
accent
#EA5F3E
background
#FAF6F9
surface
#F5EBF2
border
#CFC6CC
text
#10060D
muted
#7F7A7E

Preview Lab

Preview with #831A6F

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

Preview Lab → · Contrast checker → · Palette generator →

#831A6F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva