#7F1955#7F1955
#7F1955 is a dark, vivid pink. Relative luminance 0.059; OKLCH L 40.8% C 0.148 H 349.9°. Best body text is #FFFFFF at 9.67:1 contrast (WCAG AA passes).
Color values
| HEX | #7F1955 |
|---|---|
| RGB | rgb(127, 25, 85) |
| HSL | hsl(325, 67%, 30%) |
| HSV | hsv(325, 80%, 50%) |
| CMYK | cmyk(0%, 80.3%, 33.1%, 50.2%) |
| CIE-LAB | lab(29.07, 47.47, -9.93) |
| CIE-LCH | lch(29.07, 48.50, 348.19°) |
| OKLab | oklab(40.81% 0.1453 -0.0259) |
| OKLCH | oklch(40.81% 0.148 349.9) |
| XYZ | xyz(10.7403, 5.8644, 9.1589) |
| Luminance | 0.0586 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Velvet
#750851
ΔE00 3.09
Red Purple
#820747
ΔE00 3.97
Reddish Purple
#910951
ΔE00 4.44
Dark Magenta
#960056
ΔE00 4.69
Rich Purple
#720058
ΔE00 5.28
Mulberry
#920A4E
ΔE00 5.29
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F1955 #197F43
analogous
#76197F #7F1955 #7F1922
triadic
#7F1955 #557F19 #19557F
tetradic
#7F1955 #7F7619 #197F43 #19227F
square
#7F1955 #7F7619 #197F43 #19227F
split-complementary
#7F1955 #227F19 #197F76
monochromatic
#1A0511 #4C0F33 #7F1955 #B22377 #D83A97
Accessibility & contrast
On white
9.67
#7F1955 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.17
#7F1955 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7F1955
9.67:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F1955 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7F1955 | 1.00 | 9.67 | 2.17 | 9.67 |
| #FFFFFF | 9.67 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.17 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.67 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2B3957
Deuteranopia (green-blind)
#484B53
Tritanopia (blue-blind)
#891135
Achromatopsia (no color)
#444444
Design tokens & code
CSS
--color: #7f1955; /* rgb */ color: rgb(127, 25, 85); /* oklch */ color: oklch(40.8% 0.148 349.9);
Tailwind
colors: {
custom: {
50: '#a86285',
500: '#7f1955',
950: '#000000',
},
}SCSS
$custom: #7f1955; $custom-light: #a86285; $custom-dark: #000000;
JSON
{
"hex": "#7f1955",
"rgb": {
"r": 127,
"g": 25,
"b": 85
},
"hsl": {
"h": 324.706,
"s": 67.105,
"l": 29.804
},
"oklch": {
"l": 0.40807,
"c": 0.14757,
"h": 349.9
},
"luminance": 0.05863
}Semantic roles & 50–950 ramp
primary
#7F1955
secondary
#41B370
accent
#EA853E
background
#FAF6F8
surface
#F4EBEF
border
#CEC6CA
text
#10060B
muted
#7F7A7C