#7F254B#7F254B
#7F254B is a dark, vivid pink. Relative luminance 0.063; OKLCH L 41.6% C 0.128 H 358.4°. Best body text is #FFFFFF at 9.26:1 contrast (WCAG AA passes).
Color values
| HEX | #7F254B |
|---|---|
| RGB | rgb(127, 37, 75) |
| HSL | hsl(335, 55%, 32%) |
| HSV | hsv(335, 71%, 50%) |
| CMYK | cmyk(0%, 70.9%, 40.9%, 50.2%) |
| CIE-LAB | lab(30.27, 41.89, -1.54) |
| CIE-LCH | lch(30.27, 41.92, 357.89°) |
| OKLab | oklab(41.56% 0.1283 -0.0035) |
| OKLCH | oklch(41.56% 0.128 358.4) |
| XYZ | xyz(10.6847, 6.3444, 7.3172) |
| Luminance | 0.0634 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Purple
#820747
ΔE00 3.52
Wine (survey)
#80013F
ΔE00 4.22
Mulberry
#920A4E
ΔE00 4.24
Reddish Purple
#910951
ΔE00 4.32
Dark Magenta
#960056
ΔE00 5.44
Berry
#990F4B
ΔE00 5.45
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F254B #257F59
analogous
#7F2578 #7F254B #7F2C25
triadic
#7F254B #4B7F25 #254B7F
tetradic
#7F254B #787F25 #257F59 #2C257F
square
#7F254B #787F25 #257F59 #2C257F
split-complementary
#7F254B #257F2C #25787F
monochromatic
#200913 #50172F #7F254B #AE3367 #CD5286
Accessibility & contrast
On white
9.26
#7F254B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.27
#7F254B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7F254B
9.26:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F254B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7F254B | 1.00 | 9.26 | 2.27 | 9.26 |
| #FFFFFF | 9.26 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.27 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.26 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#363C4C
Deuteranopia (green-blind)
#4F4E49
Tritanopia (blue-blind)
#8A1B35
Achromatopsia (no color)
#474747
Design tokens & code
CSS
--color: #7f254b; /* rgb */ color: rgb(127, 37, 75); /* oklch */ color: oklch(41.6% 0.128 358.4);
Tailwind
colors: {
custom: {
50: '#a8677d',
500: '#7f254b',
950: '#000000',
},
}SCSS
$custom: #7f254b; $custom-light: #a8677d; $custom-dark: #000000;
JSON
{
"hex": "#7f254b",
"rgb": {
"r": 127,
"g": 37,
"b": 75
},
"hsl": {
"h": 334.667,
"s": 54.878,
"l": 32.157
},
"oklch": {
"l": 0.41564,
"c": 0.12838,
"h": 358.4
},
"luminance": 0.06343
}Semantic roles & 50–950 ramp
primary
#7F254B
secondary
#4FB187
accent
#DE9F4A
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#100609
muted
#7F7A7B