#7F315E#7F315E
#7F315E is a dark, vivid pink. Relative luminance 0.075; OKLCH L 43.8% C 0.120 H 347.5°. Best body text is #FFFFFF at 8.39:1 contrast (WCAG AA passes).
Color values
| HEX | #7F315E |
|---|---|
| RGB | rgb(127, 49, 94) |
| HSL | hsl(325, 44%, 35%) |
| HSV | hsv(325, 61%, 50%) |
| CMYK | cmyk(0%, 61.4%, 26%, 50.2%) |
| CIE-LAB | lab(32.96, 38.91, -9.89) |
| CIE-LCH | lch(32.96, 40.15, 345.74°) |
| OKLab | oklab(43.78% 0.1174 -0.026) |
| OKLCH | oklch(43.78% 0.12 347.5) |
| XYZ | xyz(11.8715, 7.5179, 11.4134) |
| Luminance | 0.0752 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Grape
#6C3461
ΔE00 5.10
Bruise
#7E4071
ΔE00 5.30
Reddish Purple
#910951
ΔE00 6.59
Velvet
#750851
ΔE00 6.69
Dark Magenta
#960056
ΔE00 6.76
Red Violet
#9E0168
ΔE00 7.05
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F315E #317F52
analogous
#79317F #7F315E #7F3137
triadic
#7F315E #5E7F31 #315E7F
tetradic
#7F315E #7F7931 #317F52 #31377F
square
#7F315E #7F7931 #317F52 #31377F
split-complementary
#7F315E #377F31 #317F79
monochromatic
#270F1D #53203D #7F315E #AB427F #C4669C
Accessibility & contrast
On white
8.39
#7F315E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.50
#7F315E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7F315E
8.39:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F315E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7F315E | 1.00 | 8.39 | 2.50 | 8.39 |
| #FFFFFF | 8.39 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.50 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.39 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3A455F
Deuteranopia (green-blind)
#4F525C
Tritanopia (blue-blind)
#872F43
Achromatopsia (no color)
#4D4D4D
Design tokens & code
CSS
--color: #7f315e; /* rgb */ color: rgb(127, 49, 94); /* oklch */ color: oklch(43.8% 0.120 347.5);
Tailwind
colors: {
custom: {
50: '#a76e8b',
500: '#7f315e',
950: '#000000',
},
}SCSS
$custom: #7f315e; $custom-light: #a76e8b; $custom-dark: #000000;
JSON
{
"hex": "#7f315e",
"rgb": {
"r": 127,
"g": 49,
"b": 94
},
"hsl": {
"h": 325.385,
"s": 44.318,
"l": 34.51
},
"oklch": {
"l": 0.43782,
"c": 0.12025,
"h": 347.5
},
"luminance": 0.07517
}Semantic roles & 50–950 ramp
primary
#7F315E
secondary
#60AB80
accent
#D48A54
background
#FAF6F8
surface
#F4ECF0
border
#CEC7CB
text
#10070C
muted
#7F7A7D