#7F135E#7F135E
#7F135E is a dark, vivid pink. Relative luminance 0.058; OKLCH L 40.8% C 0.158 H 344.2°. Best body text is #FFFFFF at 9.73:1 contrast (WCAG AA passes).
Color values
| HEX | #7F135E |
|---|---|
| RGB | rgb(127, 19, 94) |
| HSL | hsl(318, 74%, 29%) |
| HSV | hsv(318, 85%, 50%) |
| CMYK | cmyk(0%, 85%, 26%, 50.2%) |
| CIE-LAB | lab(28.87, 50.31, -16.14) |
| CIE-LCH | lch(28.87, 52.83, 342.21°) |
| OKLab | oklab(40.79% 0.1525 -0.0431) |
| OKLCH | oklch(40.79% 0.158 344.2) |
| XYZ | xyz(11.0061, 5.7872, 11.1249) |
| Luminance | 0.0579 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Velvet
#750851
ΔE00 2.94
Rich Purple
#720058
ΔE00 3.44
Red Violet
#9E0168
ΔE00 5.87
Dark Magenta
#960056
ΔE00 6.23
Darkish Purple
#751973
ΔE00 6.29
Red Purple
#820747
ΔE00 6.44
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F135E #137F34
analogous
#6A137F #7F135E #7F1328
triadic
#7F135E #5E7F13 #135E7F
tetradic
#7F135E #7F6A13 #137F34 #13287F
square
#7F135E #7F6A13 #137F34 #13287F
split-complementary
#7F135E #287F13 #137F6A
monochromatic
#1B0414 #4A0B37 #7F135E #B41B85 #E02DA9
Accessibility & contrast
On white
9.73
#7F135E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.16
#7F135E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7F135E
9.73:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F135E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7F135E | 1.00 | 9.73 | 2.16 | 9.73 |
| #FFFFFF | 9.73 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.16 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.73 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#223960
Deuteranopia (green-blind)
#444A5C
Tritanopia (blue-blind)
#881238
Achromatopsia (no color)
#444444
Design tokens & code
CSS
--color: #7f135e; /* rgb */ color: rgb(127, 19, 94); /* oklch */ color: oklch(40.8% 0.158 344.2);
Tailwind
colors: {
custom: {
50: '#a8608b',
500: '#7f135e',
950: '#000000',
},
}SCSS
$custom: #7f135e; $custom-light: #a8608b; $custom-dark: #000000;
JSON
{
"hex": "#7f135e",
"rgb": {
"r": 127,
"g": 19,
"b": 94
},
"hsl": {
"h": 318.333,
"s": 73.973,
"l": 28.627
},
"oklch": {
"l": 0.40791,
"c": 0.15849,
"h": 344.2
},
"luminance": 0.05786
}Semantic roles & 50–950 ramp
primary
#7F135E
secondary
#39B45F
accent
#F17037
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10050C
muted
#7F7A7D