#7F145C#7F145C
#7F145C is a dark, vivid pink. Relative luminance 0.058; OKLCH L 40.8% C 0.156 H 345.4°. Best body text is #FFFFFF at 9.74:1 contrast (WCAG AA passes).
Color values
| HEX | #7F145C |
|---|---|
| RGB | rgb(127, 20, 92) |
| HSL | hsl(320, 73%, 29%) |
| HSV | hsv(320, 84%, 50%) |
| CMYK | cmyk(0%, 84.3%, 27.6%, 50.2%) |
| CIE-LAB | lab(28.87, 49.79, -14.83) |
| CIE-LCH | lch(28.87, 51.95, 343.41°) |
| OKLab | oklab(40.76% 0.1514 -0.0395) |
| OKLCH | oklch(40.76% 0.156 345.4) |
| XYZ | xyz(10.9348, 5.7863, 10.6642) |
| Luminance | 0.0578 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Velvet
#750851
ΔE00 2.71
Rich Purple
#720058
ΔE00 3.69
Red Violet
#9E0168
ΔE00 5.80
Dark Magenta
#960056
ΔE00 5.84
Red Purple
#820747
ΔE00 5.90
Reddish Purple
#910951
ΔE00 6.03
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F145C #147F37
analogous
#6D147F #7F145C #7F1427
triadic
#7F145C #5C7F14 #145C7F
tetradic
#7F145C #7F6D14 #147F37 #14277F
square
#7F145C #7F6D14 #147F37 #14277F
split-complementary
#7F145C #277F14 #147F6D
monochromatic
#1A0413 #4A0C36 #7F145C #B41C82 #DE2FA5
Accessibility & contrast
On white
9.74
#7F145C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.16
#7F145C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7F145C
9.74:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F145C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7F145C | 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)
#24395E
Deuteranopia (green-blind)
#454A5A
Tritanopia (blue-blind)
#881137
Achromatopsia (no color)
#444444
Design tokens & code
CSS
--color: #7f145c; /* rgb */ color: rgb(127, 20, 92); /* oklch */ color: oklch(40.8% 0.156 345.4);
Tailwind
colors: {
custom: {
50: '#a8608a',
500: '#7f145c',
950: '#000000',
},
}SCSS
$custom: #7f145c; $custom-light: #a8608a; $custom-dark: #000000;
JSON
{
"hex": "#7f145c",
"rgb": {
"r": 127,
"g": 20,
"b": 92
},
"hsl": {
"h": 319.626,
"s": 72.789,
"l": 28.824
},
"oklch": {
"l": 0.4076,
"c": 0.15641,
"h": 345.4
},
"luminance": 0.05785
}Semantic roles & 50–950 ramp
primary
#7F145C
secondary
#3BB462
accent
#EF7438
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10050B
muted
#7F7A7C