#7F1755#7F1755
#7F1755 is a dark, vivid pink. Relative luminance 0.058; OKLCH L 40.7% C 0.150 H 349.7°. Best body text is #FFFFFF at 9.74:1 contrast (WCAG AA passes).
Color values
| HEX | #7F1755 |
|---|---|
| RGB | rgb(127, 23, 85) |
| HSL | hsl(324, 69%, 29%) |
| HSV | hsv(324, 82%, 50%) |
| CMYK | cmyk(0%, 81.9%, 33.1%, 50.2%) |
| CIE-LAB | lab(28.86, 48.08, -10.25) |
| CIE-LCH | lch(28.86, 49.16, 347.96°) |
| OKLab | oklab(40.65% 0.1472 -0.0268) |
| OKLCH | oklch(40.65% 0.15 349.7) |
| XYZ | xyz(10.6991, 5.7820, 9.1452) |
| Luminance | 0.0578 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Velvet
#750851
ΔE00 2.88
Red Purple
#820747
ΔE00 4.00
Reddish Purple
#910951
ΔE00 4.51
Dark Magenta
#960056
ΔE00 4.71
Rich Purple
#720058
ΔE00 5.06
Mulberry
#920A4E
ΔE00 5.37
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F1755 #177F41
analogous
#75177F #7F1755 #7F1721
triadic
#7F1755 #557F17 #17557F
tetradic
#7F1755 #7F7517 #177F41 #17217F
square
#7F1755 #7F7517 #177F41 #17217F
split-complementary
#7F1755 #217F17 #177F75
monochromatic
#1A0511 #4B0E32 #7F1755 #B32078 #DB3698
Accessibility & contrast
On white
9.74
#7F1755 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.16
#7F1755 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7F1755
9.74:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F1755 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7F1755 | 1.00 | 9.74 | 2.16 | 9.74 |
| #FFFFFF | 9.74 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.16 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.74 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2A3857
Deuteranopia (green-blind)
#484B53
Tritanopia (blue-blind)
#890F34
Achromatopsia (no color)
#444444
Design tokens & code
CSS
--color: #7f1755; /* rgb */ color: rgb(127, 23, 85); /* oklch */ color: oklch(40.7% 0.150 349.7);
Tailwind
colors: {
custom: {
50: '#a86185',
500: '#7f1755',
950: '#000000',
},
}SCSS
$custom: #7f1755; $custom-light: #a86185; $custom-dark: #000000;
JSON
{
"hex": "#7f1755",
"rgb": {
"r": 127,
"g": 23,
"b": 85
},
"hsl": {
"h": 324.231,
"s": 69.333,
"l": 29.412
},
"oklch": {
"l": 0.40653,
"c": 0.14961,
"h": 349.7
},
"luminance": 0.05781
}Semantic roles & 50–950 ramp
primary
#7F1755
secondary
#3EB46E
accent
#EC833C
background
#FAF6F8
surface
#F4EBEF
border
#CEC6CA
text
#10060B
muted
#7F7A7C