#831970#831970

#831970 is a dark, vivid pink. Relative luminance 0.067; OKLCH L 42.8% C 0.167 H 336.7°. Best body text is #FFFFFF at 8.98:1 contrast (WCAG AA passes).

Color values

HEX#831970
RGBrgb(131, 25, 112)
HSLhsl(311, 68%, 31%)
HSVhsv(311, 81%, 51%)
CMYKcmyk(0%, 80.9%, 14.5%, 48.6%)
CIE-LABlab(31.09, 52.17, -24.24)
CIE-LCHlch(31.09, 57.53, 335.08°)
OKLaboklab(42.82% 0.1537 -0.0661)
OKLCHoklch(42.82% 0.167 336.7)
XYZxyz(12.6326, 6.6916, 15.9524)
Luminance0.0669 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#831970 #19832C
analogous
#611983 #831970 #83193B
triadic
#831970 #708319 #197083
tetradic
#831970 #836119 #19832C #193B83
square
#831970 #836119 #19832C #193B83
split-complementary
#831970 #3B8319 #198361
monochromatic
#1C0518 #500F44 #831970 #B6239C #DA3DBE

Accessibility & contrast

On white

8.98
#831970 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#831970 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #831970
8.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##831970#FFFFFF#000000##FFFFFF
##8319701.008.982.348.98
#FFFFFF8.981.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C3F72
Deuteranopia (green-blind)
#424F6E
Tritanopia (blue-blind)
#8A2144
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #831970;
/* rgb */ color: rgb(131, 25, 112);
/* oklch */ color: oklch(42.8% 0.167 336.7);
Tailwind
colors: {
  custom: {
    50: '#ab6399',
    500: '#831970',
    950: '#000000',
  },
}
SCSS
$custom: #831970;
$custom-light: #ab6399;
$custom-dark: #000000;
JSON
{
  "hex": "#831970",
  "rgb": {
    "r": 131,
    "g": 25,
    "b": 112
  },
  "hsl": {
    "h": 310.755,
    "s": 67.949,
    "l": 30.588
  },
  "oklch": {
    "l": 0.42824,
    "c": 0.1673,
    "h": 336.7
  },
  "luminance": 0.0669
}

Semantic roles & 50–950 ramp

primary
#831970
secondary
#41B756
accent
#EB5C3D
background
#FAF6F9
surface
#F5EBF2
border
#CFC6CC
text
#10060E
muted
#7F7A7E

Preview Lab

Preview with #831970

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

Preview Lab → · Contrast checker → · Palette generator →

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