#831A58#831A58

#831A58 is a dark, vivid pink. Relative luminance 0.063; OKLCH L 41.7% C 0.151 H 349.8°. Best body text is #FFFFFF at 9.32:1 contrast (WCAG AA passes).

Color values

HEX#831A58
RGBrgb(131, 26, 88)
HSLhsl(325, 67%, 31%)
HSVhsv(325, 80%, 51%)
CMYKcmyk(0%, 80.2%, 32.8%, 48.6%)
CIE-LABlab(30.08, 48.60, -10.28)
CIE-LCHlch(30.08, 49.68, 348.05°)
OKLaboklab(41.73% 0.1487 -0.0269)
OKLCHoklch(41.73% 0.151 349.8)
XYZxyz(11.4916, 6.2700, 9.8357)
Luminance0.0627 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#831A58 #1A8345
analogous
#791A83 #831A58 #831A24
triadic
#831A58 #58831A #1A5883
tetradic
#831A58 #83791A #1A8345 #1A2483
square
#831A58 #83791A #1A8345 #1A2483
split-complementary
#831A58 #24831A #1A8379
monochromatic
#1D0613 #501036 #831A58 #B6247A #D93F9A

Accessibility & contrast

On white

9.32
#831A58 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#831A58 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #831A58
9.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##831A58#FFFFFF#000000##FFFFFF
##831A581.009.322.259.32
#FFFFFF9.321.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C3B5A
Deuteranopia (green-blind)
#4B4D56
Tritanopia (blue-blind)
#8D1237
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #831a58;
/* rgb */ color: rgb(131, 26, 88);
/* oklch */ color: oklch(41.7% 0.151 349.8);
Tailwind
colors: {
  custom: {
    50: '#ab6387',
    500: '#831a58',
    950: '#000000',
  },
}
SCSS
$custom: #831a58;
$custom-light: #ab6387;
$custom-dark: #000000;
JSON
{
  "hex": "#831a58",
  "rgb": {
    "r": 131,
    "g": 26,
    "b": 88
  },
  "hsl": {
    "h": 324.571,
    "s": 66.879,
    "l": 30.784
  },
  "oklch": {
    "l": 0.4173,
    "c": 0.15113,
    "h": 349.8
  },
  "luminance": 0.06269
}

Semantic roles & 50–950 ramp

primary
#831A58
secondary
#42B772
accent
#EA843E
background
#FBF6F8
surface
#F6EBEF
border
#D0C6CA
text
#11060B
muted
#807A7C

Preview Lab

Preview with #831A58

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

Preview Lab → · Contrast checker → · Palette generator →

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