#832871#832871

#832871 is a dark, vivid pink. Relative luminance 0.075; OKLCH L 44.2% C 0.150 H 336.7°. Best body text is #FFFFFF at 8.38:1 contrast (WCAG AA passes).

Color values

HEX#832871
RGBrgb(131, 40, 113)
HSLhsl(312, 53%, 34%)
HSVhsv(312, 69%, 51%)
CMYKcmyk(0%, 69.5%, 13.7%, 48.6%)
CIE-LABlab(33.00, 47.07, -21.90)
CIE-LCHlch(33.00, 51.92, 335.05°)
OKLaboklab(44.22% 0.1382 -0.0595)
OKLCHoklch(44.22% 0.15 336.7)
XYZxyz(13.0997, 7.5363, 16.3843)
Luminance0.0754 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#832871 #28833A
analogous
#672883 #832871 #832843
triadic
#832871 #718328 #287183
tetradic
#832871 #836728 #28833A #284383
square
#832871 #836728 #28833A #284383
split-complementary
#832871 #438328 #288367
monochromatic
#250B20 #541A49 #832871 #B23699 #CC59B6

Accessibility & contrast

On white

8.38
#832871 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#832871 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #832871
8.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##832871#FFFFFF#000000##FFFFFF
##8328711.008.382.518.38
#FFFFFF8.381.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A4573
Deuteranopia (green-blind)
#48536F
Tritanopia (blue-blind)
#8A2D49
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #832871;
/* rgb */ color: rgb(131, 40, 113);
/* oklch */ color: oklch(44.2% 0.150 336.7);
Tailwind
colors: {
  custom: {
    50: '#aa6a9a',
    500: '#832871',
    950: '#000000',
  },
}
SCSS
$custom: #832871;
$custom-light: #aa6a9a;
$custom-dark: #000000;
JSON
{
  "hex": "#832871",
  "rgb": {
    "r": 131,
    "g": 40,
    "b": 113
  },
  "hsl": {
    "h": 311.868,
    "s": 53.216,
    "l": 33.529
  },
  "oklch": {
    "l": 0.44216,
    "c": 0.15043,
    "h": 336.7
  },
  "luminance": 0.07535
}

Semantic roles & 50–950 ramp

primary
#832871
secondary
#55B168
accent
#DD684B
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10070E
muted
#7F7A7E

Preview Lab

Preview with #832871

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

Preview Lab → · Contrast checker → · Palette generator →

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