#731F5D#731F5D
#731F5D is a dark, vivid pink. Relative luminance 0.054; OKLCH L 39.6% C 0.137 H 340.2°. Best body text is #FFFFFF at 10.08:1 contrast (WCAG AA passes).
Color values
| HEX | #731F5D |
|---|---|
| RGB | rgb(115, 31, 93) |
| HSL | hsl(316, 58%, 29%) |
| HSV | hsv(316, 73%, 45%) |
| CMYK | cmyk(0%, 73%, 19.1%, 54.9%) |
| CIE-LAB | lab(27.89, 43.16, -17.19) |
| CIE-LCH | lch(27.89, 46.46, 338.29°) |
| OKLab | oklab(39.64% 0.1286 -0.0463) |
| OKLCH | oklch(39.64% 0.137 340.2) |
| XYZ | xyz(9.5363, 5.4160, 10.8970) |
| Luminance | 0.0541 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Rich Purple
#720058
ΔE00 3.37
Velvet
#750851
ΔE00 3.54
Grape
#6C3461
ΔE00 4.86
Grape Purple
#5D1451
ΔE00 4.93
Darkish Purple
#751973
ΔE00 5.50
Plum (survey)
#580F41
ΔE00 6.84
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#731F5D #1F7335
analogous
#5F1F73 #731F5D #731F33
triadic
#731F5D #5D731F #1F5D73
tetradic
#731F5D #735F1F #1F7335 #1F3373
square
#731F5D #735F1F #1F7335 #1F3373
split-complementary
#731F5D #33731F #1F735F
monochromatic
#180613 #431236 #731F5D #A32C84 #CC41A7
Accessibility & contrast
On white
10.08
#731F5D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.08
#731F5D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #731F5D
10.08:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##731F5D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##731F5D | 1.00 | 10.08 | 2.08 | 10.08 |
| #FFFFFF | 10.08 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.08 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.08 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#25395F
Deuteranopia (green-blind)
#3F475B
Tritanopia (blue-blind)
#7A213B
Achromatopsia (no color)
#424242
Design tokens & code
CSS
--color: #731f5d; /* rgb */ color: rgb(115, 31, 93); /* oklch */ color: oklch(39.6% 0.137 340.2);
Tailwind
colors: {
custom: {
50: '#9e638b',
500: '#731f5d',
950: '#000000',
},
}SCSS
$custom: #731f5d; $custom-light: #9e638b; $custom-dark: #000000;
JSON
{
"hex": "#731f5d",
"rgb": {
"r": 115,
"g": 31,
"b": 93
},
"hsl": {
"h": 315.714,
"s": 57.534,
"l": 28.627
},
"oklch": {
"l": 0.39639,
"c": 0.13667,
"h": 340.2
},
"luminance": 0.05415
}Semantic roles & 50–950 ramp
primary
#731F5D
secondary
#47A760
accent
#E16F47
background
#FAF6F8
surface
#F3EBF0
border
#CDC6CB
text
#0F060C
muted
#7F7A7D