#7F254F#7F254F
#7F254F is a dark, vivid pink. Relative luminance 0.064; OKLCH L 41.7% C 0.130 H 355.6°. Best body text is #FFFFFF at 9.21:1 contrast (WCAG AA passes).
Color values
| HEX | #7F254F |
|---|---|
| RGB | rgb(127, 37, 79) |
| HSL | hsl(332, 55%, 32%) |
| HSV | hsv(332, 71%, 50%) |
| CMYK | cmyk(0%, 70.9%, 37.8%, 50.2%) |
| CIE-LAB | lab(30.40, 42.36, -3.98) |
| CIE-LCH | lch(30.40, 42.55, 354.64°) |
| OKLab | oklab(41.71% 0.1297 -0.0099) |
| OKLCH | oklch(41.71% 0.13 355.6) |
| XYZ | xyz(10.8259, 6.4009, 8.0610) |
| Luminance | 0.0640 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Purple
#820747
ΔE00 3.54
Reddish Purple
#910951
ΔE00 4.11
Mulberry
#920A4E
ΔE00 4.35
Wine (survey)
#80013F
ΔE00 4.80
Dark Magenta
#960056
ΔE00 5.02
Dark Fuchsia
#9D0759
ΔE00 5.86
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F254F #257F55
analogous
#7F257C #7F254F #7F2825
triadic
#7F254F #4F7F25 #254F7F
tetradic
#7F254F #7C7F25 #257F55 #28257F
square
#7F254F #7C7F25 #257F55 #28257F
split-complementary
#7F254F #257F28 #257C7F
monochromatic
#200914 #501732 #7F254F #AE336C #CD528B
Accessibility & contrast
On white
9.21
#7F254F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.28
#7F254F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7F254F
9.21:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F254F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7F254F | 1.00 | 9.21 | 2.28 | 9.21 |
| #FFFFFF | 9.21 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.28 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.21 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#353D50
Deuteranopia (green-blind)
#4E4E4D
Tritanopia (blue-blind)
#891D37
Achromatopsia (no color)
#484848
Design tokens & code
CSS
--color: #7f254f; /* rgb */ color: rgb(127, 37, 79); /* oklch */ color: oklch(41.7% 0.130 355.6);
Tailwind
colors: {
custom: {
50: '#a86780',
500: '#7f254f',
950: '#000000',
},
}SCSS
$custom: #7f254f; $custom-light: #a86780; $custom-dark: #000000;
JSON
{
"hex": "#7f254f",
"rgb": {
"r": 127,
"g": 37,
"b": 79
},
"hsl": {
"h": 332,
"s": 54.878,
"l": 32.157
},
"oklch": {
"l": 0.4171,
"c": 0.13007,
"h": 355.6
},
"luminance": 0.064
}Semantic roles & 50–950 ramp
primary
#7F254F
secondary
#4FB183
accent
#DE994A
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#10060A
muted
#7F7A7C