#831261#831261

#831261 is a dark, vivid pink. Relative luminance 0.061; OKLCH L 41.6% C 0.164 H 344.2°. Best body text is #FFFFFF at 9.44:1 contrast (WCAG AA passes).

Color values

HEX#831261
RGBrgb(131, 18, 97)
HSLhsl(318, 76%, 29%)
HSVhsv(318, 86%, 51%)
CMYKcmyk(0%, 86.3%, 26%, 48.6%)
CIE-LABlab(29.72, 51.91, -16.72)
CIE-LCHlch(29.72, 54.53, 342.15°)
OKLaboklab(41.59% 0.1574 -0.0447)
OKLCHoklch(41.59% 0.164 344.2)
XYZxyz(11.7346, 6.1223, 11.8707)
Luminance0.0612 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#831261 #128334
analogous
#6D1283 #831261 #831229
triadic
#831261 #618312 #126183
tetradic
#831261 #836D12 #128334 #122983
square
#831261 #836D12 #128334 #122983
split-complementary
#831261 #298312 #12836D
monochromatic
#1B0414 #4D0B39 #831261 #B91989 #E22DAC

Accessibility & contrast

On white

9.44
#831261 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#831261 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #831261
9.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##831261#FFFFFF#000000##FFFFFF
##8312611.009.442.229.44
#FFFFFF9.441.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#233A63
Deuteranopia (green-blind)
#464D5F
Tritanopia (blue-blind)
#8C1139
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #831261;
/* rgb */ color: rgb(131, 18, 97);
/* oklch */ color: oklch(41.6% 0.164 344.2);
Tailwind
colors: {
  custom: {
    50: '#ab618e',
    500: '#831261',
    950: '#000000',
  },
}
SCSS
$custom: #831261;
$custom-light: #ab618e;
$custom-dark: #000000;
JSON
{
  "hex": "#831261",
  "rgb": {
    "r": 131,
    "g": 18,
    "b": 97
  },
  "hsl": {
    "h": 318.053,
    "s": 75.839,
    "l": 29.216
  },
  "oklch": {
    "l": 0.41594,
    "c": 0.16363,
    "h": 344.2
  },
  "luminance": 0.06121
}

Semantic roles & 50–950 ramp

primary
#831261
secondary
#38B85F
accent
#F26E35
background
#FBF6F8
surface
#F6EBF0
border
#D0C6CB
text
#11060C
muted
#807A7D

Preview Lab

Preview with #831261

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

Preview Lab → · Contrast checker → · Palette generator →

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