#831840#831840

#831840 is a dark, vivid pink. Relative luminance 0.058; OKLCH L 40.7% C 0.143 H 4.3°. Best body text is #FFFFFF at 9.68:1 contrast (WCAG AA passes).

Color values

HEX#831840
RGBrgb(131, 24, 64)
HSLhsl(338, 69%, 30%)
HSVhsv(338, 82%, 51%)
CMYKcmyk(0%, 81.7%, 51.1%, 48.6%)
CIE-LABlab(29.03, 46.67, 4.07)
CIE-LCHlch(29.03, 46.85, 4.98°)
OKLaboklab(40.69% 0.1429 0.0108)
OKLCHoklch(40.69% 0.143 4.3)
XYZxyz(10.6131, 5.8502, 5.4198)
Luminance0.0585 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#831840 #18835B
analogous
#831875 #831840 #832518
triadic
#831840 #408318 #184083
tetradic
#831840 #758318 #18835B #251883
square
#831840 #758318 #18835B #251883
split-complementary
#831840 #188325 #187583
monochromatic
#1C050D #4F0F27 #831840 #B72159 #DB3A76

Accessibility & contrast

On white

9.68
#831840 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#831840 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #831840
9.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##831840#FFFFFF#000000##FFFFFF
##8318401.009.682.179.68
#FFFFFF9.681.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.681.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #831840;
/* rgb */ color: rgb(131, 24, 64);
/* oklch */ color: oklch(40.7% 0.143 4.3);
Tailwind
colors: {
  custom: {
    50: '#ac6174',
    500: '#831840',
    950: '#000000',
  },
}
SCSS
$custom: #831840;
$custom-light: #ac6174;
$custom-dark: #000000;
JSON
{
  "hex": "#831840",
  "rgb": {
    "r": 131,
    "g": 24,
    "b": 64
  },
  "hsl": {
    "h": 337.57,
    "s": 69.032,
    "l": 30.392
  },
  "oklch": {
    "l": 0.40687,
    "c": 0.14333,
    "h": 4.3
  },
  "luminance": 0.05849
}

Semantic roles & 50–950 ramp

primary
#831840
secondary
#40B78A
accent
#ECAA3C
background
#FBF6F7
surface
#F6EBED
border
#D0C6C8
text
#110608
muted
#807A7B

Preview Lab

Preview with #831840

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

Preview Lab → · Contrast checker → · Palette generator →

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