#831266#831266

#831266 is a dark, vivid pink. Relative luminance 0.062; OKLCH L 41.8% C 0.167 H 341.5°. Best body text is #FFFFFF at 9.36:1 contrast (WCAG AA passes).

Color values

HEX#831266
RGBrgb(131, 18, 102)
HSLhsl(315, 76%, 29%)
HSVhsv(315, 86%, 51%)
CMYKcmyk(0%, 86.3%, 22.1%, 48.6%)
CIE-LABlab(29.96, 52.57, -19.59)
CIE-LCHlch(29.96, 56.10, 339.56°)
OKLaboklab(41.84% 0.1582 -0.0528)
OKLCHoklch(41.84% 0.167 341.5)
XYZxyz(11.9751, 6.2185, 13.1374)
Luminance0.0622 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#831266 #12832F
analogous
#681283 #831266 #83122E
triadic
#831266 #668312 #126683
tetradic
#831266 #836812 #12832F #122E83
square
#831266 #836812 #12832F #122E83
split-complementary
#831266 #2E8312 #128368
monochromatic
#1B0415 #4D0B3C #831266 #B91990 #E22DB4

Accessibility & contrast

On white

9.36
#831266 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#831266 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #831266
9.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##831266#FFFFFF#000000##FFFFFF
##8312661.009.362.249.36
#FFFFFF9.361.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F3B68
Deuteranopia (green-blind)
#444D64
Tritanopia (blue-blind)
#8C153C
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #831266;
/* rgb */ color: rgb(131, 18, 102);
/* oklch */ color: oklch(41.8% 0.167 341.5);
Tailwind
colors: {
  custom: {
    50: '#ab6192',
    500: '#831266',
    950: '#000000',
  },
}
SCSS
$custom: #831266;
$custom-light: #ab6192;
$custom-dark: #000000;
JSON
{
  "hex": "#831266",
  "rgb": {
    "r": 131,
    "g": 18,
    "b": 102
  },
  "hsl": {
    "h": 315.398,
    "s": 75.839,
    "l": 29.216
  },
  "oklch": {
    "l": 0.41843,
    "c": 0.16673,
    "h": 341.5
  },
  "luminance": 0.06217
}

Semantic roles & 50–950 ramp

primary
#831266
secondary
#38B859
accent
#F26635
background
#FBF6F8
surface
#F6EBF0
border
#D0C6CB
text
#11060D
muted
#807A7D

Preview Lab

Preview with #831266

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

Preview Lab → · Contrast checker → · Palette generator →

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