#831B6F#831B6F

#831B6F is a dark, vivid pink. Relative luminance 0.068; OKLCH L 42.9% C 0.165 H 337.3°. Best body text is #FFFFFF at 8.93:1 contrast (WCAG AA passes).

Color values

HEX#831B6F
RGBrgb(131, 27, 111)
HSLhsl(312, 66%, 31%)
HSVhsv(312, 79%, 51%)
CMYKcmyk(0%, 79.4%, 15.3%, 48.6%)
CIE-LABlab(31.25, 51.43, -23.36)
CIE-LCHlch(31.25, 56.48, 335.57°)
OKLaboklab(42.92% 0.1518 -0.0635)
OKLCHoklch(42.92% 0.165 337.3)
XYZxyz(12.6215, 6.7581, 15.6756)
Luminance0.0676 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#831B6F #1B832F
analogous
#631B83 #831B6F #831B3B
triadic
#831B6F #6F831B #1B6F83
tetradic
#831B6F #83631B #1B832F #1B3B83
square
#831B6F #83631B #1B832F #1B3B83
split-complementary
#831B6F #3B831B #1B8363
monochromatic
#1E0619 #501144 #831B6F #B6259A #D841BB

Accessibility & contrast

On white

8.93
#831B6F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#831B6F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #831B6F
8.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##831B6F#FFFFFF#000000##FFFFFF
##831B6F1.008.932.358.93
#FFFFFF8.931.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F3F71
Deuteranopia (green-blind)
#434F6D
Tritanopia (blue-blind)
#8A2243
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #831b6f;
/* rgb */ color: rgb(131, 27, 111);
/* oklch */ color: oklch(42.9% 0.165 337.3);
Tailwind
colors: {
  custom: {
    50: '#ab6498',
    500: '#831b6f',
    950: '#000000',
  },
}
SCSS
$custom: #831b6f;
$custom-light: #ab6498;
$custom-dark: #000000;
JSON
{
  "hex": "#831b6f",
  "rgb": {
    "r": 131,
    "g": 27,
    "b": 111
  },
  "hsl": {
    "h": 311.538,
    "s": 65.823,
    "l": 30.98
  },
  "oklch": {
    "l": 0.42919,
    "c": 0.1646,
    "h": 337.3
  },
  "luminance": 0.06757
}

Semantic roles & 50–950 ramp

primary
#831B6F
secondary
#43B659
accent
#E9603F
background
#FAF6F9
surface
#F5EBF2
border
#CFC6CC
text
#10060D
muted
#7F7A7E

Preview Lab

Preview with #831B6F

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

Preview Lab → · Contrast checker → · Palette generator →

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