#832172#832172

#832172 is a dark, vivid pink. Relative luminance 0.071; OKLCH L 43.6% C 0.160 H 335.9°. Best body text is #FFFFFF at 8.66:1 contrast (WCAG AA passes).

Color values

HEX#832172
RGBrgb(131, 33, 114)
HSLhsl(310, 60%, 32%)
HSVhsv(310, 75%, 51%)
CMYKcmyk(0%, 74.8%, 13%, 48.6%)
CIE-LABlab(32.10, 49.90, -23.94)
CIE-LCHlch(32.10, 55.35, 334.38°)
OKLaboklab(43.58% 0.1462 -0.0653)
OKLCHoklch(43.58% 0.16 335.9)
XYZxyz(12.9414, 7.1291, 16.6108)
Luminance0.0713 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#832172 #218332
analogous
#632183 #832172 #832141
triadic
#832172 #728321 #217283
tetradic
#832172 #836321 #218332 #214183
square
#832172 #836321 #218332 #214183
split-complementary
#832172 #418321 #218363
monochromatic
#21081D #521547 #832172 #B42D9D #D24CBB

Accessibility & contrast

On white

8.66
#832172 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#832172 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #832172
8.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##832172#FFFFFF#000000##FFFFFF
##8321721.008.662.438.66
#FFFFFF8.661.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#224274
Deuteranopia (green-blind)
#445170
Tritanopia (blue-blind)
#8A2847
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #832172;
/* rgb */ color: rgb(131, 33, 114);
/* oklch */ color: oklch(43.6% 0.160 335.9);
Tailwind
colors: {
  custom: {
    50: '#aa679b',
    500: '#832172',
    950: '#000000',
  },
}
SCSS
$custom: #832172;
$custom-light: #aa679b;
$custom-dark: #000000;
JSON
{
  "hex": "#832172",
  "rgb": {
    "r": 131,
    "g": 33,
    "b": 114
  },
  "hsl": {
    "h": 310.408,
    "s": 59.756,
    "l": 32.157
  },
  "oklch": {
    "l": 0.43581,
    "c": 0.16013,
    "h": 335.9
  },
  "luminance": 0.07128
}

Semantic roles & 50–950 ramp

primary
#832172
secondary
#4BB55D
accent
#E36045
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060E
muted
#7F7A7E

Preview Lab

Preview with #832172

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

Preview Lab → · Contrast checker → · Palette generator →

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