#831F54#831F54

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

Color values

HEX#831F54
RGBrgb(131, 31, 84)
HSLhsl(328, 62%, 32%)
HSVhsv(328, 76%, 51%)
CMYKcmyk(0%, 76.3%, 35.9%, 48.6%)
CIE-LABlab(30.51, 46.46, -7.01)
CIE-LCHlch(30.51, 46.99, 351.41°)
OKLaboklab(41.99% 0.1424 -0.018)
OKLCHoklch(41.99% 0.144 352.8)
XYZxyz(11.4510, 6.4467, 9.0271)
Luminance0.0644 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#831F54 #1F834E
analogous
#801F83 #831F54 #831F22
triadic
#831F54 #54831F #1F5483
tetradic
#831F54 #83801F #1F834E #1F2283
square
#831F54 #83801F #1F834E #1F2283
split-complementary
#831F54 #22831F #1F8380
monochromatic
#200815 #521334 #831F54 #B42B74 #D44992

Accessibility & contrast

On white

9.17
#831F54 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#831F54 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #831F54
9.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##831F54#FFFFFF#000000##FFFFFF
##831F541.009.172.299.17
#FFFFFF9.171.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#313C55
Deuteranopia (green-blind)
#4D4E52
Tritanopia (blue-blind)
#8D1636
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #831f54;
/* rgb */ color: rgb(131, 31, 84);
/* oklch */ color: oklch(42.0% 0.144 352.8);
Tailwind
colors: {
  custom: {
    50: '#ab6584',
    500: '#831f54',
    950: '#000000',
  },
}
SCSS
$custom: #831f54;
$custom-light: #ab6584;
$custom-dark: #000000;
JSON
{
  "hex": "#831f54",
  "rgb": {
    "r": 131,
    "g": 31,
    "b": 84
  },
  "hsl": {
    "h": 328.2,
    "s": 61.728,
    "l": 31.765
  },
  "oklch": {
    "l": 0.41992,
    "c": 0.14353,
    "h": 352.8
  },
  "luminance": 0.06445
}

Semantic roles & 50–950 ramp

primary
#831F54
secondary
#48B67C
accent
#E58F43
background
#FBF6F8
surface
#F6EBEF
border
#D0C6CA
text
#11060A
muted
#807A7C

Preview Lab

Preview with #831F54

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

Preview Lab → · Contrast checker → · Palette generator →

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