#7F254A#7F254A
#7F254A is a dark, vivid pink. Relative luminance 0.063; OKLCH L 41.5% C 0.128 H 359.1°. Best body text is #FFFFFF at 9.27:1 contrast (WCAG AA passes).
Color values
| HEX | #7F254A |
|---|---|
| RGB | rgb(127, 37, 74) |
| HSL | hsl(335, 55%, 32%) |
| HSV | hsv(335, 71%, 50%) |
| CMYK | cmyk(0%, 70.9%, 41.7%, 50.2%) |
| CIE-LAB | lab(30.23, 41.78, -0.93) |
| CIE-LCH | lch(30.23, 41.79, 358.72°) |
| OKLab | oklab(41.53% 0.128 -0.0019) |
| OKLCH | oklch(41.53% 0.128 359.1) |
| XYZ | xyz(10.6507, 6.3309, 7.1383) |
| Luminance | 0.0633 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Purple
#820747
ΔE00 3.59
Wine (survey)
#80013F
ΔE00 4.13
Mulberry
#920A4E
ΔE00 4.27
Reddish Purple
#910951
ΔE00 4.43
Berry
#990F4B
ΔE00 5.35
Merlot
#730039
ΔE00 5.40
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F254A #257F5A
analogous
#7F2577 #7F254A #7F2D25
triadic
#7F254A #4A7F25 #254A7F
tetradic
#7F254A #777F25 #257F5A #2D257F
square
#7F254A #777F25 #257F5A #2D257F
split-complementary
#7F254A #257F2D #25777F
monochromatic
#200913 #50172E #7F254A #AE3366 #CD5284
Accessibility & contrast
On white
9.27
#7F254A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.27
#7F254A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7F254A
9.27:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F254A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7F254A | 1.00 | 9.27 | 2.27 | 9.27 |
| #FFFFFF | 9.27 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.27 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.27 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#373C4B
Deuteranopia (green-blind)
#4F4D48
Tritanopia (blue-blind)
#8A1B34
Achromatopsia (no color)
#474747
Design tokens & code
CSS
--color: #7f254a; /* rgb */ color: rgb(127, 37, 74); /* oklch */ color: oklch(41.5% 0.128 359.1);
Tailwind
colors: {
custom: {
50: '#a8677c',
500: '#7f254a',
950: '#000000',
},
}SCSS
$custom: #7f254a; $custom-light: #a8677c; $custom-dark: #000000;
JSON
{
"hex": "#7f254a",
"rgb": {
"r": 127,
"g": 37,
"b": 74
},
"hsl": {
"h": 335.333,
"s": 54.878,
"l": 32.157
},
"oklch": {
"l": 0.41529,
"c": 0.12798,
"h": 359.1
},
"luminance": 0.0633
}Semantic roles & 50–950 ramp
primary
#7F254A
secondary
#4FB189
accent
#DEA14A
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#100609
muted
#7F7A7B