#831870#831870

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

Color values

HEX#831870
RGBrgb(131, 24, 112)
HSLhsl(311, 69%, 30%)
HSVhsv(311, 82%, 51%)
CMYKcmyk(0%, 81.7%, 14.5%, 48.6%)
CIE-LABlab(31.00, 52.46, -24.39)
CIE-LCHlch(31.00, 57.85, 335.06°)
OKLaboklab(42.75% 0.1546 -0.0665)
OKLCHoklch(42.75% 0.168 336.7)
XYZxyz(12.6116, 6.6496, 15.9454)
Luminance0.0665 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#831870 #18832B
analogous
#601883 #831870 #83183B
triadic
#831870 #708318 #187083
tetradic
#831870 #836018 #18832B #183B83
square
#831870 #836018 #18832B #183B83
split-complementary
#831870 #3B8318 #188360
monochromatic
#1C0518 #4F0F44 #831870 #B7219C #DB3ABE

Accessibility & contrast

On white

9.01
#831870 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#831870 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #831870
9.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##831870#FFFFFF#000000##FFFFFF
##8318701.009.012.339.01
#FFFFFF9.011.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.011.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #831870;
/* rgb */ color: rgb(131, 24, 112);
/* oklch */ color: oklch(42.8% 0.168 336.7);
Tailwind
colors: {
  custom: {
    50: '#ab6399',
    500: '#831870',
    950: '#000000',
  },
}
SCSS
$custom: #831870;
$custom-light: #ab6399;
$custom-dark: #000000;
JSON
{
  "hex": "#831870",
  "rgb": {
    "r": 131,
    "g": 24,
    "b": 112
  },
  "hsl": {
    "h": 310.654,
    "s": 69.032,
    "l": 30.392
  },
  "oklch": {
    "l": 0.42753,
    "c": 0.16826,
    "h": 336.7
  },
  "luminance": 0.06648
}

Semantic roles & 50–950 ramp

primary
#831870
secondary
#40B755
accent
#EC5B3C
background
#FAF6F9
surface
#F5EBF2
border
#CFC6CC
text
#10060E
muted
#7F7A7E

Preview Lab

Preview with #831870

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

Preview Lab → · Contrast checker → · Palette generator →

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