#831B62#831B62

#831B62 is a dark, vivid pink. Relative luminance 0.065; OKLCH L 42.3% C 0.156 H 344.1°. Best body text is #FFFFFF at 9.14:1 contrast (WCAG AA passes).

Color values

HEX#831B62
RGBrgb(131, 27, 98)
HSLhsl(319, 66%, 31%)
HSVhsv(319, 79%, 51%)
CMYKcmyk(0%, 79.4%, 25.2%, 48.6%)
CIE-LABlab(30.62, 49.58, -15.97)
CIE-LCHlch(30.62, 52.09, 342.14°)
OKLaboklab(42.26% 0.15 -0.0426)
OKLCHoklch(42.26% 0.156 344.1)
XYZxyz(11.9571, 6.4923, 12.1763)
Luminance0.0649 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#831B62 #1B833C
analogous
#701B83 #831B62 #831B2E
triadic
#831B62 #62831B #1B6283
tetradic
#831B62 #83701B #1B833C #1B2E83
square
#831B62 #83701B #1B833C #1B2E83
split-complementary
#831B62 #2E831B #1B8370
monochromatic
#1E0616 #50113C #831B62 #B62588 #D841A8

Accessibility & contrast

On white

9.14
#831B62 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#831B62 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #831B62
9.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##831B62#FFFFFF#000000##FFFFFF
##831B621.009.142.309.14
#FFFFFF9.141.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#283D64
Deuteranopia (green-blind)
#484E60
Tritanopia (blue-blind)
#8C1A3C
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #831b62;
/* rgb */ color: rgb(131, 27, 98);
/* oklch */ color: oklch(42.3% 0.156 344.1);
Tailwind
colors: {
  custom: {
    50: '#ab648e',
    500: '#831b62',
    950: '#000000',
  },
}
SCSS
$custom: #831b62;
$custom-light: #ab648e;
$custom-dark: #000000;
JSON
{
  "hex": "#831b62",
  "rgb": {
    "r": 131,
    "g": 27,
    "b": 98
  },
  "hsl": {
    "h": 319.038,
    "s": 65.823,
    "l": 30.98
  },
  "oklch": {
    "l": 0.42261,
    "c": 0.15592,
    "h": 344.1
  },
  "luminance": 0.06491
}

Semantic roles & 50–950 ramp

primary
#831B62
secondary
#43B668
accent
#E9753F
background
#FAF6F8
surface
#F5EBF0
border
#CFC6CB
text
#11060C
muted
#807A7D

Preview Lab

Preview with #831B62

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

Preview Lab → · Contrast checker → · Palette generator →

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