#831962#831962

#831962 is a dark, vivid pink. Relative luminance 0.064; OKLCH L 42.1% C 0.158 H 344.0°. Best body text is #FFFFFF at 9.21:1 contrast (WCAG AA passes).

Color values

HEX#831962
RGBrgb(131, 25, 98)
HSLhsl(319, 68%, 31%)
HSVhsv(319, 81%, 51%)
CMYKcmyk(0%, 80.9%, 25.2%, 48.6%)
CIE-LABlab(30.41, 50.19, -16.30)
CIE-LCHlch(30.41, 52.77, 342.00°)
OKLaboklab(42.11% 0.1519 -0.0435)
OKLCHoklch(42.11% 0.158 344)
XYZxyz(11.9128, 6.4037, 12.1616)
Luminance0.0640 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#831962 #19833A
analogous
#6F1983 #831962 #83192D
triadic
#831962 #628319 #196283
tetradic
#831962 #836F19 #19833A #192D83
square
#831962 #836F19 #19833A #192D83
split-complementary
#831962 #2D8319 #19836F
monochromatic
#1C0515 #500F3C #831962 #B62388 #DA3DA9

Accessibility & contrast

On white

9.21
#831962 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#831962 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #831962
9.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##831962#FFFFFF#000000##FFFFFF
##8319621.009.212.289.21
#FFFFFF9.211.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#263C64
Deuteranopia (green-blind)
#474E60
Tritanopia (blue-blind)
#8C183C
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #831962;
/* rgb */ color: rgb(131, 25, 98);
/* oklch */ color: oklch(42.1% 0.158 344.0);
Tailwind
colors: {
  custom: {
    50: '#ab638e',
    500: '#831962',
    950: '#000000',
  },
}
SCSS
$custom: #831962;
$custom-light: #ab638e;
$custom-dark: #000000;
JSON
{
  "hex": "#831962",
  "rgb": {
    "r": 131,
    "g": 25,
    "b": 98
  },
  "hsl": {
    "h": 318.679,
    "s": 67.949,
    "l": 30.588
  },
  "oklch": {
    "l": 0.42107,
    "c": 0.15797,
    "h": 344
  },
  "luminance": 0.06402
}

Semantic roles & 50–950 ramp

primary
#831962
secondary
#41B766
accent
#EB733D
background
#FAF6F8
surface
#F5EBF0
border
#CFC6CB
text
#11060C
muted
#807A7D

Preview Lab

Preview with #831962

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

Preview Lab → · Contrast checker → · Palette generator →

#831962 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva