#7F2240#7F2240
#7F2240 is a dark, vivid pink. Relative luminance 0.060; OKLCH L 40.9% C 0.129 H 5.4°. Best body text is #FFFFFF at 9.52:1 contrast (WCAG AA passes).
Color values
| HEX | #7F2240 |
|---|---|
| RGB | rgb(127, 34, 64) |
| HSL | hsl(341, 58%, 32%) |
| HSV | hsv(341, 73%, 50%) |
| CMYK | cmyk(0%, 73.2%, 49.6%, 50.2%) |
| CIE-LAB | lab(29.48, 41.96, 4.61) |
| CIE-LCH | lch(29.48, 42.21, 6.27°) |
| OKLab | oklab(40.87% 0.1281 0.0122) |
| OKLCH | oklch(40.87% 0.129 5.4) |
| XYZ | xyz(10.2507, 6.0276, 5.4731) |
| Luminance | 0.0603 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Wine (survey)
#80013F
ΔE00 4.07
Red Wine
#8C0034
ΔE00 4.97
Red Purple
#820747
ΔE00 4.98
Berry
#990F4B
ΔE00 5.28
Purple Red
#990147
ΔE00 5.29
Bordeaux
#7B002C
ΔE00 5.32
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F2240 #227F61
analogous
#7F226F #7F2240 #7F3322
triadic
#7F2240 #407F22 #22407F
tetradic
#7F2240 #6F7F22 #227F61 #33227F
square
#7F2240 #6F7F22 #227F61 #33227F
split-complementary
#7F2240 #227F33 #226F7F
monochromatic
#1E080F #4F1528 #7F2240 #AF2F58 #CF4C76
Accessibility & contrast
On white
9.52
#7F2240 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.21
#7F2240 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7F2240
9.52:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F2240 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7F2240 | 1.00 | 9.52 | 2.21 | 9.52 |
| #FFFFFF | 9.52 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.21 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.52 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#373A41
Deuteranopia (green-blind)
#504C3E
Tritanopia (blue-blind)
#8A112E
Achromatopsia (no color)
#454545
Design tokens & code
CSS
--color: #7f2240; /* rgb */ color: rgb(127, 34, 64); /* oklch */ color: oklch(40.9% 0.129 5.4);
Tailwind
colors: {
custom: {
50: '#a96574',
500: '#7f2240',
950: '#000000',
},
}SCSS
$custom: #7f2240; $custom-light: #a96574; $custom-dark: #000000;
JSON
{
"hex": "#7f2240",
"rgb": {
"r": 127,
"g": 34,
"b": 64
},
"hsl": {
"h": 340.645,
"s": 57.764,
"l": 31.569
},
"oklch": {
"l": 0.40874,
"c": 0.12869,
"h": 5.4
},
"luminance": 0.06026
}Semantic roles & 50–950 ramp
primary
#7F2240
secondary
#4BB291
accent
#E1AF47
background
#FAF6F7
surface
#F5EBED
border
#CFC6C8
text
#110608
muted
#807A7B