#831B66#831B66

#831B66 is a dark, vivid pink. Relative luminance 0.066; OKLCH L 42.5% C 0.158 H 341.9°. Best body text is #FFFFFF at 9.08:1 contrast (WCAG AA passes).

Color values

HEX#831B66
RGBrgb(131, 27, 102)
HSLhsl(317, 66%, 31%)
HSVhsv(317, 79%, 51%)
CMYKcmyk(0%, 79.4%, 22.1%, 48.6%)
CIE-LABlab(30.81, 50.13, -18.27)
CIE-LCHlch(30.81, 53.35, 339.97°)
OKLaboklab(42.46% 0.1507 -0.0491)
OKLCHoklch(42.46% 0.158 341.9)
XYZxyz(12.1507, 6.5697, 13.1960)
Luminance0.0657 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#831B66 #1B8338
analogous
#6C1B83 #831B66 #831B32
triadic
#831B66 #66831B #1B6683
tetradic
#831B66 #836C1B #1B8338 #1B3283
square
#831B66 #836C1B #1B8338 #1B3283
split-complementary
#831B66 #32831B #1B836C
monochromatic
#1E0617 #50113E #831B66 #B6258E #D841AE

Accessibility & contrast

On white

9.08
#831B66 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#831B66 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #831B66
9.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##831B66#FFFFFF#000000##FFFFFF
##831B661.009.082.319.08
#FFFFFF9.081.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#253E68
Deuteranopia (green-blind)
#474F64
Tritanopia (blue-blind)
#8C1D3F
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #831b66;
/* rgb */ color: rgb(131, 27, 102);
/* oklch */ color: oklch(42.5% 0.158 341.9);
Tailwind
colors: {
  custom: {
    50: '#ab6492',
    500: '#831b66',
    950: '#000000',
  },
}
SCSS
$custom: #831b66;
$custom-light: #ab6492;
$custom-dark: #000000;
JSON
{
  "hex": "#831b66",
  "rgb": {
    "r": 131,
    "g": 27,
    "b": 102
  },
  "hsl": {
    "h": 316.731,
    "s": 65.823,
    "l": 30.98
  },
  "oklch": {
    "l": 0.42455,
    "c": 0.15847,
    "h": 341.9
  },
  "luminance": 0.06568
}

Semantic roles & 50–950 ramp

primary
#831B66
secondary
#43B663
accent
#E96E3F
background
#FAF6F8
surface
#F5EBF0
border
#CFC6CB
text
#10060D
muted
#7F7A7D

Preview Lab

Preview with #831B66

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

Preview Lab → · Contrast checker → · Palette generator →

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