#831B63#831B63

#831B63 is a dark, vivid pink. Relative luminance 0.065; OKLCH L 42.3% C 0.157 H 343.6°. Best body text is #FFFFFF at 9.12:1 contrast (WCAG AA passes).

Color values

HEX#831B63
RGBrgb(131, 27, 99)
HSLhsl(318, 66%, 31%)
HSVhsv(318, 79%, 51%)
CMYKcmyk(0%, 79.4%, 24.4%, 48.6%)
CIE-LABlab(30.67, 49.71, -16.55)
CIE-LCHlch(30.67, 52.40, 341.59°)
OKLaboklab(42.31% 0.1502 -0.0443)
OKLCHoklch(42.31% 0.157 343.6)
XYZxyz(12.0046, 6.5113, 12.4266)
Luminance0.0651 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#831B63 #1B833B
analogous
#6F1B83 #831B63 #831B2F
triadic
#831B63 #63831B #1B6383
tetradic
#831B63 #836F1B #1B833B #1B2F83
square
#831B63 #836F1B #1B833B #1B2F83
split-complementary
#831B63 #2F831B #1B836F
monochromatic
#1E0616 #50113D #831B63 #B62589 #D841A9

Accessibility & contrast

On white

9.12
#831B63 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#831B63 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #831B63
9.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##831B63#FFFFFF#000000##FFFFFF
##831B631.009.122.309.12
#FFFFFF9.121.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#273D65
Deuteranopia (green-blind)
#484E61
Tritanopia (blue-blind)
#8C1B3D
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #831b63;
/* rgb */ color: rgb(131, 27, 99);
/* oklch */ color: oklch(42.3% 0.157 343.6);
Tailwind
colors: {
  custom: {
    50: '#ab648f',
    500: '#831b63',
    950: '#000000',
  },
}
SCSS
$custom: #831b63;
$custom-light: #ab648f;
$custom-dark: #000000;
JSON
{
  "hex": "#831b63",
  "rgb": {
    "r": 131,
    "g": 27,
    "b": 99
  },
  "hsl": {
    "h": 318.462,
    "s": 65.823,
    "l": 30.98
  },
  "oklch": {
    "l": 0.42309,
    "c": 0.15654,
    "h": 343.6
  },
  "luminance": 0.0651
}

Semantic roles & 50–950 ramp

primary
#831B63
secondary
#43B667
accent
#E9733F
background
#FAF6F8
surface
#F5EBF0
border
#CFC6CB
text
#11060C
muted
#807A7D

Preview Lab

Preview with #831B63

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

Preview Lab → · Contrast checker → · Palette generator →

#831B63 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva