#7F254D#7F254D
#7F254D is a dark, vivid pink. Relative luminance 0.064; OKLCH L 41.6% C 0.129 H 357.0°. Best body text is #FFFFFF at 9.23:1 contrast (WCAG AA passes).
Color values
| HEX | #7F254D |
|---|---|
| RGB | rgb(127, 37, 77) |
| HSL | hsl(333, 55%, 32%) |
| HSV | hsv(333, 71%, 50%) |
| CMYK | cmyk(0%, 70.9%, 39.4%, 50.2%) |
| CIE-LAB | lab(30.33, 42.12, -2.76) |
| CIE-LCH | lch(30.33, 42.21, 356.25°) |
| OKLab | oklab(41.64% 0.129 -0.0067) |
| OKLCH | oklch(41.64% 0.129 357) |
| XYZ | xyz(10.7542, 6.3723, 7.6834) |
| Luminance | 0.0637 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Purple
#820747
ΔE00 3.47
Reddish Purple
#910951
ΔE00 4.16
Mulberry
#920A4E
ΔE00 4.25
Wine (survey)
#80013F
ΔE00 4.47
Dark Magenta
#960056
ΔE00 5.19
Merlot
#730039
ΔE00 5.65
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F254D #257F57
analogous
#7F257A #7F254D #7F2A25
triadic
#7F254D #4D7F25 #254D7F
tetradic
#7F254D #7A7F25 #257F57 #2A257F
square
#7F254D #7A7F25 #257F57 #2A257F
split-complementary
#7F254D #257F2A #257A7F
monochromatic
#200914 #501730 #7F254D #AE336A #CD5288
Accessibility & contrast
On white
9.23
#7F254D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.27
#7F254D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7F254D
9.23:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F254D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7F254D | 1.00 | 9.23 | 2.27 | 9.23 |
| #FFFFFF | 9.23 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.27 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.23 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#363D4E
Deuteranopia (green-blind)
#4E4E4B
Tritanopia (blue-blind)
#891C36
Achromatopsia (no color)
#474747
Design tokens & code
CSS
--color: #7f254d; /* rgb */ color: rgb(127, 37, 77); /* oklch */ color: oklch(41.6% 0.129 357.0);
Tailwind
colors: {
custom: {
50: '#a8677e',
500: '#7f254d',
950: '#000000',
},
}SCSS
$custom: #7f254d; $custom-light: #a8677e; $custom-dark: #000000;
JSON
{
"hex": "#7f254d",
"rgb": {
"r": 127,
"g": 37,
"b": 77
},
"hsl": {
"h": 333.333,
"s": 54.878,
"l": 32.157
},
"oklch": {
"l": 0.41636,
"c": 0.1292,
"h": 357
},
"luminance": 0.06371
}Semantic roles & 50–950 ramp
primary
#7F254D
secondary
#4FB185
accent
#DE9C4A
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#10060A
muted
#7F7A7C