#7F2145#7F2145
#7F2145 is a dark, vivid pink. Relative luminance 0.060; OKLCH L 40.9% C 0.131 H 1.7°. Best body text is #FFFFFF at 9.52:1 contrast (WCAG AA passes).
Color values
| HEX | #7F2145 |
|---|---|
| RGB | rgb(127, 33, 69) |
| HSL | hsl(337, 59%, 31%) |
| HSV | hsv(337, 74%, 50%) |
| CMYK | cmyk(0%, 74%, 45.7%, 50.2%) |
| CIE-LAB | lab(29.49, 42.85, 1.29) |
| CIE-LCH | lch(29.49, 42.87, 1.73°) |
| OKLab | oklab(40.93% 0.1313 0.0038) |
| OKLCH | oklch(40.93% 0.131 1.7) |
| XYZ | xyz(10.3712, 6.0307, 6.2470) |
| Luminance | 0.0603 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Wine (survey)
#80013F
ΔE00 3.32
Red Purple
#820747
ΔE00 3.50
Mulberry
#920A4E
ΔE00 4.30
Reddish Purple
#910951
ΔE00 4.71
Merlot
#730039
ΔE00 4.72
Berry
#990F4B
ΔE00 5.00
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F2145 #217F5B
analogous
#7F2174 #7F2145 #7F2C21
triadic
#7F2145 #457F21 #21457F
tetradic
#7F2145 #747F21 #217F5B #2C217F
square
#7F2145 #747F21 #217F5B #2C217F
split-complementary
#7F2145 #217F2C #21747F
monochromatic
#1E0810 #4E142B #7F2145 #B02E5F #D04A7E
Accessibility & contrast
On white
9.52
#7F2145 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.21
#7F2145 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7F2145
9.52:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F2145 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7F2145 | 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)
#353A46
Deuteranopia (green-blind)
#4F4C43
Tritanopia (blue-blind)
#8A1330
Achromatopsia (no color)
#454545
Design tokens & code
CSS
--color: #7f2145; /* rgb */ color: rgb(127, 33, 69); /* oklch */ color: oklch(40.9% 0.131 1.7);
Tailwind
colors: {
custom: {
50: '#a96478',
500: '#7f2145',
950: '#000000',
},
}SCSS
$custom: #7f2145; $custom-light: #a96478; $custom-dark: #000000;
JSON
{
"hex": "#7f2145",
"rgb": {
"r": 127,
"g": 33,
"b": 69
},
"hsl": {
"h": 337.021,
"s": 58.75,
"l": 31.373
},
"oklch": {
"l": 0.40929,
"c": 0.13135,
"h": 1.7
},
"luminance": 0.06029
}Semantic roles & 50–950 ramp
primary
#7F2145
secondary
#4AB28A
accent
#E2A646
background
#FAF6F7
surface
#F4EBED
border
#CEC6C8
text
#100609
muted
#7F7A7B