#831A54#831A54

#831A54 is a dark, vivid pink. Relative luminance 0.062; OKLCH L 41.6% C 0.149 H 352.1°. Best body text is #FFFFFF at 9.37:1 contrast (WCAG AA passes).

Color values

HEX#831A54
RGBrgb(131, 26, 84)
HSLhsl(327, 67%, 31%)
HSVhsv(327, 80%, 51%)
CMYKcmyk(0%, 80.2%, 35.9%, 48.6%)
CIE-LABlab(29.93, 48.12, -7.90)
CIE-LCHlch(29.93, 48.77, 350.68°)
OKLaboklab(41.56% 0.1477 -0.0204)
OKLCHoklch(41.56% 0.149 352.1)
XYZxyz(11.3304, 6.2056, 8.9869)
Luminance0.0620 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#831A54 #1A8349
analogous
#7D1A83 #831A54 #831A1F
triadic
#831A54 #54831A #1A5483
tetradic
#831A54 #837D1A #1A8349 #1A1F83
square
#831A54 #837D1A #1A8349 #1A1F83
split-complementary
#831A54 #1F831A #1A837D
monochromatic
#1D0613 #501033 #831A54 #B62475 #D93F94

Accessibility & contrast

On white

9.37
#831A54 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#831A54 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #831A54
9.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##831A54#FFFFFF#000000##FFFFFF
##831A541.009.372.249.37
#FFFFFF9.371.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E3A55
Deuteranopia (green-blind)
#4C4D52
Tritanopia (blue-blind)
#8D0F35
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #831a54;
/* rgb */ color: rgb(131, 26, 84);
/* oklch */ color: oklch(41.6% 0.149 352.1);
Tailwind
colors: {
  custom: {
    50: '#ab6384',
    500: '#831a54',
    950: '#000000',
  },
}
SCSS
$custom: #831a54;
$custom-light: #ab6384;
$custom-dark: #000000;
JSON
{
  "hex": "#831a54",
  "rgb": {
    "r": 131,
    "g": 26,
    "b": 84
  },
  "hsl": {
    "h": 326.857,
    "s": 66.879,
    "l": 30.784
  },
  "oklch": {
    "l": 0.41563,
    "c": 0.14906,
    "h": 352.1
  },
  "luminance": 0.06204
}

Semantic roles & 50–950 ramp

primary
#831A54
secondary
#42B776
accent
#EA8B3E
background
#FBF6F8
surface
#F6EBEF
border
#D0C6CA
text
#11060A
muted
#807A7C

Preview Lab

Preview with #831A54

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

Preview Lab → · Contrast checker → · Palette generator →

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