#831A5F#831A5F

#831A5F is a dark, vivid pink. Relative luminance 0.064; OKLCH L 42.0% C 0.155 H 345.7°. Best body text is #FFFFFF at 9.22:1 contrast (WCAG AA passes).

Color values

HEX#831A5F
RGBrgb(131, 26, 95)
HSLhsl(321, 67%, 31%)
HSVhsv(321, 80%, 51%)
CMYKcmyk(0%, 80.2%, 27.5%, 48.6%)
CIE-LABlab(30.38, 49.49, -14.40)
CIE-LCHlch(30.38, 51.54, 343.78°)
OKLaboklab(42.04% 0.1503 -0.0382)
OKLCHoklch(42.04% 0.155 345.7)
XYZxyz(11.7956, 6.3916, 11.4368)
Luminance0.0639 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#831A5F #1A833E
analogous
#721A83 #831A5F #831A2B
triadic
#831A5F #5F831A #1A5F83
tetradic
#831A5F #83721A #1A833E #1A2B83
square
#831A5F #83721A #1A833E #1A2B83
split-complementary
#831A5F #2B831A #1A8372
monochromatic
#1D0615 #50103A #831A5F #B62484 #D93FA4

Accessibility & contrast

On white

9.22
#831A5F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#831A5F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #831A5F
9.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##831A5F#FFFFFF#000000##FFFFFF
##831A5F1.009.222.289.22
#FFFFFF9.221.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#293C61
Deuteranopia (green-blind)
#494E5D
Tritanopia (blue-blind)
#8C173A
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #831a5f;
/* rgb */ color: rgb(131, 26, 95);
/* oklch */ color: oklch(42.0% 0.155 345.7);
Tailwind
colors: {
  custom: {
    50: '#ab638c',
    500: '#831a5f',
    950: '#000000',
  },
}
SCSS
$custom: #831a5f;
$custom-light: #ab638c;
$custom-dark: #000000;
JSON
{
  "hex": "#831a5f",
  "rgb": {
    "r": 131,
    "g": 26,
    "b": 95
  },
  "hsl": {
    "h": 320.571,
    "s": 66.879,
    "l": 30.784
  },
  "oklch": {
    "l": 0.42042,
    "c": 0.15512,
    "h": 345.7
  },
  "luminance": 0.0639
}

Semantic roles & 50–950 ramp

primary
#831A5F
secondary
#42B76A
accent
#EA793E
background
#FAF6F8
surface
#F5EBF0
border
#CFC6CB
text
#11060C
muted
#807A7D

Preview Lab

Preview with #831A5F

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

Preview Lab → · Contrast checker → · Palette generator →

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