#832158#832158

#832158 is a dark, vivid pink. Relative luminance 0.066; OKLCH L 42.3% C 0.143 H 350.6°. Best body text is #FFFFFF at 9.04:1 contrast (WCAG AA passes).

Color values

HEX#832158
RGBrgb(131, 33, 88)
HSLhsl(326, 60%, 32%)
HSVhsv(326, 75%, 51%)
CMYKcmyk(0%, 74.8%, 32.8%, 48.6%)
CIE-LABlab(30.92, 46.23, -9.01)
CIE-LCHlch(30.92, 47.10, 348.97°)
OKLaboklab(42.34% 0.1413 -0.0234)
OKLCHoklch(42.34% 0.143 350.6)
XYZxyz(11.6660, 6.6189, 9.8939)
Luminance0.0662 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#832158 #21834C
analogous
#7D2183 #832158 #832127
triadic
#832158 #588321 #215883
tetradic
#832158 #837D21 #21834C #212783
square
#832158 #837D21 #21834C #212783
split-complementary
#832158 #278321 #21837D
monochromatic
#210816 #521537 #832158 #B42D79 #D24C97

Accessibility & contrast

On white

9.04
#832158 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#832158 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #832158
9.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##832158#FFFFFF#000000##FFFFFF
##8321581.009.042.329.04
#FFFFFF9.041.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#313E59
Deuteranopia (green-blind)
#4D4F56
Tritanopia (blue-blind)
#8D1B39
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #832158;
/* rgb */ color: rgb(131, 33, 88);
/* oklch */ color: oklch(42.3% 0.143 350.6);
Tailwind
colors: {
  custom: {
    50: '#ab6687',
    500: '#832158',
    950: '#000000',
  },
}
SCSS
$custom: #832158;
$custom-light: #ab6687;
$custom-dark: #000000;
JSON
{
  "hex": "#832158",
  "rgb": {
    "r": 131,
    "g": 33,
    "b": 88
  },
  "hsl": {
    "h": 326.327,
    "s": 59.756,
    "l": 32.157
  },
  "oklch": {
    "l": 0.42343,
    "c": 0.14319,
    "h": 350.6
  },
  "luminance": 0.06618
}

Semantic roles & 50–950 ramp

primary
#832158
secondary
#4BB579
accent
#E38A45
background
#FAF6F8
surface
#F5EBEF
border
#CFC6CA
text
#11060B
muted
#807A7C

Preview Lab

Preview with #832158

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

Preview Lab → · Contrast checker → · Palette generator →

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