#831668#831668

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

Color values

HEX#831668
RGBrgb(131, 22, 104)
HSLhsl(315, 71%, 30%)
HSVhsv(315, 83%, 51%)
CMYKcmyk(0%, 83.2%, 20.6%, 48.6%)
CIE-LABlab(30.40, 51.85, -20.19)
CIE-LCHlch(30.40, 55.64, 338.72°)
OKLaboklab(42.19% 0.1554 -0.0545)
OKLCHoklch(42.19% 0.165 340.7)
XYZxyz(12.1461, 6.3999, 13.6897)
Luminance0.0640 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#831668 #168331
analogous
#671683 #831668 #831632
triadic
#831668 #688316 #166883
tetradic
#831668 #836716 #168331 #163283
square
#831668 #836716 #168331 #163283
split-complementary
#831668 #328316 #168367
monochromatic
#1A0415 #4F0D3E #831668 #B71F92 #DD36B4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##831668#FFFFFF#000000##FFFFFF
##8316681.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)
#203D6A
Deuteranopia (green-blind)
#454E66
Tritanopia (blue-blind)
#8B1A3E
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #831668;
/* rgb */ color: rgb(131, 22, 104);
/* oklch */ color: oklch(42.2% 0.165 340.7);
Tailwind
colors: {
  custom: {
    50: '#ab6293',
    500: '#831668',
    950: '#000000',
  },
}
SCSS
$custom: #831668;
$custom-light: #ab6293;
$custom-dark: #000000;
JSON
{
  "hex": "#831668",
  "rgb": {
    "r": 131,
    "g": 22,
    "b": 104
  },
  "hsl": {
    "h": 314.862,
    "s": 71.242,
    "l": 30
  },
  "oklch": {
    "l": 0.42193,
    "c": 0.16465,
    "h": 340.7
  },
  "luminance": 0.06399
}

Semantic roles & 50–950 ramp

primary
#831668
secondary
#3DB75C
accent
#EE663A
background
#FAF6F9
surface
#F5EBF1
border
#CFC6CB
text
#11060D
muted
#807A7E

Preview Lab

Preview with #831668

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

Preview Lab → · Contrast checker → · Palette generator →

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