#7F2F5F#7F2F5F
#7F2F5F is a dark, vivid pink. Relative luminance 0.074; OKLCH L 43.6% C 0.124 H 346.4°. Best body text is #FFFFFF at 8.49:1 contrast (WCAG AA passes).
Color values
| HEX | #7F2F5F |
|---|---|
| RGB | rgb(127, 47, 95) |
| HSL | hsl(324, 46%, 34%) |
| HSV | hsv(324, 63%, 50%) |
| CMYK | cmyk(0%, 63%, 25.2%, 50.2%) |
| CIE-LAB | lab(32.64, 40.02, -11.02) |
| CIE-LCH | lch(32.64, 41.51, 344.61°) |
| OKLab | oklab(43.56% 0.1206 -0.0291) |
| OKLCH | oklch(43.56% 0.124 346.4) |
| XYZ | xyz(11.8349, 7.3724, 11.6240) |
| Luminance | 0.0737 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Grape
#6C3461
ΔE00 4.91
Bruise
#7E4071
ΔE00 5.26
Velvet
#750851
ΔE00 6.23
Reddish Purple
#910951
ΔE00 6.56
Dark Magenta
#960056
ΔE00 6.65
Red Violet
#9E0168
ΔE00 6.72
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F2F5F #2F7F4F
analogous
#772F7F #7F2F5F #7F2F37
triadic
#7F2F5F #5F7F2F #2F5F7F
tetradic
#7F2F5F #7F772F #2F7F4F #2F377F
square
#7F2F5F #7F772F #2F7F4F #2F377F
split-complementary
#7F2F5F #377F2F #2F7F77
monochromatic
#260E1C #521E3E #7F2F5F #AC4080 #C5639E
Accessibility & contrast
On white
8.49
#7F2F5F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.47
#7F2F5F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7F2F5F
8.49:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F2F5F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7F2F5F | 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)
#374460
Deuteranopia (green-blind)
#4E525D
Tritanopia (blue-blind)
#872D43
Achromatopsia (no color)
#4D4D4D
Design tokens & code
CSS
--color: #7f2f5f; /* rgb */ color: rgb(127, 47, 95); /* oklch */ color: oklch(43.6% 0.124 346.4);
Tailwind
colors: {
custom: {
50: '#a76c8c',
500: '#7f2f5f',
950: '#000000',
},
}SCSS
$custom: #7f2f5f; $custom-light: #a76c8c; $custom-dark: #000000;
JSON
{
"hex": "#7f2f5f",
"rgb": {
"r": 127,
"g": 47,
"b": 95
},
"hsl": {
"h": 324,
"s": 45.977,
"l": 34.118
},
"oklch": {
"l": 0.43559,
"c": 0.12409,
"h": 346.4
},
"luminance": 0.07371
}Semantic roles & 50–950 ramp
primary
#7F2F5F
secondary
#5EAC7D
accent
#D68752
background
#FAF6F8
surface
#F4ECF0
border
#CEC7CB
text
#10070C
muted
#7F7A7D