#7F1854#7F1854
#7F1854 is a dark, vivid pink. Relative luminance 0.058; OKLCH L 40.7% C 0.148 H 350.4°. Best body text is #FFFFFF at 9.72:1 contrast (WCAG AA passes).
Color values
| HEX | #7F1854 |
|---|---|
| RGB | rgb(127, 24, 84) |
| HSL | hsl(325, 68%, 30%) |
| HSV | hsv(325, 81%, 50%) |
| CMYK | cmyk(0%, 81.1%, 33.9%, 50.2%) |
| CIE-LAB | lab(28.92, 47.66, -9.49) |
| CIE-LCH | lch(28.92, 48.59, 348.73°) |
| OKLab | oklab(40.69% 0.146 -0.0247) |
| OKLCH | oklch(40.69% 0.148 350.4) |
| XYZ | xyz(10.6799, 5.8067, 8.9442) |
| Luminance | 0.0580 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Velvet
#750851
ΔE00 3.10
Red Purple
#820747
ΔE00 3.72
Reddish Purple
#910951
ΔE00 4.30
Dark Magenta
#960056
ΔE00 4.59
Mulberry
#920A4E
ΔE00 5.13
Rich Purple
#720058
ΔE00 5.37
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F1854 #187F43
analogous
#77187F #7F1854 #7F1820
triadic
#7F1854 #547F18 #18547F
tetradic
#7F1854 #7F7718 #187F43 #18207F
square
#7F1854 #7F7718 #187F43 #18207F
split-complementary
#7F1854 #207F18 #187F77
monochromatic
#1A0511 #4C0E32 #7F1854 #B22276 #D93896
Accessibility & contrast
On white
9.72
#7F1854 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.16
#7F1854 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7F1854
9.72:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F1854 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7F1854 | 1.00 | 9.72 | 2.16 | 9.72 |
| #FFFFFF | 9.72 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.16 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.72 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2B3956
Deuteranopia (green-blind)
#484B52
Tritanopia (blue-blind)
#890F34
Achromatopsia (no color)
#444444
Design tokens & code
CSS
--color: #7f1854; /* rgb */ color: rgb(127, 24, 84); /* oklch */ color: oklch(40.7% 0.148 350.4);
Tailwind
colors: {
custom: {
50: '#a86184',
500: '#7f1854',
950: '#000000',
},
}SCSS
$custom: #7f1854; $custom-light: #a86184; $custom-dark: #000000;
JSON
{
"hex": "#7f1854",
"rgb": {
"r": 127,
"g": 24,
"b": 84
},
"hsl": {
"h": 325.049,
"s": 68.212,
"l": 29.608
},
"oklch": {
"l": 0.40686,
"c": 0.14807,
"h": 350.4
},
"luminance": 0.05805
}Semantic roles & 50–950 ramp
primary
#7F1854
secondary
#3FB370
accent
#EB863D
background
#FAF6F8
surface
#F4EBEF
border
#CEC6CA
text
#10060A
muted
#7F7A7C