#831442#831442

#831442 is a dark, vivid pink. Relative luminance 0.057; OKLCH L 40.5% C 0.147 H 2.4°. Best body text is #FFFFFF at 9.80:1 contrast (WCAG AA passes).

Color values

HEX#831442
RGBrgb(131, 20, 66)
HSLhsl(335, 74%, 30%)
HSVhsv(335, 85%, 51%)
CMYKcmyk(0%, 84.7%, 49.6%, 48.6%)
CIE-LABlab(28.70, 47.98, 2.25)
CIE-LCHlch(28.70, 48.03, 2.68°)
OKLaboklab(40.46% 0.1473 0.0063)
OKLCHoklch(40.46% 0.147 2.4)
XYZxyz(10.5945, 5.7204, 5.6995)
Luminance0.0572 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#831442 #148355
analogous
#83147A #831442 #831D14
triadic
#831442 #428314 #144283
tetradic
#831442 #7A8314 #148355 #1D1483
square
#831442 #7A8314 #148355 #1D1483
split-complementary
#831442 #14831D #147A83
monochromatic
#1B040D #4E0C27 #831442 #B81C5D #E0327A

Accessibility & contrast

On white

9.80
#831442 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#831442 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #831442
9.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##831442#FFFFFF#000000##FFFFFF
##8314421.009.802.149.80
#FFFFFF9.801.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#313643
Deuteranopia (green-blind)
#4E4B3F
Tritanopia (blue-blind)
#8F0029
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #831442;
/* rgb */ color: rgb(131, 20, 66);
/* oklch */ color: oklch(40.5% 0.147 2.4);
Tailwind
colors: {
  custom: {
    50: '#ac6076',
    500: '#831442',
    950: '#000000',
  },
}
SCSS
$custom: #831442;
$custom-light: #ac6076;
$custom-dark: #000000;
JSON
{
  "hex": "#831442",
  "rgb": {
    "r": 131,
    "g": 20,
    "b": 66
  },
  "hsl": {
    "h": 335.135,
    "s": 73.51,
    "l": 29.608
  },
  "oklch": {
    "l": 0.4046,
    "c": 0.14743,
    "h": 2.4
  },
  "luminance": 0.05719
}

Semantic roles & 50–950 ramp

primary
#831442
secondary
#3BB884
accent
#F0A438
background
#FBF6F7
surface
#F6EBED
border
#D0C6C8
text
#110508
muted
#807A7B

Preview Lab

Preview with #831442

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

Preview Lab → · Contrast checker → · Palette generator →

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