#7F276F#7F276F
#7F276F is a dark, vivid pink. Relative luminance 0.071; OKLCH L 43.4% C 0.148 H 335.9°. Best body text is #FFFFFF at 8.67:1 contrast (WCAG AA passes).
Color values
| HEX | #7F276F |
|---|---|
| RGB | rgb(127, 39, 111) |
| HSL | hsl(311, 53%, 33%) |
| HSV | hsv(311, 69%, 50%) |
| CMYK | cmyk(0%, 69.3%, 12.6%, 50.2%) |
| CIE-LAB | lab(32.06, 46.07, -22.14) |
| CIE-LCH | lch(32.06, 51.12, 334.33°) |
| OKLab | oklab(43.37% 0.1347 -0.0603) |
| OKLCH | oklch(43.37% 0.148 335.9) |
| XYZ | xyz(12.3473, 7.1118, 15.7583) |
| Luminance | 0.0711 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Darkish Purple
#751973
ΔE00 4.20
Grape
#6C3461
ΔE00 5.56
Bruise
#7E4071
ΔE00 5.80
Purple
#800080
ΔE00 5.99
Rich Purple
#720058
ΔE00 6.13
Warm Purple
#952E8F
ΔE00 6.59
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F276F #277F37
analogous
#63277F #7F276F #7F2743
triadic
#7F276F #6F7F27 #276F7F
tetradic
#7F276F #7F6327 #277F37 #27437F
square
#7F276F #7F6327 #277F37 #27437F
split-complementary
#7F276F #437F27 #277F63
monochromatic
#210A1D #501946 #7F276F #AE3598 #CB55B6
Accessibility & contrast
On white
8.67
#7F276F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.42
#7F276F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7F276F
8.67:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F276F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7F276F | 1.00 | 8.67 | 2.42 | 8.67 |
| #FFFFFF | 8.67 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.42 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.67 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#284371
Deuteranopia (green-blind)
#45506D
Tritanopia (blue-blind)
#862C47
Achromatopsia (no color)
#4B4B4B
Design tokens & code
CSS
--color: #7f276f; /* rgb */ color: rgb(127, 39, 111); /* oklch */ color: oklch(43.4% 0.148 335.9);
Tailwind
colors: {
custom: {
50: '#a76998',
500: '#7f276f',
950: '#000000',
},
}SCSS
$custom: #7f276f; $custom-light: #a76998; $custom-dark: #000000;
JSON
{
"hex": "#7f276f",
"rgb": {
"r": 127,
"g": 39,
"b": 111
},
"hsl": {
"h": 310.909,
"s": 53.012,
"l": 32.549
},
"oklch": {
"l": 0.43368,
"c": 0.14759,
"h": 335.9
},
"luminance": 0.07111
}Semantic roles & 50–950 ramp
primary
#7F276F
secondary
#52B063
accent
#DC664B
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10070D
muted
#7F7A7E