#831A63#831A63

#831A63 is a dark, vivid pink. Relative luminance 0.065; OKLCH L 42.2% C 0.158 H 343.5°. Best body text is #FFFFFF at 9.16:1 contrast (WCAG AA passes).

Color values

HEX#831A63
RGBrgb(131, 26, 99)
HSLhsl(318, 67%, 31%)
HSVhsv(318, 80%, 51%)
CMYKcmyk(0%, 80.2%, 24.4%, 48.6%)
CIE-LABlab(30.56, 50.02, -16.72)
CIE-LCHlch(30.56, 52.74, 341.52°)
OKLaboklab(42.23% 0.1511 -0.0447)
OKLCHoklch(42.23% 0.158 343.5)
XYZxyz(11.9821, 6.4662, 12.4191)
Luminance0.0646 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#831A63 #1A833A
analogous
#6E1A83 #831A63 #831A2E
triadic
#831A63 #63831A #1A6383
tetradic
#831A63 #836E1A #1A833A #1A2E83
square
#831A63 #836E1A #1A833A #1A2E83
split-complementary
#831A63 #2E831A #1A836E
monochromatic
#1D0616 #50103C #831A63 #B6248A #D93FAA

Accessibility & contrast

On white

9.16
#831A63 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#831A63 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #831A63
9.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##831A63#FFFFFF#000000##FFFFFF
##831A631.009.162.299.16
#FFFFFF9.161.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.161.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #831a63;
/* rgb */ color: rgb(131, 26, 99);
/* oklch */ color: oklch(42.2% 0.158 343.5);
Tailwind
colors: {
  custom: {
    50: '#ab638f',
    500: '#831a63',
    950: '#000000',
  },
}
SCSS
$custom: #831a63;
$custom-light: #ab638f;
$custom-dark: #000000;
JSON
{
  "hex": "#831a63",
  "rgb": {
    "r": 131,
    "g": 26,
    "b": 99
  },
  "hsl": {
    "h": 318.286,
    "s": 66.879,
    "l": 30.784
  },
  "oklch": {
    "l": 0.42231,
    "c": 0.15758,
    "h": 343.5
  },
  "luminance": 0.06465
}

Semantic roles & 50–950 ramp

primary
#831A63
secondary
#42B766
accent
#EA723E
background
#FAF6F8
surface
#F5EBF0
border
#CFC6CB
text
#11060C
muted
#807A7D

Preview Lab

Preview with #831A63

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

Preview Lab → · Contrast checker → · Palette generator →

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