#7F155F#7F155F
#7F155F is a dark, vivid pink. Relative luminance 0.059; OKLCH L 41.0% C 0.157 H 343.8°. Best body text is #FFFFFF at 9.66:1 contrast (WCAG AA passes).
Color values
| HEX | #7F155F |
|---|---|
| RGB | rgb(127, 21, 95) |
| HSL | hsl(318, 72%, 29%) |
| HSV | hsv(318, 83%, 50%) |
| CMYK | cmyk(0%, 83.5%, 25.2%, 50.2%) |
| CIE-LAB | lab(29.10, 49.92, -16.44) |
| CIE-LCH | lch(29.10, 52.55, 341.77°) |
| OKLab | oklab(40.97% 0.1511 -0.044) |
| OKLCH | oklch(40.97% 0.157 343.8) |
| XYZ | xyz(11.0866, 5.8758, 11.3745) |
| Luminance | 0.0587 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Velvet
#750851
ΔE00 3.15
Rich Purple
#720058
ΔE00 3.55
Red Violet
#9E0168
ΔE00 5.86
Darkish Purple
#751973
ΔE00 6.13
Dark Magenta
#960056
ΔE00 6.34
Red Purple
#820747
ΔE00 6.63
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F155F #157F35
analogous
#6A157F #7F155F #7F152A
triadic
#7F155F #5F7F15 #155F7F
tetradic
#7F155F #7F6A15 #157F35 #152A7F
square
#7F155F #7F6A15 #157F35 #152A7F
split-complementary
#7F155F #2A7F15 #157F6A
monochromatic
#1A0414 #4A0C38 #7F155F #B41E86 #DD31A9
Accessibility & contrast
On white
9.66
#7F155F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.17
#7F155F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7F155F
9.66:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F155F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7F155F | 1.00 | 9.66 | 2.17 | 9.66 |
| #FFFFFF | 9.66 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.17 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.66 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#233961
Deuteranopia (green-blind)
#444B5D
Tritanopia (blue-blind)
#881439
Achromatopsia (no color)
#454545
Design tokens & code
CSS
--color: #7f155f; /* rgb */ color: rgb(127, 21, 95); /* oklch */ color: oklch(41.0% 0.157 343.8);
Tailwind
colors: {
custom: {
50: '#a8618c',
500: '#7f155f',
950: '#000000',
},
}SCSS
$custom: #7f155f; $custom-light: #a8618c; $custom-dark: #000000;
JSON
{
"hex": "#7f155f",
"rgb": {
"r": 127,
"g": 21,
"b": 95
},
"hsl": {
"h": 318.113,
"s": 71.622,
"l": 29.02
},
"oklch": {
"l": 0.40971,
"c": 0.15734,
"h": 343.8
},
"luminance": 0.05875
}Semantic roles & 50–950 ramp
primary
#7F155F
secondary
#3CB460
accent
#EE7039
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10060C
muted
#7F7A7D