#7F1748#7F1748
#7F1748 is a dark, vivid pink. Relative luminance 0.056; OKLCH L 40.1% C 0.143 H 357.8°. Best body text is #FFFFFF at 9.91:1 contrast (WCAG AA passes).
Color values
| HEX | #7F1748 |
|---|---|
| RGB | rgb(127, 23, 72) |
| HSL | hsl(332, 69%, 29%) |
| HSV | hsv(332, 82%, 50%) |
| CMYK | cmyk(0%, 81.9%, 43.3%, 50.2%) |
| CIE-LAB | lab(28.36, 46.61, -2.35) |
| CIE-LCH | lch(28.36, 46.67, 357.11°) |
| OKLab | oklab(40.13% 0.1434 -0.0056) |
| OKLCH | oklch(40.13% 0.143 357.8) |
| XYZ | xyz(10.2293, 5.5940, 6.6707) |
| Luminance | 0.0559 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Purple
#820747
ΔE00 1.42
Wine (survey)
#80013F
ΔE00 2.58
Reddish Purple
#910951
ΔE00 3.50
Mulberry
#920A4E
ΔE00 3.59
Merlot
#730039
ΔE00 3.88
Dark Magenta
#960056
ΔE00 4.68
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F1748 #177F4E
analogous
#7F177C #7F1748 #7F1A17
triadic
#7F1748 #487F17 #17487F
tetradic
#7F1748 #7C7F17 #177F4E #1A177F
square
#7F1748 #7C7F17 #177F4E #1A177F
split-complementary
#7F1748 #177F1A #177C7F
monochromatic
#1A050F #4B0E2B #7F1748 #B32065 #DB3683
Accessibility & contrast
On white
9.91
#7F1748 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.12
#7F1748 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7F1748
9.91:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F1748 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7F1748 | 1.00 | 9.91 | 2.12 | 9.91 |
| #FFFFFF | 9.91 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.12 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.91 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2F3649
Deuteranopia (green-blind)
#4B4A46
Tritanopia (blue-blind)
#8A032D
Achromatopsia (no color)
#434343
Design tokens & code
CSS
--color: #7f1748; /* rgb */ color: rgb(127, 23, 72); /* oklch */ color: oklch(40.1% 0.143 357.8);
Tailwind
colors: {
custom: {
50: '#a9617a',
500: '#7f1748',
950: '#000000',
},
}SCSS
$custom: #7f1748; $custom-light: #a9617a; $custom-dark: #000000;
JSON
{
"hex": "#7f1748",
"rgb": {
"r": 127,
"g": 23,
"b": 72
},
"hsl": {
"h": 331.731,
"s": 69.333,
"l": 29.412
},
"oklch": {
"l": 0.40134,
"c": 0.14348,
"h": 357.8
},
"luminance": 0.05593
}Semantic roles & 50–950 ramp
primary
#7F1748
secondary
#3EB47C
accent
#EC993C
background
#FAF6F7
surface
#F5EBED
border
#CFC6C8
text
#110509
muted
#807A7B