#832271#832271

#832271 is a dark, vivid pink. Relative luminance 0.072; OKLCH L 43.6% C 0.158 H 336.5°. Best body text is #FFFFFF at 8.63:1 contrast (WCAG AA passes).

Color values

HEX#832271
RGBrgb(131, 34, 113)
HSLhsl(311, 59%, 32%)
HSVhsv(311, 74%, 51%)
CMYKcmyk(0%, 74%, 13.7%, 48.6%)
CIE-LABlab(32.17, 49.39, -23.18)
CIE-LCHlch(32.17, 54.56, 334.85°)
OKLaboklab(43.62% 0.1451 -0.0631)
OKLCHoklch(43.62% 0.158 336.5)
XYZxyz(12.9129, 7.1628, 16.3221)
Luminance0.0716 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#832271 #228334
analogous
#652283 #832271 #832241
triadic
#832271 #718322 #227183
tetradic
#832271 #836522 #228334 #224183
square
#832271 #836522 #228334 #224183
split-complementary
#832271 #418322 #228365
monochromatic
#22091D #521547 #832271 #B42F9B #D14EB9

Accessibility & contrast

On white

8.63
#832271 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #832271
8.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##832271#FFFFFF#000000##FFFFFF
##8322711.008.632.438.63
#FFFFFF8.631.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#244273
Deuteranopia (green-blind)
#45516F
Tritanopia (blue-blind)
#8A2847
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #832271;
/* rgb */ color: rgb(131, 34, 113);
/* oklch */ color: oklch(43.6% 0.158 336.5);
Tailwind
colors: {
  custom: {
    50: '#aa679a',
    500: '#832271',
    950: '#000000',
  },
}
SCSS
$custom: #832271;
$custom-light: #aa679a;
$custom-dark: #000000;
JSON
{
  "hex": "#832271",
  "rgb": {
    "r": 131,
    "g": 34,
    "b": 113
  },
  "hsl": {
    "h": 311.134,
    "s": 58.788,
    "l": 32.353
  },
  "oklch": {
    "l": 0.43619,
    "c": 0.15818,
    "h": 336.5
  },
  "luminance": 0.07162
}

Semantic roles & 50–950 ramp

primary
#832271
secondary
#4CB460
accent
#E26346
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060E
muted
#7F7A7E

Preview Lab

Preview with #832271

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

Preview Lab → · Contrast checker → · Palette generator →

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