#7F1342#7F1342
#7F1342 is a dark, vivid pink. Relative luminance 0.054; OKLCH L 39.6% C 0.145 H 1.0°. Best body text is #FFFFFF at 10.12:1 contrast (WCAG AA passes).
Color values
| HEX | #7F1342 |
|---|---|
| RGB | rgb(127, 19, 66) |
| HSL | hsl(334, 74%, 29%) |
| HSV | hsv(334, 85%, 50%) |
| CMYK | cmyk(0%, 85%, 48%, 50.2%) |
| CIE-LAB | lab(27.77, 47.14, 0.80) |
| CIE-LCH | lch(27.77, 47.14, 0.97°) |
| OKLab | oklab(39.64% 0.1449 0.0026) |
| OKLCH | oklch(39.64% 0.145 1) |
| XYZ | xyz(9.9695, 5.3725, 5.6652) |
| Luminance | 0.0537 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Wine (survey)
#80013F
ΔE00 1.41
Red Purple
#820747
ΔE00 2.04
Merlot
#730039
ΔE00 3.17
Mulberry
#920A4E
ΔE00 3.88
Reddish Purple
#910951
ΔE00 4.21
Purple Red
#990147
ΔE00 5.03
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F1342 #137F50
analogous
#7F1378 #7F1342 #7F1A13
triadic
#7F1342 #427F13 #13427F
tetradic
#7F1342 #787F13 #137F50 #1A137F
square
#7F1342 #787F13 #137F50 #1A137F
split-complementary
#7F1342 #137F1A #13787F
monochromatic
#1B040E #4A0B26 #7F1342 #B41B5E #E02D7B
Accessibility & contrast
On white
10.12
#7F1342 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.07
#7F1342 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7F1342
10.12:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F1342 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7F1342 | 1.00 | 10.12 | 2.07 | 10.12 |
| #FFFFFF | 10.12 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.07 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.12 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2F3443
Deuteranopia (green-blind)
#4B4940
Tritanopia (blue-blind)
#8B0029
Achromatopsia (no color)
#424242
Design tokens & code
CSS
--color: #7f1342; /* rgb */ color: rgb(127, 19, 66); /* oklch */ color: oklch(39.6% 0.145 1.0);
Tailwind
colors: {
custom: {
50: '#a95f76',
500: '#7f1342',
950: '#000000',
},
}SCSS
$custom: #7f1342; $custom-light: #a95f76; $custom-dark: #000000;
JSON
{
"hex": "#7f1342",
"rgb": {
"r": 127,
"g": 19,
"b": 66
},
"hsl": {
"h": 333.889,
"s": 73.973,
"l": 28.627
},
"oklch": {
"l": 0.39635,
"c": 0.14492,
"h": 1
},
"luminance": 0.05371
}Semantic roles & 50–950 ramp
primary
#7F1342
secondary
#39B47F
accent
#F1A037
background
#FBF5F7
surface
#F6EAED
border
#D0C6C8
text
#110508
muted
#80797B