#831A5C#831A5C

#831A5C is a dark, vivid pink. Relative luminance 0.063; OKLCH L 41.9% C 0.153 H 347.4°. Best body text is #FFFFFF at 9.26:1 contrast (WCAG AA passes).

Color values

HEX#831A5C
RGBrgb(131, 26, 92)
HSLhsl(322, 67%, 31%)
HSVhsv(322, 80%, 51%)
CMYKcmyk(0%, 80.2%, 29.8%, 48.6%)
CIE-LABlab(30.25, 49.10, -12.65)
CIE-LCHlch(30.25, 50.70, 345.56°)
OKLaboklab(41.91% 0.1497 -0.0334)
OKLCHoklch(41.91% 0.153 347.4)
XYZxyz(11.6618, 6.3381, 10.7324)
Luminance0.0634 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#831A5C #1A8341
analogous
#751A83 #831A5C #831A27
triadic
#831A5C #5C831A #1A5C83
tetradic
#831A5C #83751A #1A8341 #1A2783
square
#831A5C #83751A #1A8341 #1A2783
split-complementary
#831A5C #27831A #1A8375
monochromatic
#1D0614 #501038 #831A5C #B62480 #D93FA0

Accessibility & contrast

On white

9.26
#831A5C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#831A5C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #831A5C
9.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##831A5C#FFFFFF#000000##FFFFFF
##831A5C1.009.262.279.26
#FFFFFF9.261.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A3C5E
Deuteranopia (green-blind)
#4A4E5A
Tritanopia (blue-blind)
#8D1539
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #831a5c;
/* rgb */ color: rgb(131, 26, 92);
/* oklch */ color: oklch(41.9% 0.153 347.4);
Tailwind
colors: {
  custom: {
    50: '#ab638a',
    500: '#831a5c',
    950: '#000000',
  },
}
SCSS
$custom: #831a5c;
$custom-light: #ab638a;
$custom-dark: #000000;
JSON
{
  "hex": "#831a5c",
  "rgb": {
    "r": 131,
    "g": 26,
    "b": 92
  },
  "hsl": {
    "h": 322.286,
    "s": 66.879,
    "l": 30.784
  },
  "oklch": {
    "l": 0.41906,
    "c": 0.15335,
    "h": 347.4
  },
  "luminance": 0.06337
}

Semantic roles & 50–950 ramp

primary
#831A5C
secondary
#42B76D
accent
#EA7E3E
background
#FBF6F8
surface
#F6EBF0
border
#D0C6CB
text
#11060B
muted
#807A7C

Preview Lab

Preview with #831A5C

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

Preview Lab → · Contrast checker → · Palette generator →

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