#7F185B#7F185B
#7F185B is a dark, vivid pink. Relative luminance 0.059; OKLCH L 41.0% C 0.152 H 346.2°. Best body text is #FFFFFF at 9.61:1 contrast (WCAG AA passes).
Color values
| HEX | #7F185B |
|---|---|
| RGB | rgb(127, 24, 91) |
| HSL | hsl(321, 68%, 30%) |
| HSV | hsv(321, 81%, 50%) |
| CMYK | cmyk(0%, 81.1%, 28.3%, 50.2%) |
| CIE-LAB | lab(29.21, 48.53, -13.64) |
| CIE-LCH | lch(29.21, 50.42, 344.30°) |
| OKLab | oklab(41% 0.1476 -0.0362) |
| OKLCH | oklch(41% 0.152 346.2) |
| XYZ | xyz(10.9679, 5.9219, 10.4609) |
| Luminance | 0.0592 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Velvet
#750851
ΔE00 2.86
Rich Purple
#720058
ΔE00 4.19
Red Purple
#820747
ΔE00 5.54
Dark Magenta
#960056
ΔE00 5.55
Reddish Purple
#910951
ΔE00 5.66
Red Violet
#9E0168
ΔE00 5.73
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F185B #187F3C
analogous
#70187F #7F185B #7F1827
triadic
#7F185B #5B7F18 #185B7F
tetradic
#7F185B #7F7018 #187F3C #18277F
square
#7F185B #7F7018 #187F3C #18277F
split-complementary
#7F185B #277F18 #187F70
monochromatic
#1A0512 #4C0E36 #7F185B #B22280 #D938A1
Accessibility & contrast
On white
9.61
#7F185B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.18
#7F185B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7F185B
9.61:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F185B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7F185B | 1.00 | 9.61 | 2.18 | 9.61 |
| #FFFFFF | 9.61 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.18 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.61 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#273A5D
Deuteranopia (green-blind)
#464B59
Tritanopia (blue-blind)
#881538
Achromatopsia (no color)
#454545
Design tokens & code
CSS
--color: #7f185b; /* rgb */ color: rgb(127, 24, 91); /* oklch */ color: oklch(41.0% 0.152 346.2);
Tailwind
colors: {
custom: {
50: '#a86289',
500: '#7f185b',
950: '#000000',
},
}SCSS
$custom: #7f185b; $custom-light: #a86289; $custom-dark: #000000;
JSON
{
"hex": "#7f185b",
"rgb": {
"r": 127,
"g": 24,
"b": 91
},
"hsl": {
"h": 320.971,
"s": 68.212,
"l": 29.608
},
"oklch": {
"l": 0.40997,
"c": 0.15201,
"h": 346.2
},
"luminance": 0.05921
}Semantic roles & 50–950 ramp
primary
#7F185B
secondary
#3FB368
accent
#EB7A3D
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10060B
muted
#7F7A7C