#7F1E40#7F1E40
#7F1E40 is a dark, vivid pink. Relative luminance 0.058; OKLCH L 40.5% C 0.133 H 4.4°. Best body text is #FFFFFF at 9.71:1 contrast (WCAG AA passes).
Color values
| HEX | #7F1E40 |
|---|---|
| RGB | rgb(127, 30, 64) |
| HSL | hsl(339, 62%, 31%) |
| HSV | hsv(339, 76%, 50%) |
| CMYK | cmyk(0%, 76.4%, 49.6%, 50.2%) |
| CIE-LAB | lab(28.93, 43.48, 3.82) |
| CIE-LCH | lch(28.93, 43.65, 5.02°) |
| OKLab | oklab(40.47% 0.133 0.0102) |
| OKLCH | oklch(40.47% 0.133 4.4) |
| XYZ | xyz(10.1429, 5.8121, 5.4372) |
| Luminance | 0.0581 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Wine (survey)
#80013F
ΔE00 3.25
Red Purple
#820747
ΔE00 4.20
Merlot
#730039
ΔE00 4.63
Mulberry
#920A4E
ΔE00 4.90
Red Wine
#8C0034
ΔE00 5.00
Purple Red
#990147
ΔE00 5.02
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F1E40 #1E7F5D
analogous
#7F1E70 #7F1E40 #7F2C1E
triadic
#7F1E40 #407F1E #1E407F
tetradic
#7F1E40 #707F1E #1E7F5D #2C1E7F
square
#7F1E40 #707F1E #1E7F5D #2C1E7F
split-complementary
#7F1E40 #1E7F2C #1E707F
monochromatic
#1C070E #4D1227 #7F1E40 #B12A59 #D34476
Accessibility & contrast
On white
9.71
#7F1E40 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.16
#7F1E40 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7F1E40
9.71:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F1E40 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7F1E40 | 1.00 | 9.71 | 2.16 | 9.71 |
| #FFFFFF | 9.71 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.16 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.71 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#353841
Deuteranopia (green-blind)
#4F4B3E
Tritanopia (blue-blind)
#8B0A2C
Achromatopsia (no color)
#444444
Design tokens & code
CSS
--color: #7f1e40; /* rgb */ color: rgb(127, 30, 64); /* oklch */ color: oklch(40.5% 0.133 4.4);
Tailwind
colors: {
custom: {
50: '#a96374',
500: '#7f1e40',
950: '#000000',
},
}SCSS
$custom: #7f1e40; $custom-light: #a96374; $custom-dark: #000000;
JSON
{
"hex": "#7f1e40",
"rgb": {
"r": 127,
"g": 30,
"b": 64
},
"hsl": {
"h": 338.969,
"s": 61.783,
"l": 30.784
},
"oklch": {
"l": 0.40469,
"c": 0.1334,
"h": 4.4
},
"luminance": 0.05811
}Semantic roles & 50–950 ramp
primary
#7F1E40
secondary
#47B28C
accent
#E5AC43
background
#FAF6F7
surface
#F5EBED
border
#CFC6C8
text
#110608
muted
#807A7B