#7F226E#7F226E
#7F226E is a dark, vivid pink. Relative luminance 0.068; OKLCH L 42.8% C 0.153 H 336.3°. Best body text is #FFFFFF at 8.91:1 contrast (WCAG AA passes).
Color values
| HEX | #7F226E |
|---|---|
| RGB | rgb(127, 34, 110) |
| HSL | hsl(311, 58%, 32%) |
| HSV | hsv(311, 73%, 50%) |
| CMYK | cmyk(0%, 73.2%, 13.4%, 50.2%) |
| CIE-LAB | lab(31.31, 47.89, -22.68) |
| CIE-LCH | lch(31.31, 52.99, 334.66°) |
| OKLab | oklab(42.81% 0.1404 -0.0618) |
| OKLCH | oklch(42.81% 0.153 336.3) |
| XYZ | xyz(12.1391, 6.7830, 15.4187) |
| Luminance | 0.0678 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Darkish Purple
#751973
ΔE00 3.73
Rich Purple
#720058
ΔE00 5.48
Purple
#800080
ΔE00 5.49
Grape
#6C3461
ΔE00 6.02
Darkmagenta
#8B008B
ΔE00 6.30
Velvet
#750851
ΔE00 6.34
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F226E #227F33
analogous
#62227F #7F226E #7F2240
triadic
#7F226E #6E7F22 #226E7F
tetradic
#7F226E #7F6222 #227F33 #22407F
square
#7F226E #7F6222 #227F33 #22407F
split-complementary
#7F226E #407F22 #227F62
monochromatic
#1E081A #4F1544 #7F226E #AF2F98 #CF4CB7
Accessibility & contrast
On white
8.91
#7F226E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.36
#7F226E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7F226E
8.91:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F226E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7F226E | 1.00 | 8.91 | 2.36 | 8.91 |
| #FFFFFF | 8.91 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.36 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.91 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#234170
Deuteranopia (green-blind)
#434F6C
Tritanopia (blue-blind)
#862845
Achromatopsia (no color)
#4A4A4A
Design tokens & code
CSS
--color: #7f226e; /* rgb */ color: rgb(127, 34, 110); /* oklch */ color: oklch(42.8% 0.153 336.3);
Tailwind
colors: {
custom: {
50: '#a76698',
500: '#7f226e',
950: '#000000',
},
}SCSS
$custom: #7f226e; $custom-light: #a76698; $custom-dark: #000000;
JSON
{
"hex": "#7f226e",
"rgb": {
"r": 127,
"g": 34,
"b": 110
},
"hsl": {
"h": 310.968,
"s": 57.764,
"l": 31.569
},
"oklch": {
"l": 0.42806,
"c": 0.15342,
"h": 336.3
},
"luminance": 0.06782
}Semantic roles & 50–950 ramp
primary
#7F226E
secondary
#4BB25E
accent
#E16347
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060D
muted
#7F7A7E