#831268#831268

#831268 is a dark, vivid pink. Relative luminance 0.063; OKLCH L 41.9% C 0.168 H 340.5°. Best body text is #FFFFFF at 9.33:1 contrast (WCAG AA passes).

Color values

HEX#831268
RGBrgb(131, 18, 104)
HSLhsl(314, 76%, 29%)
HSVhsv(314, 86%, 51%)
CMYKcmyk(0%, 86.3%, 20.6%, 48.6%)
CIE-LABlab(30.06, 52.84, -20.73)
CIE-LCHlch(30.06, 56.76, 338.58°)
OKLaboklab(41.95% 0.1584 -0.056)
OKLCHoklch(41.95% 0.168 340.5)
XYZxyz(12.0755, 6.2587, 13.6661)
Luminance0.0626 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#831268 #12832D
analogous
#661283 #831268 #831230
triadic
#831268 #688312 #126883
tetradic
#831268 #836612 #12832D #123083
square
#831268 #836612 #12832D #123083
split-complementary
#831268 #308312 #128366
monochromatic
#1B0415 #4D0B3D #831268 #B91993 #E22DB7

Accessibility & contrast

On white

9.33
#831268 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #831268
9.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##831268#FFFFFF#000000##FFFFFF
##8312681.009.332.259.33
#FFFFFF9.331.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D3C6A
Deuteranopia (green-blind)
#444D66
Tritanopia (blue-blind)
#8B163D
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #831268;
/* rgb */ color: rgb(131, 18, 104);
/* oklch */ color: oklch(41.9% 0.168 340.5);
Tailwind
colors: {
  custom: {
    50: '#ab6193',
    500: '#831268',
    950: '#000000',
  },
}
SCSS
$custom: #831268;
$custom-light: #ab6193;
$custom-dark: #000000;
JSON
{
  "hex": "#831268",
  "rgb": {
    "r": 131,
    "g": 18,
    "b": 104
  },
  "hsl": {
    "h": 314.336,
    "s": 75.839,
    "l": 29.216
  },
  "oklch": {
    "l": 0.41946,
    "c": 0.16802,
    "h": 340.5
  },
  "luminance": 0.06257
}

Semantic roles & 50–950 ramp

primary
#831268
secondary
#38B857
accent
#F26335
background
#FAF6F9
surface
#F5EBF1
border
#CFC6CB
text
#11060D
muted
#807A7E

Preview Lab

Preview with #831268

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

Preview Lab → · Contrast checker → · Palette generator →

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