#831A62#831A62

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

Color values

HEX#831A62
RGBrgb(131, 26, 98)
HSLhsl(319, 67%, 31%)
HSVhsv(319, 80%, 51%)
CMYKcmyk(0%, 80.2%, 25.2%, 48.6%)
CIE-LABlab(30.51, 49.89, -16.14)
CIE-LCHlch(30.51, 52.43, 342.07°)
OKLaboklab(42.18% 0.1509 -0.0431)
OKLCHoklch(42.18% 0.157 344.1)
XYZxyz(11.9346, 6.4472, 12.1688)
Luminance0.0645 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#831A62 #1A833B
analogous
#6F1A83 #831A62 #831A2D
triadic
#831A62 #62831A #1A6283
tetradic
#831A62 #836F1A #1A833B #1A2D83
square
#831A62 #836F1A #1A833B #1A2D83
split-complementary
#831A62 #2D831A #1A836F
monochromatic
#1D0616 #50103C #831A62 #B62488 #D93FA8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##831A62#FFFFFF#000000##FFFFFF
##831A621.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)
#273D64
Deuteranopia (green-blind)
#484E60
Tritanopia (blue-blind)
#8C193C
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #831a62;
/* rgb */ color: rgb(131, 26, 98);
/* oklch */ color: oklch(42.2% 0.157 344.1);
Tailwind
colors: {
  custom: {
    50: '#ab638e',
    500: '#831a62',
    950: '#000000',
  },
}
SCSS
$custom: #831a62;
$custom-light: #ab638e;
$custom-dark: #000000;
JSON
{
  "hex": "#831a62",
  "rgb": {
    "r": 131,
    "g": 26,
    "b": 98
  },
  "hsl": {
    "h": 318.857,
    "s": 66.879,
    "l": 30.784
  },
  "oklch": {
    "l": 0.42183,
    "c": 0.15696,
    "h": 344.1
  },
  "luminance": 0.06446
}

Semantic roles & 50–950 ramp

primary
#831A62
secondary
#42B767
accent
#EA743E
background
#FAF6F8
surface
#F5EBF0
border
#CFC6CB
text
#11060C
muted
#807A7D

Preview Lab

Preview with #831A62

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

Preview Lab → · Contrast checker → · Palette generator →

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