#7F1761#7F1761
#7F1761 is a dark, vivid pink. Relative luminance 0.060; OKLCH L 41.2% C 0.157 H 342.8°. Best body text is #FFFFFF at 9.56:1 contrast (WCAG AA passes).
Color values
| HEX | #7F1761 |
|---|---|
| RGB | rgb(127, 23, 97) |
| HSL | hsl(317, 69%, 29%) |
| HSV | hsv(317, 82%, 50%) |
| CMYK | cmyk(0%, 81.9%, 23.6%, 50.2%) |
| CIE-LAB | lab(29.38, 49.63, -17.30) |
| CIE-LCH | lch(29.38, 52.56, 340.78°) |
| OKLab | oklab(41.21% 0.1497 -0.0464) |
| OKLCH | oklch(41.21% 0.157 342.8) |
| XYZ | xyz(11.2169, 5.9891, 11.8722) |
| Luminance | 0.0599 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Velvet
#750851
ΔE00 3.54
Rich Purple
#720058
ΔE00 3.66
Darkish Purple
#751973
ΔE00 5.73
Red Violet
#9E0168
ΔE00 5.92
Grape
#6C3461
ΔE00 6.57
Dark Magenta
#960056
ΔE00 6.65
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F1761 #177F35
analogous
#69177F #7F1761 #7F172D
triadic
#7F1761 #617F17 #17617F
tetradic
#7F1761 #7F6917 #177F35 #172D7F
square
#7F1761 #7F6917 #177F35 #172D7F
split-complementary
#7F1761 #2D7F17 #177F69
monochromatic
#1A0514 #4B0E39 #7F1761 #B32089 #DB36AB
Accessibility & contrast
On white
9.56
#7F1761 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.20
#7F1761 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7F1761
9.56:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F1761 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7F1761 | 1.00 | 9.56 | 2.20 | 9.56 |
| #FFFFFF | 9.56 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.20 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.56 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#233A63
Deuteranopia (green-blind)
#444B5F
Tritanopia (blue-blind)
#88183B
Achromatopsia (no color)
#454545
Design tokens & code
CSS
--color: #7f1761; /* rgb */ color: rgb(127, 23, 97); /* oklch */ color: oklch(41.2% 0.157 342.8);
Tailwind
colors: {
custom: {
50: '#a8618e',
500: '#7f1761',
950: '#000000',
},
}SCSS
$custom: #7f1761; $custom-light: #a8618e; $custom-dark: #000000;
JSON
{
"hex": "#7f1761",
"rgb": {
"r": 127,
"g": 23,
"b": 97
},
"hsl": {
"h": 317.308,
"s": 69.333,
"l": 29.412
},
"oklch": {
"l": 0.41209,
"c": 0.15671,
"h": 342.8
},
"luminance": 0.05988
}Semantic roles & 50–950 ramp
primary
#7F1761
secondary
#3EB460
accent
#EC6F3C
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10060C
muted
#7F7A7D