#831768#831768

#831768 is a dark, vivid pink. Relative luminance 0.064; OKLCH L 42.3% C 0.164 H 340.7°. Best body text is #FFFFFF at 9.18:1 contrast (WCAG AA passes).

Color values

HEX#831768
RGBrgb(131, 23, 104)
HSLhsl(315, 70%, 30%)
HSVhsv(315, 82%, 51%)
CMYKcmyk(0%, 82.4%, 20.6%, 48.6%)
CIE-LABlab(30.49, 51.58, -20.05)
CIE-LCHlch(30.49, 55.34, 338.76°)
OKLaboklab(42.26% 0.1546 -0.0541)
OKLCHoklch(42.26% 0.164 340.7)
XYZxyz(12.1656, 6.4388, 13.6962)
Luminance0.0644 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#831768 #178332
analogous
#681783 #831768 #831732
triadic
#831768 #688317 #176883
tetradic
#831768 #836817 #178332 #173283
square
#831768 #836817 #178332 #173283
split-complementary
#831768 #328317 #178368
monochromatic
#1B0515 #4F0E3F #831768 #B72091 #DC38B3

Accessibility & contrast

On white

9.18
#831768 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#831768 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #831768
9.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##831768#FFFFFF#000000##FFFFFF
##8317681.009.182.299.18
#FFFFFF9.181.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#213D6A
Deuteranopia (green-blind)
#454E66
Tritanopia (blue-blind)
#8B1A3F
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #831768;
/* rgb */ color: rgb(131, 23, 104);
/* oklch */ color: oklch(42.3% 0.164 340.7);
Tailwind
colors: {
  custom: {
    50: '#ab6293',
    500: '#831768',
    950: '#000000',
  },
}
SCSS
$custom: #831768;
$custom-light: #ab6293;
$custom-dark: #000000;
JSON
{
  "hex": "#831768",
  "rgb": {
    "r": 131,
    "g": 23,
    "b": 104
  },
  "hsl": {
    "h": 315,
    "s": 70.13,
    "l": 30.196
  },
  "oklch": {
    "l": 0.42261,
    "c": 0.16375,
    "h": 340.7
  },
  "luminance": 0.06438
}

Semantic roles & 50–950 ramp

primary
#831768
secondary
#3FB75D
accent
#ED673B
background
#FAF6F9
surface
#F5EBF1
border
#CFC6CB
text
#11060D
muted
#807A7E

Preview Lab

Preview with #831768

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

Preview Lab → · Contrast checker → · Palette generator →

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