#831262#831262

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

Color values

HEX#831262
RGBrgb(131, 18, 98)
HSLhsl(318, 76%, 29%)
HSVhsv(318, 86%, 51%)
CMYKcmyk(0%, 86.3%, 25.2%, 48.6%)
CIE-LABlab(29.77, 52.04, -17.30)
CIE-LCHlch(29.77, 54.83, 341.61°)
OKLaboklab(41.64% 0.1576 -0.0463)
OKLCHoklch(41.64% 0.164 343.6)
XYZxyz(11.7815, 6.1411, 12.1178)
Luminance0.0614 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#831262 #128333
analogous
#6C1283 #831262 #83122A
triadic
#831262 #628312 #126283
tetradic
#831262 #836C12 #128333 #122A83
square
#831262 #836C12 #128333 #122A83
split-complementary
#831262 #2A8312 #12836C
monochromatic
#1B0414 #4D0B3A #831262 #B9198A #E22DAD

Accessibility & contrast

On white

9.43
#831262 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#831262 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #831262
9.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##831262#FFFFFF#000000##FFFFFF
##8312621.009.432.239.43
#FFFFFF9.431.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#223A64
Deuteranopia (green-blind)
#464D60
Tritanopia (blue-blind)
#8C123A
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #831262;
/* rgb */ color: rgb(131, 18, 98);
/* oklch */ color: oklch(41.6% 0.164 343.6);
Tailwind
colors: {
  custom: {
    50: '#ab618e',
    500: '#831262',
    950: '#000000',
  },
}
SCSS
$custom: #831262;
$custom-light: #ab618e;
$custom-dark: #000000;
JSON
{
  "hex": "#831262",
  "rgb": {
    "r": 131,
    "g": 18,
    "b": 98
  },
  "hsl": {
    "h": 317.522,
    "s": 75.839,
    "l": 29.216
  },
  "oklch": {
    "l": 0.41643,
    "c": 0.16423,
    "h": 343.6
  },
  "luminance": 0.0614
}

Semantic roles & 50–950 ramp

primary
#831262
secondary
#38B85E
accent
#F26D35
background
#FBF6F8
surface
#F6EBF0
border
#D0C6CB
text
#11060C
muted
#807A7D

Preview Lab

Preview with #831262

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

Preview Lab → · Contrast checker → · Palette generator →

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