#7F1958#7F1958
#7F1958 is a dark, vivid pink. Relative luminance 0.059; OKLCH L 40.9% C 0.149 H 348.1°. Best body text is #FFFFFF at 9.62:1 contrast (WCAG AA passes).
Color values
| HEX | #7F1958 |
|---|---|
| RGB | rgb(127, 25, 88) |
| HSL | hsl(323, 67%, 30%) |
| HSV | hsv(323, 80%, 50%) |
| CMYK | cmyk(0%, 80.3%, 30.7%, 50.2%) |
| CIE-LAB | lab(29.19, 47.85, -11.71) |
| CIE-LCH | lch(29.19, 49.26, 346.24°) |
| OKLab | oklab(40.94% 0.146 -0.0308) |
| OKLCH | oklch(40.94% 0.149 348.1) |
| XYZ | xyz(10.8620, 5.9131, 9.8000) |
| Luminance | 0.0591 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Velvet
#750851
ΔE00 2.90
Rich Purple
#720058
ΔE00 4.74
Red Purple
#820747
ΔE00 4.75
Reddish Purple
#910951
ΔE00 5.01
Dark Magenta
#960056
ΔE00 5.06
Red Violet
#9E0168
ΔE00 5.81
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F1958 #197F40
analogous
#73197F #7F1958 #7F1925
triadic
#7F1958 #587F19 #19587F
tetradic
#7F1958 #7F7319 #197F40 #19257F
square
#7F1958 #7F7319 #197F40 #19257F
split-complementary
#7F1958 #257F19 #197F73
monochromatic
#1A0512 #4C0F35 #7F1958 #B2237B #D83A9C
Accessibility & contrast
On white
9.62
#7F1958 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.18
#7F1958 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7F1958
9.62:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F1958 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7F1958 | 1.00 | 9.62 | 2.18 | 9.62 |
| #FFFFFF | 9.62 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.18 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.62 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#293A5A
Deuteranopia (green-blind)
#484B56
Tritanopia (blue-blind)
#891436
Achromatopsia (no color)
#454545
Design tokens & code
CSS
--color: #7f1958; /* rgb */ color: rgb(127, 25, 88); /* oklch */ color: oklch(40.9% 0.149 348.1);
Tailwind
colors: {
custom: {
50: '#a86287',
500: '#7f1958',
950: '#000000',
},
}SCSS
$custom: #7f1958; $custom-light: #a86287; $custom-dark: #000000;
JSON
{
"hex": "#7f1958",
"rgb": {
"r": 127,
"g": 25,
"b": 88
},
"hsl": {
"h": 322.941,
"s": 67.105,
"l": 29.804
},
"oklch": {
"l": 0.40938,
"c": 0.14924,
"h": 348.1
},
"luminance": 0.05912
}Semantic roles & 50–950 ramp
primary
#7F1958
secondary
#41B36C
accent
#EA803E
background
#FAF6F8
surface
#F4EBEF
border
#CEC6CA
text
#10060B
muted
#7F7A7C