#7F185A#7F185A
#7F185A is a dark, vivid pink. Relative luminance 0.059; OKLCH L 41.0% C 0.151 H 346.8°. Best body text is #FFFFFF at 9.63:1 contrast (WCAG AA passes).
Color values
| HEX | #7F185A |
|---|---|
| RGB | rgb(127, 24, 90) |
| HSL | hsl(322, 68%, 30%) |
| HSV | hsv(322, 81%, 50%) |
| CMYK | cmyk(0%, 81.1%, 29.1%, 50.2%) |
| CIE-LAB | lab(29.17, 48.41, -13.06) |
| CIE-LCH | lch(29.17, 50.14, 344.90°) |
| OKLab | oklab(40.95% 0.1474 -0.0345) |
| OKLCH | oklch(40.95% 0.151 346.8) |
| XYZ | xyz(10.9250, 5.9047, 10.2353) |
| Luminance | 0.0590 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Velvet
#750851
ΔE00 2.82
Rich Purple
#720058
ΔE00 4.32
Red Purple
#820747
ΔE00 5.28
Dark Magenta
#960056
ΔE00 5.39
Reddish Purple
#910951
ΔE00 5.45
Red Violet
#9E0168
ΔE00 5.75
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F185A #187F3D
analogous
#70187F #7F185A #7F1827
triadic
#7F185A #5A7F18 #185A7F
tetradic
#7F185A #7F7018 #187F3D #18277F
square
#7F185A #7F7018 #187F3D #18277F
split-complementary
#7F185A #277F18 #187F70
monochromatic
#1A0512 #4C0E36 #7F185A #B2227E #D9389F
Accessibility & contrast
On white
9.63
#7F185A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.18
#7F185A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7F185A
9.63:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F185A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7F185A | 1.00 | 9.63 | 2.18 | 9.63 |
| #FFFFFF | 9.63 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.18 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.63 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#283A5C
Deuteranopia (green-blind)
#474B58
Tritanopia (blue-blind)
#881437
Achromatopsia (no color)
#454545
Design tokens & code
CSS
--color: #7f185a; /* rgb */ color: rgb(127, 24, 90); /* oklch */ color: oklch(41.0% 0.151 346.8);
Tailwind
colors: {
custom: {
50: '#a86288',
500: '#7f185a',
950: '#000000',
},
}SCSS
$custom: #7f185a; $custom-light: #a86288; $custom-dark: #000000;
JSON
{
"hex": "#7f185a",
"rgb": {
"r": 127,
"g": 24,
"b": 90
},
"hsl": {
"h": 321.553,
"s": 68.212,
"l": 29.608
},
"oklch": {
"l": 0.40951,
"c": 0.15142,
"h": 346.8
},
"luminance": 0.05903
}Semantic roles & 50–950 ramp
primary
#7F185A
secondary
#3FB369
accent
#EB7B3D
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10060B
muted
#7F7A7C