#7F155D#7F155D
#7F155D is a dark, vivid pink. Relative luminance 0.058; OKLCH L 40.9% C 0.156 H 344.9°. Best body text is #FFFFFF at 9.69:1 contrast (WCAG AA passes).
Color values
| HEX | #7F155D |
|---|---|
| RGB | rgb(127, 21, 93) |
| HSL | hsl(319, 72%, 29%) |
| HSV | hsv(319, 83%, 50%) |
| CMYK | cmyk(0%, 83.5%, 26.8%, 50.2%) |
| CIE-LAB | lab(29.00, 49.65, -15.28) |
| CIE-LCH | lch(29.00, 51.95, 342.90°) |
| OKLab | oklab(40.87% 0.1507 -0.0407) |
| OKLCH | oklch(40.87% 0.156 344.9) |
| XYZ | xyz(10.9968, 5.8399, 10.9019) |
| Luminance | 0.0584 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Velvet
#750851
ΔE00 2.87
Rich Purple
#720058
ΔE00 3.69
Red Violet
#9E0168
ΔE00 5.80
Dark Magenta
#960056
ΔE00 5.98
Red Purple
#820747
ΔE00 6.13
Reddish Purple
#910951
ΔE00 6.21
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F155D #157F37
analogous
#6C157F #7F155D #7F1528
triadic
#7F155D #5D7F15 #155D7F
tetradic
#7F155D #7F6C15 #157F37 #15287F
square
#7F155D #7F6C15 #157F37 #15287F
split-complementary
#7F155D #287F15 #157F6C
monochromatic
#1A0413 #4A0C37 #7F155D #B41E83 #DD31A6
Accessibility & contrast
On white
9.69
#7F155D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.17
#7F155D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7F155D
9.69:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F155D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7F155D | 1.00 | 9.69 | 2.17 | 9.69 |
| #FFFFFF | 9.69 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.17 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.69 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#24395F
Deuteranopia (green-blind)
#454B5B
Tritanopia (blue-blind)
#881338
Achromatopsia (no color)
#444444
Design tokens & code
CSS
--color: #7f155d; /* rgb */ color: rgb(127, 21, 93); /* oklch */ color: oklch(40.9% 0.156 344.9);
Tailwind
colors: {
custom: {
50: '#a8618b',
500: '#7f155d',
950: '#000000',
},
}SCSS
$custom: #7f155d; $custom-light: #a8618b; $custom-dark: #000000;
JSON
{
"hex": "#7f155d",
"rgb": {
"r": 127,
"g": 21,
"b": 93
},
"hsl": {
"h": 319.245,
"s": 71.622,
"l": 29.02
},
"oklch": {
"l": 0.40874,
"c": 0.15611,
"h": 344.9
},
"luminance": 0.05839
}Semantic roles & 50–950 ramp
primary
#7F155D
secondary
#3CB462
accent
#EE7339
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10050C
muted
#7F7A7D