#831F5A#831F5A

#831F5A is a dark, vivid pink. Relative luminance 0.065; OKLCH L 42.2% C 0.147 H 349.1°. Best body text is #FFFFFF at 9.10:1 contrast (WCAG AA passes).

Color values

HEX#831F5A
RGBrgb(131, 31, 90)
HSLhsl(325, 62%, 32%)
HSVhsv(325, 76%, 51%)
CMYKcmyk(0%, 76.3%, 31.3%, 48.6%)
CIE-LABlab(30.75, 47.20, -10.58)
CIE-LCHlch(30.75, 48.37, 347.36°)
OKLaboklab(42.24% 0.1441 -0.0277)
OKLCHoklch(42.24% 0.147 349.1)
XYZxyz(11.6961, 6.5448, 10.3182)
Luminance0.0654 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#831F5A #1F8348
analogous
#7A1F83 #831F5A #831F28
triadic
#831F5A #5A831F #1F5A83
tetradic
#831F5A #837A1F #1F8348 #1F2883
square
#831F5A #837A1F #1F8348 #1F2883
split-complementary
#831F5A #28831F #1F837A
monochromatic
#200816 #521338 #831F5A #B42B7C #D4499B

Accessibility & contrast

On white

9.10
#831F5A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#831F5A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #831F5A
9.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##831F5A#FFFFFF#000000##FFFFFF
##831F5A1.009.102.319.10
#FFFFFF9.101.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F3D5C
Deuteranopia (green-blind)
#4C4F58
Tritanopia (blue-blind)
#8D1A3A
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #831f5a;
/* rgb */ color: rgb(131, 31, 90);
/* oklch */ color: oklch(42.2% 0.147 349.1);
Tailwind
colors: {
  custom: {
    50: '#ab6588',
    500: '#831f5a',
    950: '#000000',
  },
}
SCSS
$custom: #831f5a;
$custom-light: #ab6588;
$custom-dark: #000000;
JSON
{
  "hex": "#831f5a",
  "rgb": {
    "r": 131,
    "g": 31,
    "b": 90
  },
  "hsl": {
    "h": 324.6,
    "s": 61.728,
    "l": 31.765
  },
  "oklch": {
    "l": 0.4224,
    "c": 0.14669,
    "h": 349.1
  },
  "luminance": 0.06543
}

Semantic roles & 50–950 ramp

primary
#831F5A
secondary
#48B675
accent
#E58543
background
#FAF6F8
surface
#F5EBEF
border
#CFC6CA
text
#11060B
muted
#807A7C

Preview Lab

Preview with #831F5A

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

Preview Lab → · Contrast checker → · Palette generator →

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