#7F3155#7F3155
#7F3155 is a dark, moderate pink. Relative luminance 0.074; OKLCH L 43.4% C 0.115 H 354.2°. Best body text is #FFFFFF at 8.49:1 contrast (WCAG AA passes).
Color values
| HEX | #7F3155 |
|---|---|
| RGB | rgb(127, 49, 85) |
| HSL | hsl(332, 44%, 35%) |
| HSV | hsv(332, 61%, 50%) |
| CMYK | cmyk(0%, 61.4%, 33.1%, 50.2%) |
| CIE-LAB | lab(32.63, 37.64, -4.58) |
| CIE-LCH | lch(32.63, 37.92, 353.06°) |
| OKLab | oklab(43.43% 0.1146 -0.0116) |
| OKLCH | oklch(43.43% 0.115 354.2) |
| XYZ | xyz(11.4910, 7.3657, 9.4091) |
| Luminance | 0.0736 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Reddish Purple
#910951
ΔE00 5.85
Red Purple
#820747
ΔE00 5.99
Mulberry
#920A4E
ΔE00 6.05
Dark Magenta
#960056
ΔE00 6.49
Dark Fuchsia
#9D0759
ΔE00 6.87
Grape
#6C3461
ΔE00 7.10
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F3155 #317F5B
analogous
#7F317C #7F3155 #7F3431
triadic
#7F3155 #557F31 #31557F
tetradic
#7F3155 #7C7F31 #317F5B #34317F
square
#7F3155 #7C7F31 #317F5B #34317F
split-complementary
#7F3155 #317F34 #317C7F
monochromatic
#270F1A #532037 #7F3155 #AB4273 #C46692
Accessibility & contrast
On white
8.49
#7F3155 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.47
#7F3155 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7F3155
8.49:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F3155 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7F3155 | 1.00 | 8.49 | 2.47 | 8.49 |
| #FFFFFF | 8.49 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.47 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.49 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3D4456
Deuteranopia (green-blind)
#525253
Tritanopia (blue-blind)
#882C3F
Achromatopsia (no color)
#4D4D4D
Design tokens & code
CSS
--color: #7f3155; /* rgb */ color: rgb(127, 49, 85); /* oklch */ color: oklch(43.4% 0.115 354.2);
Tailwind
colors: {
custom: {
50: '#a76d84',
500: '#7f3155',
950: '#000000',
},
}SCSS
$custom: #7f3155; $custom-light: #a76d84; $custom-dark: #000000;
JSON
{
"hex": "#7f3155",
"rgb": {
"r": 127,
"g": 49,
"b": 85
},
"hsl": {
"h": 332.308,
"s": 44.318,
"l": 34.51
},
"oklch": {
"l": 0.43425,
"c": 0.11515,
"h": 354.2
},
"luminance": 0.07365
}Semantic roles & 50–950 ramp
primary
#7F3155
secondary
#60AB89
accent
#D49954
background
#FAF6F8
surface
#F4ECEF
border
#CEC7CA
text
#10070B
muted
#7F7A7C