#7F224E#7F224E
#7F224E is a dark, vivid pink. Relative luminance 0.062; OKLCH L 41.4% C 0.134 H 355.7°. Best body text is #FFFFFF at 9.37:1 contrast (WCAG AA passes).
Color values
| HEX | #7F224E |
|---|---|
| RGB | rgb(127, 34, 78) |
| HSL | hsl(332, 58%, 32%) |
| HSV | hsv(332, 73%, 50%) |
| CMYK | cmyk(0%, 73.2%, 38.6%, 50.2%) |
| CIE-LAB | lab(29.93, 43.46, -4.02) |
| CIE-LCH | lch(29.93, 43.64, 354.72°) |
| OKLab | oklab(41.35% 0.1332 -0.01) |
| OKLCH | oklch(41.35% 0.134 355.7) |
| XYZ | xyz(10.7003, 6.2074, 7.8409) |
| Luminance | 0.0621 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Purple
#820747
ΔE00 3.04
Reddish Purple
#910951
ΔE00 3.84
Mulberry
#920A4E
ΔE00 4.11
Wine (survey)
#80013F
ΔE00 4.38
Dark Magenta
#960056
ΔE00 4.79
Merlot
#730039
ΔE00 5.48
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F224E #227F53
analogous
#7F227D #7F224E #7F2522
triadic
#7F224E #4E7F22 #224E7F
tetradic
#7F224E #7D7F22 #227F53 #25227F
square
#7F224E #7D7F22 #227F53 #25227F
split-complementary
#7F224E #227F25 #227D7F
monochromatic
#1E0813 #4F1530 #7F224E #AF2F6C #CF4C8A
Accessibility & contrast
On white
9.37
#7F224E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.24
#7F224E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7F224E
9.37:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F224E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7F224E | 1.00 | 9.37 | 2.24 | 9.37 |
| #FFFFFF | 9.37 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.24 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.37 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#333B4F
Deuteranopia (green-blind)
#4D4D4C
Tritanopia (blue-blind)
#891935
Achromatopsia (no color)
#464646
Design tokens & code
CSS
--color: #7f224e; /* rgb */ color: rgb(127, 34, 78); /* oklch */ color: oklch(41.4% 0.134 355.7);
Tailwind
colors: {
custom: {
50: '#a8657f',
500: '#7f224e',
950: '#000000',
},
}SCSS
$custom: #7f224e; $custom-light: #a8657f; $custom-dark: #000000;
JSON
{
"hex": "#7f224e",
"rgb": {
"r": 127,
"g": 34,
"b": 78
},
"hsl": {
"h": 331.613,
"s": 57.764,
"l": 31.569
},
"oklch": {
"l": 0.41351,
"c": 0.13358,
"h": 355.7
},
"luminance": 0.06206
}Semantic roles & 50–950 ramp
primary
#7F224E
secondary
#4BB281
accent
#E19847
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#10060A
muted
#7F7A7C