#831866#831866

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

Color values

HEX#831866
RGBrgb(131, 24, 102)
HSLhsl(316, 69%, 30%)
HSVhsv(316, 82%, 51%)
CMYKcmyk(0%, 81.7%, 22.1%, 48.6%)
CIE-LABlab(30.49, 51.02, -18.76)
CIE-LCHlch(30.49, 54.36, 339.81°)
OKLaboklab(42.23% 0.1534 -0.0505)
OKLCHoklch(42.23% 0.162 341.8)
XYZxyz(12.0854, 6.4392, 13.1742)
Luminance0.0644 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#831866 #188335
analogous
#6A1883 #831866 #831830
triadic
#831866 #668318 #186683
tetradic
#831866 #836A18 #188335 #183083
square
#831866 #836A18 #188335 #183083
split-complementary
#831866 #308318 #18836A
monochromatic
#1C0515 #4F0F3E #831866 #B7218E #DB3AAF

Accessibility & contrast

On white

9.18
#831866 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#831866 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #831866
9.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##831866#FFFFFF#000000##FFFFFF
##8318661.009.182.299.18
#FFFFFF9.181.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#233D68
Deuteranopia (green-blind)
#464E64
Tritanopia (blue-blind)
#8C1A3E
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #831866;
/* rgb */ color: rgb(131, 24, 102);
/* oklch */ color: oklch(42.2% 0.162 341.8);
Tailwind
colors: {
  custom: {
    50: '#ab6392',
    500: '#831866',
    950: '#000000',
  },
}
SCSS
$custom: #831866;
$custom-light: #ab6392;
$custom-dark: #000000;
JSON
{
  "hex": "#831866",
  "rgb": {
    "r": 131,
    "g": 24,
    "b": 102
  },
  "hsl": {
    "h": 316.262,
    "s": 69.032,
    "l": 30.392
  },
  "oklch": {
    "l": 0.4223,
    "c": 0.1615,
    "h": 341.8
  },
  "luminance": 0.06438
}

Semantic roles & 50–950 ramp

primary
#831866
secondary
#40B760
accent
#EC6C3C
background
#FAF6F8
surface
#F5EBF0
border
#CFC6CB
text
#11060D
muted
#807A7D

Preview Lab

Preview with #831866

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

Preview Lab → · Contrast checker → · Palette generator →

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