#7F276A#7F276A
#7F276A is a dark, vivid pink. Relative luminance 0.070; OKLCH L 43.1% C 0.144 H 338.7°. Best body text is #FFFFFF at 8.75:1 contrast (WCAG AA passes).
Color values
| HEX | #7F276A |
|---|---|
| RGB | rgb(127, 39, 106) |
| HSL | hsl(314, 53%, 33%) |
| HSV | hsv(314, 69%, 50%) |
| CMYK | cmyk(0%, 69.3%, 16.5%, 50.2%) |
| CIE-LAB | lab(31.82, 45.28, -19.33) |
| CIE-LCH | lch(31.82, 49.23, 336.88°) |
| OKLab | oklab(43.11% 0.134 -0.0523) |
| OKLCH | oklch(43.11% 0.144 338.7) |
| XYZ | xyz(12.0797, 7.0048, 14.3487) |
| Luminance | 0.0700 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Grape
#6C3461
ΔE00 5.11
Darkish Purple
#751973
ΔE00 5.12
Bruise
#7E4071
ΔE00 5.61
Rich Purple
#720058
ΔE00 5.75
Velvet
#750851
ΔE00 5.96
Red Violet
#9E0168
ΔE00 6.56
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F276A #277F3C
analogous
#68277F #7F276A #7F273E
triadic
#7F276A #6A7F27 #276A7F
tetradic
#7F276A #7F6827 #277F3C #273E7F
square
#7F276A #7F6827 #277F3C #273E7F
split-complementary
#7F276A #3E7F27 #277F68
monochromatic
#210A1C #501943 #7F276A #AE3591 #CB55AF
Accessibility & contrast
On white
8.75
#7F276A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.40
#7F276A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7F276A
8.75:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F276A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7F276A | 1.00 | 8.75 | 2.40 | 8.75 |
| #FFFFFF | 8.75 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.40 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.75 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2B426C
Deuteranopia (green-blind)
#475068
Tritanopia (blue-blind)
#862A45
Achromatopsia (no color)
#4B4B4B
Design tokens & code
CSS
--color: #7f276a; /* rgb */ color: rgb(127, 39, 106); /* oklch */ color: oklch(43.1% 0.144 338.7);
Tailwind
colors: {
custom: {
50: '#a76995',
500: '#7f276a',
950: '#000000',
},
}SCSS
$custom: #7f276a; $custom-light: #a76995; $custom-dark: #000000;
JSON
{
"hex": "#7f276a",
"rgb": {
"r": 127,
"g": 39,
"b": 106
},
"hsl": {
"h": 314.318,
"s": 53.012,
"l": 32.549
},
"oklch": {
"l": 0.43113,
"c": 0.14379,
"h": 338.7
},
"luminance": 0.07004
}Semantic roles & 50–950 ramp
primary
#7F276A
secondary
#52B068
accent
#DC6E4B
background
#FAF6F9
surface
#F4EBF1
border
#CEC6CB
text
#10070D
muted
#7F7A7E