#831940#831940

#831940 is a dark, vivid pink. Relative luminance 0.059; OKLCH L 40.8% C 0.142 H 4.5°. Best body text is #FFFFFF at 9.64:1 contrast (WCAG AA passes).

Color values

HEX#831940
RGBrgb(131, 25, 64)
HSLhsl(338, 68%, 31%)
HSVhsv(338, 81%, 51%)
CMYKcmyk(0%, 80.9%, 51.1%, 48.6%)
CIE-LABlab(29.14, 46.37, 4.22)
CIE-LCHlch(29.14, 46.56, 5.20°)
OKLaboklab(40.77% 0.1419 0.0112)
OKLCHoklch(40.77% 0.142 4.5)
XYZxyz(10.6341, 5.8922, 5.4268)
Luminance0.0589 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#831940 #19835C
analogous
#831975 #831940 #832719
triadic
#831940 #408319 #194083
tetradic
#831940 #758319 #19835C #271983
square
#831940 #758319 #19835C #271983
split-complementary
#831940 #198327 #197583
monochromatic
#1C050E #500F27 #831940 #B62359 #DA3D76

Accessibility & contrast

On white

9.64
#831940 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#831940 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #831940
9.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##831940#FFFFFF#000000##FFFFFF
##8319401.009.642.189.64
#FFFFFF9.641.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#343741
Deuteranopia (green-blind)
#504C3D
Tritanopia (blue-blind)
#8F002A
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #831940;
/* rgb */ color: rgb(131, 25, 64);
/* oklch */ color: oklch(40.8% 0.142 4.5);
Tailwind
colors: {
  custom: {
    50: '#ac6274',
    500: '#831940',
    950: '#000000',
  },
}
SCSS
$custom: #831940;
$custom-light: #ac6274;
$custom-dark: #000000;
JSON
{
  "hex": "#831940",
  "rgb": {
    "r": 131,
    "g": 25,
    "b": 64
  },
  "hsl": {
    "h": 337.925,
    "s": 67.949,
    "l": 30.588
  },
  "oklch": {
    "l": 0.40766,
    "c": 0.14237,
    "h": 4.5
  },
  "luminance": 0.05891
}

Semantic roles & 50–950 ramp

primary
#831940
secondary
#41B78B
accent
#EBAB3D
background
#FBF6F7
surface
#F6EBED
border
#D0C6C8
text
#110608
muted
#807A7B

Preview Lab

Preview with #831940

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

Preview Lab → · Contrast checker → · Palette generator →

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