#7F2256#7F2256
#7F2256 is a dark, vivid pink. Relative luminance 0.063; OKLCH L 41.7% C 0.138 H 350.4°. Best body text is #FFFFFF at 9.27:1 contrast (WCAG AA passes).
Color values
| HEX | #7F2256 |
|---|---|
| RGB | rgb(127, 34, 86) |
| HSL | hsl(326, 58%, 32%) |
| HSV | hsv(326, 73%, 50%) |
| CMYK | cmyk(0%, 73.2%, 32.3%, 50.2%) |
| CIE-LAB | lab(30.23, 44.44, -8.83) |
| CIE-LCH | lch(30.23, 45.31, 348.76°) |
| OKLab | oklab(41.67% 0.1356 -0.023) |
| OKLCH | oklch(41.67% 0.138 350.4) |
| XYZ | xyz(11.0047, 6.3292, 9.4444) |
| Luminance | 0.0633 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Velvet
#750851
ΔE00 4.25
Red Purple
#820747
ΔE00 4.34
Reddish Purple
#910951
ΔE00 4.53
Dark Magenta
#960056
ΔE00 4.88
Mulberry
#920A4E
ΔE00 5.25
Dark Fuchsia
#9D0759
ΔE00 5.94
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F2256 #227F4B
analogous
#7A227F #7F2256 #7F2227
triadic
#7F2256 #567F22 #22567F
tetradic
#7F2256 #7F7A22 #227F4B #22277F
square
#7F2256 #7F7A22 #227F4B #22277F
split-complementary
#7F2256 #277F22 #227F7A
monochromatic
#1E0815 #4F1535 #7F2256 #AF2F77 #CF4C95
Accessibility & contrast
On white
9.27
#7F2256 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.27
#7F2256 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7F2256
9.27:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F2256 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7F2256 | 1.00 | 9.27 | 2.27 | 9.27 |
| #FFFFFF | 9.27 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.27 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.27 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#303D57
Deuteranopia (green-blind)
#4B4D54
Tritanopia (blue-blind)
#891D39
Achromatopsia (no color)
#474747
Design tokens & code
CSS
--color: #7f2256; /* rgb */ color: rgb(127, 34, 86); /* oklch */ color: oklch(41.7% 0.138 350.4);
Tailwind
colors: {
custom: {
50: '#a86685',
500: '#7f2256',
950: '#000000',
},
}SCSS
$custom: #7f2256; $custom-light: #a86685; $custom-dark: #000000;
JSON
{
"hex": "#7f2256",
"rgb": {
"r": 127,
"g": 34,
"b": 86
},
"hsl": {
"h": 326.452,
"s": 57.764,
"l": 31.569
},
"oklch": {
"l": 0.41668,
"c": 0.13756,
"h": 350.4
},
"luminance": 0.06328
}Semantic roles & 50–950 ramp
primary
#7F2256
secondary
#4BB278
accent
#E18B47
background
#FAF6F8
surface
#F4EBEF
border
#CEC6CA
text
#10060B
muted
#7F7A7C