#7F1865#7F1865
#7F1865 is a dark, vivid pink. Relative luminance 0.061; OKLCH L 41.5% C 0.158 H 340.7°. Best body text is #FFFFFF at 9.46:1 contrast (WCAG AA passes).
Color values
| HEX | #7F1865 |
|---|---|
| RGB | rgb(127, 24, 101) |
| HSL | hsl(315, 68%, 30%) |
| HSV | hsv(315, 81%, 50%) |
| CMYK | cmyk(0%, 81.1%, 20.5%, 50.2%) |
| CIE-LAB | lab(29.68, 49.89, -19.44) |
| CIE-LCH | lch(29.68, 53.55, 338.72°) |
| OKLab | oklab(41.48% 0.1494 -0.0524) |
| OKLCH | oklch(41.48% 0.158 340.7) |
| XYZ | xyz(11.4284, 6.1061, 12.8861) |
| Luminance | 0.0611 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Rich Purple
#720058
ΔE00 3.82
Velvet
#750851
ΔE00 4.29
Darkish Purple
#751973
ΔE00 4.84
Red Violet
#9E0168
ΔE00 6.20
Grape
#6C3461
ΔE00 6.51
Purple
#800080
ΔE00 6.52
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F1865 #187F32
analogous
#66187F #7F1865 #7F1831
triadic
#7F1865 #657F18 #18657F
tetradic
#7F1865 #7F6618 #187F32 #18317F
square
#7F1865 #7F6618 #187F32 #18317F
split-complementary
#7F1865 #317F18 #187F66
monochromatic
#1A0514 #4C0E3C #7F1865 #B2228E #D938B1
Accessibility & contrast
On white
9.46
#7F1865 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.22
#7F1865 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7F1865
9.46:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F1865 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7F1865 | 1.00 | 9.46 | 2.22 | 9.46 |
| #FFFFFF | 9.46 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.22 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.46 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#213B67
Deuteranopia (green-blind)
#434C63
Tritanopia (blue-blind)
#871B3D
Achromatopsia (no color)
#464646
Design tokens & code
CSS
--color: #7f1865; /* rgb */ color: rgb(127, 24, 101); /* oklch */ color: oklch(41.5% 0.158 340.7);
Tailwind
colors: {
custom: {
50: '#a86291',
500: '#7f1865',
950: '#000000',
},
}SCSS
$custom: #7f1865; $custom-light: #a86291; $custom-dark: #000000;
JSON
{
"hex": "#7f1865",
"rgb": {
"r": 127,
"g": 24,
"b": 101
},
"hsl": {
"h": 315.146,
"s": 68.212,
"l": 29.608
},
"oklch": {
"l": 0.41484,
"c": 0.15834,
"h": 340.7
},
"luminance": 0.06105
}Semantic roles & 50–950 ramp
primary
#7F1865
secondary
#3FB35D
accent
#EB693D
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10060C
muted
#7F7A7D