#7F2242#7F2242
#7F2242 is a dark, vivid pink. Relative luminance 0.060; OKLCH L 40.9% C 0.129 H 4.0°. Best body text is #FFFFFF at 9.50:1 contrast (WCAG AA passes).
Color values
| HEX | #7F2242 |
|---|---|
| RGB | rgb(127, 34, 66) |
| HSL | hsl(339, 58%, 32%) |
| HSV | hsv(339, 73%, 50%) |
| CMYK | cmyk(0%, 73.2%, 48%, 50.2%) |
| CIE-LAB | lab(29.54, 42.15, 3.36) |
| CIE-LCH | lch(29.54, 42.29, 4.56°) |
| OKLab | oklab(40.94% 0.1289 0.0091) |
| OKLCH | oklch(40.94% 0.129 4) |
| XYZ | xyz(10.3086, 6.0508, 5.7783) |
| Luminance | 0.0605 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Wine (survey)
#80013F
ΔE00 3.75
Red Purple
#820747
ΔE00 4.42
Mulberry
#920A4E
ΔE00 4.96
Merlot
#730039
ΔE00 5.09
Berry
#990F4B
ΔE00 5.11
Purple Red
#990147
ΔE00 5.20
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F2242 #227F5F
analogous
#7F2271 #7F2242 #7F3122
triadic
#7F2242 #427F22 #22427F
tetradic
#7F2242 #717F22 #227F5F #31227F
square
#7F2242 #717F22 #227F5F #31227F
split-complementary
#7F2242 #227F31 #22717F
monochromatic
#1E0810 #4F1529 #7F2242 #AF2F5B #CF4C79
Accessibility & contrast
On white
9.50
#7F2242 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.21
#7F2242 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7F2242
9.50:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F2242 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7F2242 | 1.00 | 9.50 | 2.21 | 9.50 |
| #FFFFFF | 9.50 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.21 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.50 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#373A43
Deuteranopia (green-blind)
#504C40
Tritanopia (blue-blind)
#8A132F
Achromatopsia (no color)
#464646
Design tokens & code
CSS
--color: #7f2242; /* rgb */ color: rgb(127, 34, 66); /* oklch */ color: oklch(40.9% 0.129 4.0);
Tailwind
colors: {
custom: {
50: '#a96576',
500: '#7f2242',
950: '#000000',
},
}SCSS
$custom: #7f2242; $custom-light: #a96576; $custom-dark: #000000;
JSON
{
"hex": "#7f2242",
"rgb": {
"r": 127,
"g": 34,
"b": 66
},
"hsl": {
"h": 339.355,
"s": 57.764,
"l": 31.569
},
"oklch": {
"l": 0.40936,
"c": 0.12921,
"h": 4
},
"luminance": 0.06049
}Semantic roles & 50–950 ramp
primary
#7F2242
secondary
#4BB28E
accent
#E1AC47
background
#FAF6F7
surface
#F4EBED
border
#CEC6C8
text
#100608
muted
#7F7A7B