#831B68#831B68

#831B68 is a dark, vivid pink. Relative luminance 0.066; OKLCH L 42.6% C 0.160 H 340.9°. Best body text is #FFFFFF at 9.04:1 contrast (WCAG AA passes).

Color values

HEX#831B68
RGBrgb(131, 27, 104)
HSLhsl(316, 66%, 31%)
HSVhsv(316, 79%, 51%)
CMYKcmyk(0%, 79.4%, 20.6%, 48.6%)
CIE-LABlab(30.90, 50.41, -19.41)
CIE-LCHlch(30.90, 54.02, 338.94°)
OKLaboklab(42.56% 0.151 -0.0523)
OKLCHoklch(42.56% 0.16 340.9)
XYZxyz(12.2511, 6.6099, 13.7247)
Luminance0.0661 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#831B68 #1B8336
analogous
#6A1B83 #831B68 #831B34
triadic
#831B68 #68831B #1B6883
tetradic
#831B68 #836A1B #1B8336 #1B3483
square
#831B68 #836A1B #1B8336 #1B3483
split-complementary
#831B68 #34831B #1B836A
monochromatic
#1E0617 #501140 #831B68 #B62590 #D841B1

Accessibility & contrast

On white

9.04
#831B68 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#831B68 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #831B68
9.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##831B68#FFFFFF#000000##FFFFFF
##831B681.009.042.329.04
#FFFFFF9.041.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#243E6A
Deuteranopia (green-blind)
#464F66
Tritanopia (blue-blind)
#8B1E40
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #831b68;
/* rgb */ color: rgb(131, 27, 104);
/* oklch */ color: oklch(42.6% 0.160 340.9);
Tailwind
colors: {
  custom: {
    50: '#ab6493',
    500: '#831b68',
    950: '#000000',
  },
}
SCSS
$custom: #831b68;
$custom-light: #ab6493;
$custom-dark: #000000;
JSON
{
  "hex": "#831b68",
  "rgb": {
    "r": 131,
    "g": 27,
    "b": 104
  },
  "hsl": {
    "h": 315.577,
    "s": 65.823,
    "l": 30.98
  },
  "oklch": {
    "l": 0.42555,
    "c": 0.15979,
    "h": 340.9
  },
  "luminance": 0.06609
}

Semantic roles & 50–950 ramp

primary
#831B68
secondary
#43B661
accent
#E96B3F
background
#FAF6F9
surface
#F5EBF1
border
#CFC6CB
text
#10060D
muted
#7F7A7E

Preview Lab

Preview with #831B68

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

Preview Lab → · Contrast checker → · Palette generator →

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