#7F126B#7F126B
#7F126B is a dark, vivid pink. Relative luminance 0.060; OKLCH L 41.4% C 0.168 H 337.4°. Best body text is #FFFFFF at 9.54:1 contrast (WCAG AA passes).
Color values
| HEX | #7F126B |
|---|---|
| RGB | rgb(127, 18, 107) |
| HSL | hsl(311, 75%, 28%) |
| HSV | hsv(311, 86%, 50%) |
| CMYK | cmyk(0%, 85.8%, 15.7%, 50.2%) |
| CIE-LAB | lab(29.43, 52.35, -23.70) |
| CIE-LCH | lch(29.43, 57.47, 335.65°) |
| OKLab | oklab(41.4% 0.1549 -0.0645) |
| OKLCH | oklch(41.4% 0.168 337.4) |
| XYZ | xyz(11.6228, 6.0073, 14.4545) |
| Luminance | 0.0601 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Darkish Purple
#751973
ΔE00 3.36
Rich Purple
#720058
ΔE00 4.10
Purple
#800080
ΔE00 4.78
Velvet
#750851
ΔE00 5.48
Darkmagenta
#8B008B
ΔE00 6.04
Red Violet
#9E0168
ΔE00 7.04
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F126B #127F26
analogous
#5C127F #7F126B #7F1234
triadic
#7F126B #6B7F12 #126B7F
tetradic
#7F126B #7F5C12 #127F26 #12347F
square
#7F126B #7F5C12 #127F26 #12347F
split-complementary
#7F126B #347F12 #127F5C
monochromatic
#1B0417 #490A3E #7F126B #B51A98 #E12BBF
Accessibility & contrast
On white
9.54
#7F126B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.20
#7F126B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7F126B
9.54:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F126B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7F126B | 1.00 | 9.54 | 2.20 | 9.54 |
| #FFFFFF | 9.54 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.20 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.54 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#173B6D
Deuteranopia (green-blind)
#3F4B69
Tritanopia (blue-blind)
#861B3F
Achromatopsia (no color)
#454545
Design tokens & code
CSS
--color: #7f126b; /* rgb */ color: rgb(127, 18, 107); /* oklch */ color: oklch(41.4% 0.168 337.4);
Tailwind
colors: {
custom: {
50: '#a86095',
500: '#7f126b',
950: '#000000',
},
}SCSS
$custom: #7f126b; $custom-light: #a86095; $custom-dark: #000000;
JSON
{
"hex": "#7f126b",
"rgb": {
"r": 127,
"g": 18,
"b": 107
},
"hsl": {
"h": 311.009,
"s": 75.172,
"l": 28.431
},
"oklch": {
"l": 0.41405,
"c": 0.16778,
"h": 337.4
},
"luminance": 0.06006
}Semantic roles & 50–950 ramp
primary
#7F126B
secondary
#38B54F
accent
#F25836
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060D
muted
#7F7A7E