#731F5F#731F5F
#731F5F is a dark, vivid pink. Relative luminance 0.055; OKLCH L 39.7% C 0.138 H 339.0°. Best body text is #FFFFFF at 10.05:1 contrast (WCAG AA passes).
Color values
| HEX | #731F5F |
|---|---|
| RGB | rgb(115, 31, 95) |
| HSL | hsl(314, 58%, 29%) |
| HSV | hsv(314, 73%, 45%) |
| CMYK | cmyk(0%, 73%, 17.4%, 54.9%) |
| CIE-LAB | lab(27.99, 43.47, -18.34) |
| CIE-LCH | lch(27.99, 47.18, 337.12°) |
| OKLab | oklab(39.74% 0.1289 -0.0496) |
| OKLCH | oklch(39.74% 0.138 339) |
| XYZ | xyz(9.6260, 5.4519, 11.3696) |
| Luminance | 0.0545 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Rich Purple
#720058
ΔE00 3.38
Velvet
#750851
ΔE00 3.91
Grape
#6C3461
ΔE00 4.89
Grape Purple
#5D1451
ΔE00 4.90
Darkish Purple
#751973
ΔE00 4.98
Plum (survey)
#580F41
ΔE00 7.11
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#731F5F #1F7333
analogous
#5D1F73 #731F5F #731F35
triadic
#731F5F #5F731F #1F5F73
tetradic
#731F5F #735D1F #1F7333 #1F3573
square
#731F5F #735D1F #1F7333 #1F3573
split-complementary
#731F5F #35731F #1F735D
monochromatic
#180614 #431237 #731F5F #A32C87 #CC41AB
Accessibility & contrast
On white
10.05
#731F5F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.09
#731F5F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #731F5F
10.05:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##731F5F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##731F5F | 1.00 | 10.05 | 2.09 | 10.05 |
| #FFFFFF | 10.05 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.09 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.05 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#233A61
Deuteranopia (green-blind)
#3E475D
Tritanopia (blue-blind)
#7A223C
Achromatopsia (no color)
#424242
Design tokens & code
CSS
--color: #731f5f; /* rgb */ color: rgb(115, 31, 95); /* oklch */ color: oklch(39.7% 0.138 339.0);
Tailwind
colors: {
custom: {
50: '#9e638c',
500: '#731f5f',
950: '#000000',
},
}SCSS
$custom: #731f5f; $custom-light: #9e638c; $custom-dark: #000000;
JSON
{
"hex": "#731f5f",
"rgb": {
"r": 115,
"g": 31,
"b": 95
},
"hsl": {
"h": 314.286,
"s": 57.534,
"l": 28.627
},
"oklch": {
"l": 0.39741,
"c": 0.13813,
"h": 339
},
"luminance": 0.05451
}Semantic roles & 50–950 ramp
primary
#731F5F
secondary
#47A75E
accent
#E16C47
background
#FAF6F8
surface
#F3EBF0
border
#CDC6CB
text
#0F060C
muted
#7F7A7D