#7F1040#7F1040
#7F1040 is a dark, vivid pink. Relative luminance 0.053; OKLCH L 39.4% C 0.147 H 1.9°. Best body text is #FFFFFF at 10.24:1 contrast (WCAG AA passes).
Color values
| HEX | #7F1040 |
|---|---|
| RGB | rgb(127, 16, 64) |
| HSL | hsl(334, 78%, 28%) |
| HSV | hsv(334, 87%, 50%) |
| CMYK | cmyk(0%, 87.4%, 49.6%, 50.2%) |
| CIE-LAB | lab(27.45, 47.70, 1.68) |
| CIE-LCH | lch(27.45, 47.73, 2.02°) |
| OKLab | oklab(39.38% 0.1466 0.0048) |
| OKLCH | oklch(39.38% 0.147 1.9) |
| XYZ | xyz(9.8640, 5.2542, 5.3442) |
| Luminance | 0.0525 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Wine (survey)
#80013F
ΔE00 1.14
Red Purple
#820747
ΔE00 2.36
Merlot
#730039
ΔE00 2.99
Mulberry
#920A4E
ΔE00 4.10
Reddish Purple
#910951
ΔE00 4.51
Purple Red
#990147
ΔE00 4.96
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F1040 #107F4F
analogous
#7F1077 #7F1040 #7F1710
triadic
#7F1040 #407F10 #10407F
tetradic
#7F1040 #777F10 #107F4F #17107F
square
#7F1040 #777F10 #107F4F #17107F
split-complementary
#7F1040 #107F17 #10777F
monochromatic
#1B030E #490925 #7F1040 #B5175B #E42678
Accessibility & contrast
On white
10.24
#7F1040 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.05
#7F1040 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7F1040
10.24:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F1040 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7F1040 | 1.00 | 10.24 | 2.05 | 10.24 |
| #FFFFFF | 10.24 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.05 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.24 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2E3341
Deuteranopia (green-blind)
#4B483D
Tritanopia (blue-blind)
#8B0027
Achromatopsia (no color)
#414141
Design tokens & code
CSS
--color: #7f1040; /* rgb */ color: rgb(127, 16, 64); /* oklch */ color: oklch(39.4% 0.147 1.9);
Tailwind
colors: {
custom: {
50: '#aa5e74',
500: '#7f1040',
950: '#000000',
},
}SCSS
$custom: #7f1040; $custom-light: #aa5e74; $custom-dark: #000000;
JSON
{
"hex": "#7f1040",
"rgb": {
"r": 127,
"g": 16,
"b": 64
},
"hsl": {
"h": 334.054,
"s": 77.622,
"l": 28.039
},
"oklch": {
"l": 0.39377,
"c": 0.14667,
"h": 1.9
},
"luminance": 0.05253
}Semantic roles & 50–950 ramp
primary
#7F1040
secondary
#36B57E
accent
#F4A134
background
#FBF5F7
surface
#F6EAED
border
#D0C6C8
text
#110508
muted
#80797B