#831A52#831A52

#831A52 is a dark, vivid pink. Relative luminance 0.062; OKLCH L 41.5% C 0.148 H 353.4°. Best body text is #FFFFFF at 9.40:1 contrast (WCAG AA passes).

Color values

HEX#831A52
RGBrgb(131, 26, 82)
HSLhsl(328, 67%, 31%)
HSVhsv(328, 80%, 51%)
CMYKcmyk(0%, 80.2%, 37.4%, 48.6%)
CIE-LABlab(29.85, 47.89, -6.70)
CIE-LCHlch(29.85, 48.36, 352.04°)
OKLaboklab(41.48% 0.1471 -0.0171)
OKLCHoklch(41.48% 0.148 353.4)
XYZxyz(11.2532, 6.1747, 8.5802)
Luminance0.0617 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#831A52 #1A834B
analogous
#7F1A83 #831A52 #831A1D
triadic
#831A52 #52831A #1A5283
tetradic
#831A52 #837F1A #1A834B #1A1D83
square
#831A52 #837F1A #1A834B #1A1D83
split-complementary
#831A52 #1D831A #1A837F
monochromatic
#1D0612 #501032 #831A52 #B62472 #D93F91

Accessibility & contrast

On white

9.40
#831A52 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#831A52 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #831A52
9.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##831A52#FFFFFF#000000##FFFFFF
##831A521.009.402.239.40
#FFFFFF9.401.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F3A53
Deuteranopia (green-blind)
#4C4D50
Tritanopia (blue-blind)
#8E0E34
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #831a52;
/* rgb */ color: rgb(131, 26, 82);
/* oklch */ color: oklch(41.5% 0.148 353.4);
Tailwind
colors: {
  custom: {
    50: '#ab6382',
    500: '#831a52',
    950: '#000000',
  },
}
SCSS
$custom: #831a52;
$custom-light: #ab6382;
$custom-dark: #000000;
JSON
{
  "hex": "#831a52",
  "rgb": {
    "r": 131,
    "g": 26,
    "b": 82
  },
  "hsl": {
    "h": 328,
    "s": 66.879,
    "l": 30.784
  },
  "oklch": {
    "l": 0.41482,
    "c": 0.14807,
    "h": 353.4
  },
  "luminance": 0.06173
}

Semantic roles & 50–950 ramp

primary
#831A52
secondary
#42B779
accent
#EA8E3E
background
#FBF6F7
surface
#F6EBEE
border
#D0C6C9
text
#11060A
muted
#807A7C

Preview Lab

Preview with #831A52

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

Preview Lab → · Contrast checker → · Palette generator →

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