#7F255F#7F255F
#7F255F is a dark, vivid pink. Relative luminance 0.067; OKLCH L 42.4% C 0.139 H 345.1°. Best body text is #FFFFFF at 9.00:1 contrast (WCAG AA passes).
Color values
| HEX | #7F255F |
|---|---|
| RGB | rgb(127, 37, 95) |
| HSL | hsl(321, 55%, 32%) |
| HSV | hsv(321, 71%, 50%) |
| CMYK | cmyk(0%, 70.9%, 25.2%, 50.2%) |
| CIE-LAB | lab(31.03, 44.46, -13.47) |
| CIE-LCH | lch(31.03, 46.45, 343.14°) |
| OKLab | oklab(42.37% 0.1342 -0.0358) |
| OKLCH | oklch(42.37% 0.139 345.1) |
| XYZ | xyz(11.4800, 6.6626, 11.5057) |
| Luminance | 0.0666 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Velvet
#750851
ΔE00 4.49
Grape
#6C3461
ΔE00 5.38
Rich Purple
#720058
ΔE00 5.60
Red Violet
#9E0168
ΔE00 5.90
Dark Magenta
#960056
ΔE00 6.10
Reddish Purple
#910951
ΔE00 6.20
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F255F #257F45
analogous
#72257F #7F255F #7F2532
triadic
#7F255F #5F7F25 #255F7F
tetradic
#7F255F #7F7225 #257F45 #25327F
square
#7F255F #7F7225 #257F45 #25327F
split-complementary
#7F255F #327F25 #257F72
monochromatic
#200918 #50173C #7F255F #AE3382 #CD52A1
Accessibility & contrast
On white
9.00
#7F255F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.33
#7F255F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7F255F
9.00:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F255F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7F255F | 1.00 | 9.00 | 2.33 | 9.00 |
| #FFFFFF | 9.00 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.33 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.00 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2F3F61
Deuteranopia (green-blind)
#4A4F5D
Tritanopia (blue-blind)
#88243E
Achromatopsia (no color)
#494949
Design tokens & code
CSS
--color: #7f255f; /* rgb */ color: rgb(127, 37, 95); /* oklch */ color: oklch(42.4% 0.139 345.1);
Tailwind
colors: {
custom: {
50: '#a7678c',
500: '#7f255f',
950: '#000000',
},
}SCSS
$custom: #7f255f; $custom-light: #a7678c; $custom-dark: #000000;
JSON
{
"hex": "#7f255f",
"rgb": {
"r": 127,
"g": 37,
"b": 95
},
"hsl": {
"h": 321.333,
"s": 54.878,
"l": 32.157
},
"oklch": {
"l": 0.42373,
"c": 0.13892,
"h": 345.1
},
"luminance": 0.06661
}Semantic roles & 50–950 ramp
primary
#7F255F
secondary
#4FB172
accent
#DE7E4A
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10060C
muted
#7F7A7D