#7F1855#7F1855
#7F1855 is a dark, vivid pink. Relative luminance 0.058; OKLCH L 40.7% C 0.149 H 349.8°. Best body text is #FFFFFF at 9.70:1 contrast (WCAG AA passes).
Color values
| HEX | #7F1855 |
|---|---|
| RGB | rgb(127, 24, 85) |
| HSL | hsl(324, 68%, 30%) |
| HSV | hsv(324, 81%, 50%) |
| CMYK | cmyk(0%, 81.1%, 33.1%, 50.2%) |
| CIE-LAB | lab(28.96, 47.78, -10.09) |
| CIE-LCH | lch(28.96, 48.83, 348.07°) |
| OKLab | oklab(40.73% 0.1463 -0.0264) |
| OKLCH | oklch(40.73% 0.149 349.8) |
| XYZ | xyz(10.7193, 5.8224, 9.1519) |
| Luminance | 0.0582 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Velvet
#750851
ΔE00 2.98
Red Purple
#820747
ΔE00 3.98
Reddish Purple
#910951
ΔE00 4.47
Dark Magenta
#960056
ΔE00 4.70
Rich Purple
#720058
ΔE00 5.17
Mulberry
#920A4E
ΔE00 5.33
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F1855 #187F42
analogous
#76187F #7F1855 #7F1822
triadic
#7F1855 #557F18 #18557F
tetradic
#7F1855 #7F7618 #187F42 #18227F
square
#7F1855 #7F7618 #187F42 #18227F
split-complementary
#7F1855 #227F18 #187F76
monochromatic
#1A0511 #4C0E33 #7F1855 #B22277 #D93898
Accessibility & contrast
On white
9.70
#7F1855 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.16
#7F1855 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7F1855
9.70:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F1855 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7F1855 | 1.00 | 9.70 | 2.16 | 9.70 |
| #FFFFFF | 9.70 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.16 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.70 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2A3957
Deuteranopia (green-blind)
#484B53
Tritanopia (blue-blind)
#891034
Achromatopsia (no color)
#444444
Design tokens & code
CSS
--color: #7f1855; /* rgb */ color: rgb(127, 24, 85); /* oklch */ color: oklch(40.7% 0.149 349.8);
Tailwind
colors: {
custom: {
50: '#a86185',
500: '#7f1855',
950: '#000000',
},
}SCSS
$custom: #7f1855; $custom-light: #a86185; $custom-dark: #000000;
JSON
{
"hex": "#7f1855",
"rgb": {
"r": 127,
"g": 24,
"b": 85
},
"hsl": {
"h": 324.466,
"s": 68.212,
"l": 29.608
},
"oklch": {
"l": 0.40729,
"c": 0.14861,
"h": 349.8
},
"luminance": 0.05821
}Semantic roles & 50–950 ramp
primary
#7F1855
secondary
#3FB36F
accent
#EB843D
background
#FAF6F8
surface
#F4EBEF
border
#CEC6CA
text
#10060B
muted
#7F7A7C