#7F124F#7F124F
#7F124F is a dark, vivid pink. Relative luminance 0.055; OKLCH L 40.1% C 0.151 H 352.8°. Best body text is #FFFFFF at 9.99:1 contrast (WCAG AA passes).
Color values
| HEX | #7F124F |
|---|---|
| RGB | rgb(127, 18, 79) |
| HSL | hsl(326, 75%, 28%) |
| HSV | hsv(326, 86%, 50%) |
| CMYK | cmyk(0%, 85.8%, 37.8%, 50.2%) |
| CIE-LAB | lab(28.14, 48.73, -7.35) |
| CIE-LCH | lch(28.14, 49.28, 351.42°) |
| OKLab | oklab(40.06% 0.1499 -0.0189) |
| OKLCH | oklch(40.06% 0.151 352.8) |
| XYZ | xyz(10.3807, 5.5105, 7.9126) |
| Luminance | 0.0551 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Purple
#820747
ΔE00 2.50
Velvet
#750851
ΔE00 3.38
Reddish Purple
#910951
ΔE00 3.75
Dark Magenta
#960056
ΔE00 4.32
Wine (survey)
#80013F
ΔE00 4.45
Mulberry
#920A4E
ΔE00 4.45
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F124F #127F42
analogous
#78127F #7F124F #7F1218
triadic
#7F124F #4F7F12 #124F7F
tetradic
#7F124F #7F7812 #127F42 #12187F
square
#7F124F #7F7812 #127F42 #12187F
split-complementary
#7F124F #187F12 #127F78
monochromatic
#1B0411 #490A2E #7F124F #B51A70 #E12B91
Accessibility & contrast
On white
9.99
#7F124F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.10
#7F124F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7F124F
9.99:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F124F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7F124F | 1.00 | 9.99 | 2.10 | 9.99 |
| #FFFFFF | 9.99 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.10 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.99 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2A3650
Deuteranopia (green-blind)
#48494D
Tritanopia (blue-blind)
#89022F
Achromatopsia (no color)
#424242
Design tokens & code
CSS
--color: #7f124f; /* rgb */ color: rgb(127, 18, 79); /* oklch */ color: oklch(40.1% 0.151 352.8);
Tailwind
colors: {
custom: {
50: '#a95f80',
500: '#7f124f',
950: '#000000',
},
}SCSS
$custom: #7f124f; $custom-light: #a95f80; $custom-dark: #000000;
JSON
{
"hex": "#7f124f",
"rgb": {
"r": 127,
"g": 18,
"b": 79
},
"hsl": {
"h": 326.422,
"s": 75.172,
"l": 28.431
},
"oklch": {
"l": 0.40056,
"c": 0.15109,
"h": 352.8
},
"luminance": 0.05509
}Semantic roles & 50–950 ramp
primary
#7F124F
secondary
#38B56F
accent
#F28936
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#10050A
muted
#7F7A7C