#7F1863#7F1863
#7F1863 is a dark, vivid pink. Relative luminance 0.061; OKLCH L 41.4% C 0.157 H 341.7°. Best body text is #FFFFFF at 9.49:1 contrast (WCAG AA passes).
Color values
| HEX | #7F1863 |
|---|---|
| RGB | rgb(127, 24, 99) |
| HSL | hsl(316, 68%, 30%) |
| HSV | hsv(316, 81%, 50%) |
| CMYK | cmyk(0%, 81.1%, 22%, 50.2%) |
| CIE-LAB | lab(29.58, 49.61, -18.29) |
| CIE-LCH | lch(29.58, 52.88, 339.76°) |
| OKLab | oklab(41.38% 0.1491 -0.0492) |
| OKLCH | oklch(41.38% 0.157 341.7) |
| XYZ | xyz(11.3316, 6.0673, 12.3763) |
| Luminance | 0.0607 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Rich Purple
#720058
ΔE00 3.75
Velvet
#750851
ΔE00 3.92
Darkish Purple
#751973
ΔE00 5.31
Red Violet
#9E0168
ΔE00 6.03
Grape
#6C3461
ΔE00 6.48
Grape Purple
#5D1451
ΔE00 6.90
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F1863 #187F34
analogous
#68187F #7F1863 #7F182F
triadic
#7F1863 #637F18 #18637F
tetradic
#7F1863 #7F6818 #187F34 #182F7F
square
#7F1863 #7F6818 #187F34 #182F7F
split-complementary
#7F1863 #2F7F18 #187F68
monochromatic
#1A0514 #4C0E3B #7F1863 #B2228B #D938AE
Accessibility & contrast
On white
9.49
#7F1863 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.21
#7F1863 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7F1863
9.49:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F1863 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7F1863 | 1.00 | 9.49 | 2.21 | 9.49 |
| #FFFFFF | 9.49 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.21 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.49 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#223B65
Deuteranopia (green-blind)
#444C61
Tritanopia (blue-blind)
#871A3C
Achromatopsia (no color)
#464646
Design tokens & code
CSS
--color: #7f1863; /* rgb */ color: rgb(127, 24, 99); /* oklch */ color: oklch(41.4% 0.157 341.7);
Tailwind
colors: {
custom: {
50: '#a8628f',
500: '#7f1863',
950: '#000000',
},
}SCSS
$custom: #7f1863; $custom-light: #a8628f; $custom-dark: #000000;
JSON
{
"hex": "#7f1863",
"rgb": {
"r": 127,
"g": 24,
"b": 99
},
"hsl": {
"h": 316.311,
"s": 68.212,
"l": 29.608
},
"oklch": {
"l": 0.41382,
"c": 0.15702,
"h": 341.7
},
"luminance": 0.06066
}Semantic roles & 50–950 ramp
primary
#7F1863
secondary
#3FB35F
accent
#EB6C3D
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10060C
muted
#7F7A7D