#831C64#831C64

#831C64 is a dark, vivid pink. Relative luminance 0.066; OKLCH L 42.4% C 0.156 H 343.1°. Best body text is #FFFFFF at 9.07:1 contrast (WCAG AA passes).

Color values

HEX#831C64
RGBrgb(131, 28, 100)
HSLhsl(318, 65%, 31%)
HSVhsv(318, 79%, 51%)
CMYKcmyk(0%, 78.6%, 23.7%, 48.6%)
CIE-LABlab(30.82, 49.53, -16.96)
CIE-LCHlch(30.82, 52.35, 341.10°)
OKLaboklab(42.44% 0.1494 -0.0454)
OKLCHoklch(42.44% 0.156 343.1)
XYZxyz(12.0760, 6.5772, 12.6877)
Luminance0.0658 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#831C64 #1C833B
analogous
#6E1C83 #831C64 #831C30
triadic
#831C64 #64831C #1C6483
tetradic
#831C64 #836E1C #1C833B #1C3083
square
#831C64 #836E1C #1C833B #1C3083
split-complementary
#831C64 #30831C #1C836E
monochromatic
#1E0617 #51113E #831C64 #B5278A #D743AA

Accessibility & contrast

On white

9.07
#831C64 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #831C64
9.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##831C64#FFFFFF#000000##FFFFFF
##831C641.009.072.329.07
#FFFFFF9.071.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#273E66
Deuteranopia (green-blind)
#484F62
Tritanopia (blue-blind)
#8C1C3E
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #831c64;
/* rgb */ color: rgb(131, 28, 100);
/* oklch */ color: oklch(42.4% 0.156 343.1);
Tailwind
colors: {
  custom: {
    50: '#ab6490',
    500: '#831c64',
    950: '#000000',
  },
}
SCSS
$custom: #831c64;
$custom-light: #ab6490;
$custom-dark: #000000;
JSON
{
  "hex": "#831c64",
  "rgb": {
    "r": 131,
    "g": 28,
    "b": 100
  },
  "hsl": {
    "h": 318.058,
    "s": 64.78,
    "l": 31.176
  },
  "oklch": {
    "l": 0.42438,
    "c": 0.15611,
    "h": 343.1
  },
  "luminance": 0.06576
}

Semantic roles & 50–950 ramp

primary
#831C64
secondary
#45B667
accent
#E87340
background
#FAF6F8
surface
#F5EBF0
border
#CFC6CB
text
#11060C
muted
#807A7D

Preview Lab

Preview with #831C64

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

Preview Lab → · Contrast checker → · Palette generator →

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