#7F2F5D#7F2F5D
#7F2F5D is a dark, vivid pink. Relative luminance 0.073; OKLCH L 43.5% C 0.123 H 347.8°. Best body text is #FFFFFF at 8.51:1 contrast (WCAG AA passes).
Color values
| HEX | #7F2F5D |
|---|---|
| RGB | rgb(127, 47, 93) |
| HSL | hsl(326, 46%, 34%) |
| HSV | hsv(326, 63%, 50%) |
| CMYK | cmyk(0%, 63%, 26.8%, 50.2%) |
| CIE-LAB | lab(32.56, 39.73, -9.85) |
| CIE-LCH | lch(32.56, 40.93, 346.08°) |
| OKLab | oklab(43.48% 0.1201 -0.0259) |
| OKLCH | oklch(43.48% 0.123 347.8) |
| XYZ | xyz(11.7451, 7.3365, 11.1513) |
| Luminance | 0.0733 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Grape
#6C3461
ΔE00 5.23
Bruise
#7E4071
ΔE00 5.65
Reddish Purple
#910951
ΔE00 6.26
Velvet
#750851
ΔE00 6.29
Dark Magenta
#960056
ΔE00 6.44
Red Purple
#820747
ΔE00 6.66
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F2F5D #2F7F51
analogous
#792F7F #7F2F5D #7F2F35
triadic
#7F2F5D #5D7F2F #2F5D7F
tetradic
#7F2F5D #7F792F #2F7F51 #2F357F
square
#7F2F5D #7F792F #2F7F51 #2F357F
split-complementary
#7F2F5D #357F2F #2F7F79
monochromatic
#260E1C #521E3C #7F2F5D #AC407E #C5639C
Accessibility & contrast
On white
8.51
#7F2F5D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.47
#7F2F5D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7F2F5D
8.51:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F2F5D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7F2F5D | 1.00 | 8.51 | 2.47 | 8.51 |
| #FFFFFF | 8.51 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.47 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.51 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#38445E
Deuteranopia (green-blind)
#4F525B
Tritanopia (blue-blind)
#882D42
Achromatopsia (no color)
#4D4D4D
Design tokens & code
CSS
--color: #7f2f5d; /* rgb */ color: rgb(127, 47, 93); /* oklch */ color: oklch(43.5% 0.123 347.8);
Tailwind
colors: {
custom: {
50: '#a76c8b',
500: '#7f2f5d',
950: '#000000',
},
}SCSS
$custom: #7f2f5d; $custom-light: #a76c8b; $custom-dark: #000000;
JSON
{
"hex": "#7f2f5d",
"rgb": {
"r": 127,
"g": 47,
"b": 93
},
"hsl": {
"h": 325.5,
"s": 45.977,
"l": 34.118
},
"oklch": {
"l": 0.43475,
"c": 0.12283,
"h": 347.8
},
"luminance": 0.07335
}Semantic roles & 50–950 ramp
primary
#7F2F5D
secondary
#5EAC7F
accent
#D68A52
background
#FAF6F8
surface
#F4ECF0
border
#CEC7CB
text
#10070C
muted
#7F7A7D