#7F145F#7F145F
#7F145F is a dark, vivid pink. Relative luminance 0.058; OKLCH L 40.9% C 0.158 H 343.7°. Best body text is #FFFFFF at 9.69:1 contrast (WCAG AA passes).
Color values
| HEX | #7F145F |
|---|---|
| RGB | rgb(127, 20, 95) |
| HSL | hsl(318, 73%, 29%) |
| HSV | hsv(318, 84%, 50%) |
| CMYK | cmyk(0%, 84.3%, 25.2%, 50.2%) |
| CIE-LAB | lab(29.00, 50.18, -16.58) |
| CIE-LCH | lch(29.00, 52.85, 341.71°) |
| OKLab | oklab(40.9% 0.1519 -0.0444) |
| OKLCH | oklch(40.9% 0.158 343.7) |
| XYZ | xyz(11.0686, 5.8398, 11.3685) |
| Luminance | 0.0584 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Velvet
#750851
ΔE00 3.12
Rich Purple
#720058
ΔE00 3.47
Red Violet
#9E0168
ΔE00 5.89
Darkish Purple
#751973
ΔE00 6.09
Dark Magenta
#960056
ΔE00 6.38
Red Purple
#820747
ΔE00 6.66
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F145F #147F34
analogous
#6A147F #7F145F #7F142A
triadic
#7F145F #5F7F14 #145F7F
tetradic
#7F145F #7F6A14 #147F34 #142A7F
square
#7F145F #7F6A14 #147F34 #142A7F
split-complementary
#7F145F #2A7F14 #147F6A
monochromatic
#1A0414 #4A0C37 #7F145F #B41C87 #DE2FAA
Accessibility & contrast
On white
9.69
#7F145F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.17
#7F145F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7F145F
9.69:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F145F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7F145F | 1.00 | 9.69 | 2.17 | 9.69 |
| #FFFFFF | 9.69 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.17 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.69 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#223961
Deuteranopia (green-blind)
#444B5D
Tritanopia (blue-blind)
#881439
Achromatopsia (no color)
#444444
Design tokens & code
CSS
--color: #7f145f; /* rgb */ color: rgb(127, 20, 95); /* oklch */ color: oklch(40.9% 0.158 343.7);
Tailwind
colors: {
custom: {
50: '#a8608c',
500: '#7f145f',
950: '#000000',
},
}SCSS
$custom: #7f145f; $custom-light: #a8608c; $custom-dark: #000000;
JSON
{
"hex": "#7f145f",
"rgb": {
"r": 127,
"g": 20,
"b": 95
},
"hsl": {
"h": 317.944,
"s": 72.789,
"l": 28.824
},
"oklch": {
"l": 0.40904,
"c": 0.15824,
"h": 343.7
},
"luminance": 0.05839
}Semantic roles & 50–950 ramp
primary
#7F145F
secondary
#3BB45F
accent
#EF6F38
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10050C
muted
#7F7A7D