#7F1948#7F1948
#7F1948 is a dark, vivid pink. Relative luminance 0.057; OKLCH L 40.3% C 0.141 H 358.1°. Best body text is #FFFFFF at 9.84:1 contrast (WCAG AA passes).
Color values
| HEX | #7F1948 |
|---|---|
| RGB | rgb(127, 25, 72) |
| HSL | hsl(332, 67%, 30%) |
| HSV | hsv(332, 80%, 50%) |
| CMYK | cmyk(0%, 80.3%, 43.3%, 50.2%) |
| CIE-LAB | lab(28.58, 45.99, -2.03) |
| CIE-LCH | lch(28.58, 46.04, 357.47°) |
| OKLab | oklab(40.29% 0.1414 -0.0048) |
| OKLCH | oklch(40.29% 0.141 358.1) |
| XYZ | xyz(10.2705, 5.6765, 6.6845) |
| Luminance | 0.0568 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Purple
#820747
ΔE00 1.67
Wine (survey)
#80013F
ΔE00 2.67
Reddish Purple
#910951
ΔE00 3.57
Mulberry
#920A4E
ΔE00 3.60
Merlot
#730039
ΔE00 3.99
Dark Magenta
#960056
ΔE00 4.77
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F1948 #197F50
analogous
#7F197B #7F1948 #7F1D19
triadic
#7F1948 #487F19 #19487F
tetradic
#7F1948 #7B7F19 #197F50 #1D197F
square
#7F1948 #7B7F19 #197F50 #1D197F
split-complementary
#7F1948 #197F1D #197B7F
monochromatic
#1A050E #4C0F2B #7F1948 #B22365 #D83A83
Accessibility & contrast
On white
9.84
#7F1948 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.14
#7F1948 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7F1948
9.84:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F1948 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7F1948 | 1.00 | 9.84 | 2.14 | 9.84 |
| #FFFFFF | 9.84 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.14 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.84 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#303749
Deuteranopia (green-blind)
#4C4A46
Tritanopia (blue-blind)
#8A062E
Achromatopsia (no color)
#434343
Design tokens & code
CSS
--color: #7f1948; /* rgb */ color: rgb(127, 25, 72); /* oklch */ color: oklch(40.3% 0.141 358.1);
Tailwind
colors: {
custom: {
50: '#a9617a',
500: '#7f1948',
950: '#000000',
},
}SCSS
$custom: #7f1948; $custom-light: #a9617a; $custom-dark: #000000;
JSON
{
"hex": "#7f1948",
"rgb": {
"r": 127,
"g": 25,
"b": 72
},
"hsl": {
"h": 332.353,
"s": 67.105,
"l": 29.804
},
"oklch": {
"l": 0.40293,
"c": 0.14148,
"h": 358.1
},
"luminance": 0.05675
}Semantic roles & 50–950 ramp
primary
#7F1948
secondary
#41B37E
accent
#EA9B3E
background
#FAF6F7
surface
#F5EBED
border
#CFC6C8
text
#100509
muted
#7F7A7B