#7F285A#7F285A
#7F285A is a dark, vivid pink. Relative luminance 0.068; OKLCH L 42.5% C 0.132 H 348.7°. Best body text is #FFFFFF at 8.92:1 contrast (WCAG AA passes).
Color values
| HEX | #7F285A |
|---|---|
| RGB | rgb(127, 40, 90) |
| HSL | hsl(326, 52%, 33%) |
| HSV | hsv(326, 69%, 50%) |
| CMYK | cmyk(0%, 68.5%, 29.1%, 50.2%) |
| CIE-LAB | lab(31.28, 42.50, -9.85) |
| CIE-LCH | lch(31.28, 43.63, 346.95°) |
| OKLab | oklab(42.49% 0.1291 -0.0258) |
| OKLCH | oklch(42.49% 0.132 348.7) |
| XYZ | xyz(11.3572, 6.7690, 10.3793) |
| Luminance | 0.0677 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Velvet
#750851
ΔE00 5.00
Reddish Purple
#910951
ΔE00 5.34
Red Purple
#820747
ΔE00 5.50
Dark Magenta
#960056
ΔE00 5.56
Grape
#6C3461
ΔE00 5.82
Mulberry
#920A4E
ΔE00 6.05
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F285A #287F4D
analogous
#78287F #7F285A #7F282F
triadic
#7F285A #5A7F28 #285A7F
tetradic
#7F285A #7F7828 #287F4D #282F7F
square
#7F285A #7F7828 #287F4D #282F7F
split-complementary
#7F285A #2F7F28 #287F78
monochromatic
#220B18 #501939 #7F285A #AE377B #CA5799
Accessibility & contrast
On white
8.92
#7F285A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.35
#7F285A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7F285A
8.92:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F285A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7F285A | 1.00 | 8.92 | 2.35 | 8.92 |
| #FFFFFF | 8.92 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.35 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.92 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#33405B
Deuteranopia (green-blind)
#4C4F58
Tritanopia (blue-blind)
#88253D
Achromatopsia (no color)
#4A4A4A
Design tokens & code
CSS
--color: #7f285a; /* rgb */ color: rgb(127, 40, 90); /* oklch */ color: oklch(42.5% 0.132 348.7);
Tailwind
colors: {
custom: {
50: '#a76988',
500: '#7f285a',
950: '#000000',
},
}SCSS
$custom: #7f285a; $custom-light: #a76988; $custom-dark: #000000;
JSON
{
"hex": "#7f285a",
"rgb": {
"r": 127,
"g": 40,
"b": 90
},
"hsl": {
"h": 325.517,
"s": 52.096,
"l": 32.745
},
"oklch": {
"l": 0.42488,
"c": 0.13162,
"h": 348.7
},
"luminance": 0.06768
}Semantic roles & 50–950 ramp
primary
#7F285A
secondary
#54AF7B
accent
#DC894C
background
#FAF6F8
surface
#F4EBEF
border
#CEC6CA
text
#10070B
muted
#7F7A7C