#831267#831267

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

Color values

HEX#831267
RGBrgb(131, 18, 103)
HSLhsl(315, 76%, 29%)
HSVhsv(315, 86%, 51%)
CMYKcmyk(0%, 86.3%, 21.4%, 48.6%)
CIE-LABlab(30.01, 52.70, -20.16)
CIE-LCHlch(30.01, 56.43, 339.07°)
OKLaboklab(41.89% 0.1583 -0.0544)
OKLCHoklch(41.89% 0.167 341)
XYZxyz(12.0250, 6.2385, 13.4002)
Luminance0.0624 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#831267 #12832E
analogous
#671283 #831267 #83122F
triadic
#831267 #678312 #126783
tetradic
#831267 #836712 #12832E #122F83
square
#831267 #836712 #12832E #122F83
split-complementary
#831267 #2F8312 #128367
monochromatic
#1B0415 #4D0B3D #831267 #B91991 #E22DB5

Accessibility & contrast

On white

9.34
#831267 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#831267 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #831267
9.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##831267#FFFFFF#000000##FFFFFF
##8312671.009.342.259.34
#FFFFFF9.341.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E3B69
Deuteranopia (green-blind)
#444D65
Tritanopia (blue-blind)
#8C163D
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #831267;
/* rgb */ color: rgb(131, 18, 103);
/* oklch */ color: oklch(41.9% 0.167 341.0);
Tailwind
colors: {
  custom: {
    50: '#ab6192',
    500: '#831267',
    950: '#000000',
  },
}
SCSS
$custom: #831267;
$custom-light: #ab6192;
$custom-dark: #000000;
JSON
{
  "hex": "#831267",
  "rgb": {
    "r": 131,
    "g": 18,
    "b": 103
  },
  "hsl": {
    "h": 314.867,
    "s": 75.839,
    "l": 29.216
  },
  "oklch": {
    "l": 0.41894,
    "c": 0.16737,
    "h": 341
  },
  "luminance": 0.06237
}

Semantic roles & 50–950 ramp

primary
#831267
secondary
#38B858
accent
#F26435
background
#FAF6F9
surface
#F5EBF1
border
#CFC6CB
text
#11060D
muted
#807A7E

Preview Lab

Preview with #831267

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

Preview Lab → · Contrast checker → · Palette generator →

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