#831C40#831C40
#831C40 is a dark, vivid pink. Relative luminance 0.060; OKLCH L 41.0% C 0.139 H 5.1°. Best body text is #FFFFFF at 9.52:1 contrast (WCAG AA passes).
Color values
| HEX | #831C40 |
|---|---|
| RGB | rgb(131, 28, 64) |
| HSL | hsl(339, 65%, 31%) |
| HSV | hsv(339, 79%, 51%) |
| CMYK | cmyk(0%, 78.6%, 51.1%, 48.6%) |
| CIE-LAB | lab(29.48, 45.40, 4.71) |
| CIE-LCH | lch(29.48, 45.64, 5.93°) |
| OKLab | oklab(41.02% 0.1388 0.0124) |
| OKLCH | oklch(41.02% 0.139 5.1) |
| XYZ | xyz(10.7017, 6.0274, 5.4494) |
| Luminance | 0.0603 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Wine (survey)
#80013F
ΔE00 3.33
Purple Red
#990147
ΔE00 4.27
Red Wine
#8C0034
ΔE00 4.32
Red Purple
#820747
ΔE00 4.37
Berry
#990F4B
ΔE00 4.39
Mulberry
#920A4E
ΔE00 4.57
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#831C40 #1C835F
analogous
#831C73 #831C40 #832B1C
triadic
#831C40 #40831C #1C4083
tetradic
#831C40 #73831C #1C835F #2B1C83
square
#831C40 #73831C #1C835F #2B1C83
split-complementary
#831C40 #1C832B #1C7383
monochromatic
#1E060F #511127 #831C40 #B52759 #D74376
Accessibility & contrast
On white
9.52
#831C40 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.21
#831C40 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #831C40
9.52:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##831C40 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##831C40 | 1.00 | 9.52 | 2.21 | 9.52 |
| #FFFFFF | 9.52 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.21 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.52 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#363841
Deuteranopia (green-blind)
#514D3E
Tritanopia (blue-blind)
#8F022C
Achromatopsia (no color)
#454545
Design tokens & code
CSS
--color: #831c40; /* rgb */ color: rgb(131, 28, 64); /* oklch */ color: oklch(41.0% 0.139 5.1);
Tailwind
colors: {
custom: {
50: '#ac6374',
500: '#831c40',
950: '#000000',
},
}SCSS
$custom: #831c40; $custom-light: #ac6374; $custom-dark: #000000;
JSON
{
"hex": "#831c40",
"rgb": {
"r": 131,
"g": 28,
"b": 64
},
"hsl": {
"h": 339.029,
"s": 64.78,
"l": 31.176
},
"oklch": {
"l": 0.41018,
"c": 0.13937,
"h": 5.1
},
"luminance": 0.06026
}Semantic roles & 50–950 ramp
primary
#831C40
secondary
#45B68F
accent
#E8AD40
background
#FBF6F7
surface
#F6EBED
border
#D0C6C8
text
#110608
muted
#807A7B