#7F274A#7F274A
#7F274A is a dark, vivid pink. Relative luminance 0.065; OKLCH L 41.8% C 0.125 H 359.7°. Best body text is #FFFFFF at 9.16:1 contrast (WCAG AA passes).
Color values
| HEX | #7F274A |
|---|---|
| RGB | rgb(127, 39, 74) |
| HSL | hsl(336, 53%, 33%) |
| HSV | hsv(336, 69%, 50%) |
| CMYK | cmyk(0%, 69.3%, 41.7%, 50.2%) |
| CIE-LAB | lab(30.54, 40.93, -0.48) |
| CIE-LCH | lch(30.54, 40.93, 359.33°) |
| OKLab | oklab(41.76% 0.1253 -0.0008) |
| OKLCH | oklch(41.76% 0.125 359.7) |
| XYZ | xyz(10.7147, 6.4588, 7.1597) |
| Luminance | 0.0646 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Purple
#820747
ΔE00 4.02
Wine (survey)
#80013F
ΔE00 4.44
Mulberry
#920A4E
ΔE00 4.52
Reddish Purple
#910951
ΔE00 4.74
Berry
#990F4B
ΔE00 5.41
Merlot
#730039
ΔE00 5.70
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F274A #277F5C
analogous
#7F2776 #7F274A #7F3027
triadic
#7F274A #4A7F27 #274A7F
tetradic
#7F274A #767F27 #277F5C #30277F
square
#7F274A #767F27 #277F5C #30277F
split-complementary
#7F274A #277F30 #27767F
monochromatic
#210A13 #50192F #7F274A #AE3565 #CB5584
Accessibility & contrast
On white
9.16
#7F274A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.29
#7F274A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7F274A
9.16:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F274A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7F274A | 1.00 | 9.16 | 2.29 | 9.16 |
| #FFFFFF | 9.16 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.29 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.16 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#383D4B
Deuteranopia (green-blind)
#504E48
Tritanopia (blue-blind)
#8A1D35
Achromatopsia (no color)
#484848
Design tokens & code
CSS
--color: #7f274a; /* rgb */ color: rgb(127, 39, 74); /* oklch */ color: oklch(41.8% 0.125 359.7);
Tailwind
colors: {
custom: {
50: '#a8687c',
500: '#7f274a',
950: '#000000',
},
}SCSS
$custom: #7f274a; $custom-light: #a8687c; $custom-dark: #000000;
JSON
{
"hex": "#7f274a",
"rgb": {
"r": 127,
"g": 39,
"b": 74
},
"hsl": {
"h": 336.136,
"s": 53.012,
"l": 32.549
},
"oklch": {
"l": 0.41758,
"c": 0.12527,
"h": 359.7
},
"luminance": 0.06457
}Semantic roles & 50–950 ramp
primary
#7F274A
secondary
#52B08A
accent
#DCA34B
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#100609
muted
#7F7A7B