#7F295C#7F295C
#7F295C is a dark, vivid pink. Relative luminance 0.069; OKLCH L 42.7% C 0.131 H 347.5°. Best body text is #FFFFFF at 8.85:1 contrast (WCAG AA passes).
Color values
| HEX | #7F295C |
|---|---|
| RGB | rgb(127, 41, 92) |
| HSL | hsl(324, 51%, 33%) |
| HSV | hsv(324, 68%, 50%) |
| CMYK | cmyk(0%, 67.7%, 27.6%, 50.2%) |
| CIE-LAB | lab(31.51, 42.34, -10.79) |
| CIE-LCH | lch(31.51, 43.69, 345.70°) |
| OKLab | oklab(42.69% 0.1283 -0.0284) |
| OKLCH | oklch(42.69% 0.131 347.5) |
| XYZ | xyz(11.4776, 6.8718, 10.8451) |
| Luminance | 0.0687 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Velvet
#750851
ΔE00 5.11
Grape
#6C3461
ΔE00 5.47
Reddish Purple
#910951
ΔE00 5.71
Dark Magenta
#960056
ΔE00 5.84
Red Purple
#820747
ΔE00 5.97
Red Violet
#9E0168
ΔE00 6.24
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F295C #297F4C
analogous
#77297F #7F295C #7F2931
triadic
#7F295C #5C7F29 #295C7F
tetradic
#7F295C #7F7729 #297F4C #29317F
square
#7F295C #7F7729 #297F4C #29317F
split-complementary
#7F295C #317F29 #297F77
monochromatic
#220B19 #511A3A #7F295C #AD387E #C9599C
Accessibility & contrast
On white
8.85
#7F295C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.37
#7F295C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7F295C
8.85:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F295C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7F295C | 1.00 | 8.85 | 2.37 | 8.85 |
| #FFFFFF | 8.85 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.37 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.85 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#34415E
Deuteranopia (green-blind)
#4C505A
Tritanopia (blue-blind)
#88263E
Achromatopsia (no color)
#4A4A4A
Design tokens & code
CSS
--color: #7f295c; /* rgb */ color: rgb(127, 41, 92); /* oklch */ color: oklch(42.7% 0.131 347.5);
Tailwind
colors: {
custom: {
50: '#a7698a',
500: '#7f295c',
950: '#000000',
},
}SCSS
$custom: #7f295c; $custom-light: #a7698a; $custom-dark: #000000;
JSON
{
"hex": "#7f295c",
"rgb": {
"r": 127,
"g": 41,
"b": 92
},
"hsl": {
"h": 324.419,
"s": 51.19,
"l": 32.941
},
"oklch": {
"l": 0.42689,
"c": 0.13137,
"h": 347.5
},
"luminance": 0.06871
}Semantic roles & 50–950 ramp
primary
#7F295C
secondary
#55AF7A
accent
#DB874D
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10070B
muted
#7F7A7C