#7F296B#7F296B
#7F296B is a dark, vivid pink. Relative luminance 0.072; OKLCH L 43.4% C 0.142 H 338.2°. Best body text is #FFFFFF at 8.64:1 contrast (WCAG AA passes).
Color values
| HEX | #7F296B |
|---|---|
| RGB | rgb(127, 41, 107) |
| HSL | hsl(314, 51%, 33%) |
| HSV | hsv(314, 68%, 50%) |
| CMYK | cmyk(0%, 67.7%, 15.7%, 50.2%) |
| CIE-LAB | lab(32.17, 44.59, -19.43) |
| CIE-LCH | lch(32.17, 48.63, 336.46°) |
| OKLab | oklab(43.39% 0.1316 -0.0525) |
| OKLCH | oklch(43.39% 0.142 338.2) |
| XYZ | xyz(12.1994, 7.1605, 14.6467) |
| Luminance | 0.0716 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Grape
#6C3461
ΔE00 4.95
Darkish Purple
#751973
ΔE00 5.22
Bruise
#7E4071
ΔE00 5.26
Rich Purple
#720058
ΔE00 6.09
Velvet
#750851
ΔE00 6.29
Red Violet
#9E0168
ΔE00 6.71
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F296B #297F3D
analogous
#68297F #7F296B #7F2940
triadic
#7F296B #6B7F29 #296B7F
tetradic
#7F296B #7F6829 #297F3D #29407F
square
#7F296B #7F6829 #297F3D #29407F
split-complementary
#7F296B #407F29 #297F68
monochromatic
#220B1D #511A44 #7F296B #AD3892 #C959AF
Accessibility & contrast
On white
8.64
#7F296B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.43
#7F296B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7F296B
8.64:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F296B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7F296B | 1.00 | 8.64 | 2.43 | 8.64 |
| #FFFFFF | 8.64 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.43 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.64 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2C436D
Deuteranopia (green-blind)
#475169
Tritanopia (blue-blind)
#862C46
Achromatopsia (no color)
#4C4C4C
Design tokens & code
CSS
--color: #7f296b; /* rgb */ color: rgb(127, 41, 107); /* oklch */ color: oklch(43.4% 0.142 338.2);
Tailwind
colors: {
custom: {
50: '#a76a95',
500: '#7f296b',
950: '#000000',
},
}SCSS
$custom: #7f296b; $custom-light: #a76a95; $custom-dark: #000000;
JSON
{
"hex": "#7f296b",
"rgb": {
"r": 127,
"g": 41,
"b": 107
},
"hsl": {
"h": 313.953,
"s": 51.19,
"l": 32.941
},
"oklch": {
"l": 0.43385,
"c": 0.14169,
"h": 338.2
},
"luminance": 0.07159
}Semantic roles & 50–950 ramp
primary
#7F296B
secondary
#55AF6A
accent
#DB6E4D
background
#FAF6F9
surface
#F4EBF1
border
#CEC6CB
text
#10070D
muted
#7F7A7E