#831B66#831B66
#831B66 is a dark, vivid pink. Relative luminance 0.066; OKLCH L 42.5% C 0.158 H 341.9°. Best body text is #FFFFFF at 9.08:1 contrast (WCAG AA passes).
Color values
| HEX | #831B66 |
|---|---|
| RGB | rgb(131, 27, 102) |
| HSL | hsl(317, 66%, 31%) |
| HSV | hsv(317, 79%, 51%) |
| CMYK | cmyk(0%, 79.4%, 22.1%, 48.6%) |
| CIE-LAB | lab(30.81, 50.13, -18.27) |
| CIE-LCH | lch(30.81, 53.35, 339.97°) |
| OKLab | oklab(42.46% 0.1507 -0.0491) |
| OKLCH | oklch(42.46% 0.158 341.9) |
| XYZ | xyz(12.1507, 6.5697, 13.1960) |
| Luminance | 0.0657 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Rich Purple
#720058
ΔE00 4.70
Velvet
#750851
ΔE00 4.70
Red Violet
#9E0168
ΔE00 5.33
Darkish Purple
#751973
ΔE00 5.57
Grape
#6C3461
ΔE00 6.58
Dark Magenta
#960056
ΔE00 6.68
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#831B66 #1B8338
analogous
#6C1B83 #831B66 #831B32
triadic
#831B66 #66831B #1B6683
tetradic
#831B66 #836C1B #1B8338 #1B3283
square
#831B66 #836C1B #1B8338 #1B3283
split-complementary
#831B66 #32831B #1B836C
monochromatic
#1E0617 #50113E #831B66 #B6258E #D841AE
Accessibility & contrast
On white
9.08
#831B66 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.31
#831B66 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #831B66
9.08:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##831B66 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##831B66 | 1.00 | 9.08 | 2.31 | 9.08 |
| #FFFFFF | 9.08 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.31 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.08 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#253E68
Deuteranopia (green-blind)
#474F64
Tritanopia (blue-blind)
#8C1D3F
Achromatopsia (no color)
#484848
Design tokens & code
CSS
--color: #831b66; /* rgb */ color: rgb(131, 27, 102); /* oklch */ color: oklch(42.5% 0.158 341.9);
Tailwind
colors: {
custom: {
50: '#ab6492',
500: '#831b66',
950: '#000000',
},
}SCSS
$custom: #831b66; $custom-light: #ab6492; $custom-dark: #000000;
JSON
{
"hex": "#831b66",
"rgb": {
"r": 131,
"g": 27,
"b": 102
},
"hsl": {
"h": 316.731,
"s": 65.823,
"l": 30.98
},
"oklch": {
"l": 0.42455,
"c": 0.15847,
"h": 341.9
},
"luminance": 0.06568
}Semantic roles & 50–950 ramp
primary
#831B66
secondary
#43B663
accent
#E96E3F
background
#FAF6F8
surface
#F5EBF0
border
#CFC6CB
text
#10060D
muted
#7F7A7D