#7F145A#7F145A
#7F145A is a dark, vivid pink. Relative luminance 0.058; OKLCH L 40.7% C 0.155 H 346.5°. Best body text is #FFFFFF at 9.77:1 contrast (WCAG AA passes).
Color values
| HEX | #7F145A |
|---|---|
| RGB | rgb(127, 20, 90) |
| HSL | hsl(321, 73%, 29%) |
| HSV | hsv(321, 84%, 50%) |
| CMYK | cmyk(0%, 84.3%, 29.1%, 50.2%) |
| CIE-LAB | lab(28.78, 49.53, -13.66) |
| CIE-LCH | lch(28.78, 51.38, 344.58°) |
| OKLab | oklab(40.67% 0.151 -0.0362) |
| OKLCH | oklch(40.67% 0.155 346.5) |
| XYZ | xyz(10.8486, 5.7518, 10.2098) |
| Luminance | 0.0575 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Velvet
#750851
ΔE00 2.54
Rich Purple
#720058
ΔE00 3.93
Red Purple
#820747
ΔE00 5.39
Dark Magenta
#960056
ΔE00 5.50
Reddish Purple
#910951
ΔE00 5.62
Red Violet
#9E0168
ΔE00 5.79
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F145A #147F39
analogous
#6F147F #7F145A #7F1425
triadic
#7F145A #5A7F14 #145A7F
tetradic
#7F145A #7F6F14 #147F39 #14257F
square
#7F145A #7F6F14 #147F39 #14257F
split-complementary
#7F145A #257F14 #147F6F
monochromatic
#1A0413 #4A0C35 #7F145A #B41C7F #DE2FA2
Accessibility & contrast
On white
9.77
#7F145A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.15
#7F145A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7F145A
9.77:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F145A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7F145A | 1.00 | 9.77 | 2.15 | 9.77 |
| #FFFFFF | 9.77 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.15 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.77 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#25385C
Deuteranopia (green-blind)
#464A58
Tritanopia (blue-blind)
#880F36
Achromatopsia (no color)
#444444
Design tokens & code
CSS
--color: #7f145a; /* rgb */ color: rgb(127, 20, 90); /* oklch */ color: oklch(40.7% 0.155 346.5);
Tailwind
colors: {
custom: {
50: '#a86088',
500: '#7f145a',
950: '#000000',
},
}SCSS
$custom: #7f145a; $custom-light: #a86088; $custom-dark: #000000;
JSON
{
"hex": "#7f145a",
"rgb": {
"r": 127,
"g": 20,
"b": 90
},
"hsl": {
"h": 320.748,
"s": 72.789,
"l": 28.824
},
"oklch": {
"l": 0.40666,
"c": 0.15523,
"h": 346.5
},
"luminance": 0.05751
}Semantic roles & 50–950 ramp
primary
#7F145A
secondary
#3BB465
accent
#EF7838
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10050B
muted
#7F7A7C