#7F136A#7F136A
#7F136A is a dark, vivid pink. Relative luminance 0.060; OKLCH L 41.4% C 0.166 H 337.9°. Best body text is #FFFFFF at 9.53:1 contrast (WCAG AA passes).
Color values
| HEX | #7F136A |
|---|---|
| RGB | rgb(127, 19, 106) |
| HSL | hsl(312, 74%, 29%) |
| HSV | hsv(312, 85%, 50%) |
| CMYK | cmyk(0%, 85%, 16.5%, 50.2%) |
| CIE-LAB | lab(29.46, 51.97, -23.00) |
| CIE-LCH | lch(29.46, 56.83, 336.12°) |
| OKLab | oklab(41.41% 0.1541 -0.0626) |
| OKLCH | oklch(41.41% 0.166 337.9) |
| XYZ | xyz(11.5871, 6.0195, 14.1845) |
| Luminance | 0.0602 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Darkish Purple
#751973
ΔE00 3.58
Rich Purple
#720058
ΔE00 4.00
Purple
#800080
ΔE00 5.06
Velvet
#750851
ΔE00 5.27
Darkmagenta
#8B008B
ΔE00 6.28
Red Violet
#9E0168
ΔE00 6.89
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F136A #137F28
analogous
#5E137F #7F136A #7F1334
triadic
#7F136A #6A7F13 #136A7F
tetradic
#7F136A #7F5E13 #137F28 #13347F
square
#7F136A #7F5E13 #137F28 #13347F
split-complementary
#7F136A #347F13 #137F5E
monochromatic
#1B0416 #4A0B3E #7F136A #B41B96 #E02DBD
Accessibility & contrast
On white
9.53
#7F136A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.20
#7F136A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7F136A
9.53:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F136A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7F136A | 1.00 | 9.53 | 2.20 | 9.53 |
| #FFFFFF | 9.53 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.20 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.53 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#193B6C
Deuteranopia (green-blind)
#404B68
Tritanopia (blue-blind)
#861B3F
Achromatopsia (no color)
#454545
Design tokens & code
CSS
--color: #7f136a; /* rgb */ color: rgb(127, 19, 106); /* oklch */ color: oklch(41.4% 0.166 337.9);
Tailwind
colors: {
custom: {
50: '#a86195',
500: '#7f136a',
950: '#000000',
},
}SCSS
$custom: #7f136a; $custom-light: #a86195; $custom-dark: #000000;
JSON
{
"hex": "#7f136a",
"rgb": {
"r": 127,
"g": 19,
"b": 106
},
"hsl": {
"h": 311.667,
"s": 73.973,
"l": 28.627
},
"oklch": {
"l": 0.4141,
"c": 0.16629,
"h": 337.9
},
"luminance": 0.06018
}Semantic roles & 50–950 ramp
primary
#7F136A
secondary
#39B451
accent
#F15B37
background
#FAF6F9
surface
#F4EBF1
border
#CEC6CB
text
#10060D
muted
#7F7A7E