#7F294D#7F294D
#7F294D is a dark, vivid pink. Relative luminance 0.066; OKLCH L 42.1% C 0.124 H 358.0°. Best body text is #FFFFFF at 9.03:1 contrast (WCAG AA passes).
Color values
| HEX | #7F294D |
|---|---|
| RGB | rgb(127, 41, 77) |
| HSL | hsl(335, 51%, 33%) |
| HSV | hsv(335, 68%, 50%) |
| CMYK | cmyk(0%, 67.7%, 39.4%, 50.2%) |
| CIE-LAB | lab(30.96, 40.40, -1.84) |
| CIE-LCH | lch(30.96, 40.44, 357.40°) |
| OKLab | oklab(42.1% 0.1236 -0.0043) |
| OKLCH | oklch(42.1% 0.124 358) |
| XYZ | xyz(10.8856, 6.6350, 7.7272) |
| Luminance | 0.0663 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Purple
#820747
ΔE00 4.24
Mulberry
#920A4E
ΔE00 4.68
Reddish Purple
#910951
ΔE00 4.73
Wine (survey)
#80013F
ΔE00 4.99
Berry
#990F4B
ΔE00 5.75
Dark Magenta
#960056
ΔE00 5.75
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F294D #297F5B
analogous
#7F2978 #7F294D #7F3029
triadic
#7F294D #4D7F29 #294D7F
tetradic
#7F294D #787F29 #297F5B #30297F
square
#7F294D #787F29 #297F5B #30297F
split-complementary
#7F294D #297F30 #29787F
monochromatic
#220B15 #511A31 #7F294D #AD3869 #C95988
Accessibility & contrast
On white
9.03
#7F294D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.33
#7F294D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7F294D
9.03:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F294D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7F294D | 1.00 | 9.03 | 2.33 | 9.03 |
| #FFFFFF | 9.03 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.33 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.03 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#393F4E
Deuteranopia (green-blind)
#504F4B
Tritanopia (blue-blind)
#892138
Achromatopsia (no color)
#494949
Design tokens & code
CSS
--color: #7f294d; /* rgb */ color: rgb(127, 41, 77); /* oklch */ color: oklch(42.1% 0.124 358.0);
Tailwind
colors: {
custom: {
50: '#a8697e',
500: '#7f294d',
950: '#000000',
},
}SCSS
$custom: #7f294d; $custom-light: #a8697e; $custom-dark: #000000;
JSON
{
"hex": "#7f294d",
"rgb": {
"r": 127,
"g": 41,
"b": 77
},
"hsl": {
"h": 334.884,
"s": 51.19,
"l": 32.941
},
"oklch": {
"l": 0.42101,
"c": 0.12365,
"h": 358
},
"luminance": 0.06634
}Semantic roles & 50–950 ramp
primary
#7F294D
secondary
#55AF89
accent
#DB9F4D
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#10070A
muted
#7F7A7C