#831052#831052

#831052 is a dark, vivid pink. Relative luminance 0.058; OKLCH L 40.8% C 0.157 H 352.4°. Best body text is #FFFFFF at 9.72:1 contrast (WCAG AA passes).

Color values

HEX#831052
RGBrgb(131, 16, 82)
HSLhsl(326, 78%, 29%)
HSVhsv(326, 88%, 51%)
CMYKcmyk(0%, 87.8%, 37.4%, 48.6%)
CIE-LABlab(28.92, 50.56, -8.09)
CIE-LCHlch(28.92, 51.20, 350.90°)
OKLaboklab(40.81% 0.1556 -0.0209)
OKLCHoklch(40.81% 0.157 352.4)
XYZxyz(11.0691, 5.8065, 8.5189)
Luminance0.0580 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#831052 #108341
analogous
#7B1083 #831052 #831019
triadic
#831052 #528310 #105283
tetradic
#831052 #837B10 #108341 #101983
square
#831052 #837B10 #108341 #101983
split-complementary
#831052 #198310 #10837B
monochromatic
#1B0311 #4C0930 #831052 #BA1774 #E52995

Accessibility & contrast

On white

9.72
#831052 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#831052 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #831052
9.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##831052#FFFFFF#000000##FFFFFF
##8310521.009.722.169.72
#FFFFFF9.721.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A3754
Deuteranopia (green-blind)
#4A4B50
Tritanopia (blue-blind)
#8E0031
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #831052;
/* rgb */ color: rgb(131, 16, 82);
/* oklch */ color: oklch(40.8% 0.157 352.4);
Tailwind
colors: {
  custom: {
    50: '#ac5f82',
    500: '#831052',
    950: '#000000',
  },
}
SCSS
$custom: #831052;
$custom-light: #ac5f82;
$custom-dark: #000000;
JSON
{
  "hex": "#831052",
  "rgb": {
    "r": 131,
    "g": 16,
    "b": 82
  },
  "hsl": {
    "h": 325.565,
    "s": 78.231,
    "l": 28.824
  },
  "oklch": {
    "l": 0.40806,
    "c": 0.15695,
    "h": 352.4
  },
  "luminance": 0.05805
}

Semantic roles & 50–950 ramp

primary
#831052
secondary
#36B96E
accent
#F58633
background
#FBF6F7
surface
#F6EBEE
border
#D0C6C9
text
#11050A
muted
#807A7C

Preview Lab

Preview with #831052

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

Preview Lab → · Contrast checker → · Palette generator →

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