#7F246F#7F246F
#7F246F is a dark, vivid pink. Relative luminance 0.069; OKLCH L 43.1% C 0.152 H 335.8°. Best body text is #FFFFFF at 8.81:1 contrast (WCAG AA passes).
Color values
| HEX | #7F246F |
|---|---|
| RGB | rgb(127, 36, 111) |
| HSL | hsl(311, 56%, 32%) |
| HSV | hsv(311, 72%, 50%) |
| CMYK | cmyk(0%, 71.7%, 12.6%, 50.2%) |
| CIE-LAB | lab(31.63, 47.28, -22.82) |
| CIE-LCH | lch(31.63, 52.50, 334.24°) |
| OKLab | oklab(43.06% 0.1383 -0.0622) |
| OKLCH | oklch(43.06% 0.152 335.8) |
| XYZ | xyz(12.2527, 6.9225, 15.7267) |
| Luminance | 0.0692 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Darkish Purple
#751973
ΔE00 3.79
Purple
#800080
ΔE00 5.55
Rich Purple
#720058
ΔE00 5.79
Grape
#6C3461
ΔE00 5.90
Darkmagenta
#8B008B
ΔE00 6.29
Bruise
#7E4071
ΔE00 6.33
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F246F #247F34
analogous
#61247F #7F246F #7F2442
triadic
#7F246F #6F7F24 #246F7F
tetradic
#7F246F #7F6124 #247F34 #24427F
square
#7F246F #7F6124 #247F34 #24427F
split-complementary
#7F246F #427F24 #247F61
monochromatic
#20091C #4F1645 #7F246F #AF3299 #CD50B7
Accessibility & contrast
On white
8.81
#7F246F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.38
#7F246F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7F246F
8.81:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F246F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7F246F | 1.00 | 8.81 | 2.38 | 8.81 |
| #FFFFFF | 8.81 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.38 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.81 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#254271
Deuteranopia (green-blind)
#434F6D
Tritanopia (blue-blind)
#862A46
Achromatopsia (no color)
#4A4A4A
Design tokens & code
CSS
--color: #7f246f; /* rgb */ color: rgb(127, 36, 111); /* oklch */ color: oklch(43.1% 0.152 335.8);
Tailwind
colors: {
custom: {
50: '#a76798',
500: '#7f246f',
950: '#000000',
},
}SCSS
$custom: #7f246f; $custom-light: #a76798; $custom-dark: #000000;
JSON
{
"hex": "#7f246f",
"rgb": {
"r": 127,
"g": 36,
"b": 111
},
"hsl": {
"h": 310.549,
"s": 55.828,
"l": 31.961
},
"oklch": {
"l": 0.43056,
"c": 0.15162,
"h": 335.8
},
"luminance": 0.06921
}Semantic roles & 50–950 ramp
primary
#7F246F
secondary
#4EB15F
accent
#DF6349
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060D
muted
#7F7A7E