#7F1240#7F1240
#7F1240 is a dark, vivid pink. Relative luminance 0.053; OKLCH L 39.5% C 0.145 H 2.1°. Best body text is #FFFFFF at 10.18:1 contrast (WCAG AA passes).
Color values
| HEX | #7F1240 |
|---|---|
| RGB | rgb(127, 18, 64) |
| HSL | hsl(335, 75%, 28%) |
| HSV | hsv(335, 86%, 50%) |
| CMYK | cmyk(0%, 85.8%, 49.6%, 50.2%) |
| CIE-LAB | lab(27.62, 47.21, 1.93) |
| CIE-LCH | lch(27.62, 47.25, 2.34°) |
| OKLab | oklab(39.5% 0.145 0.0054) |
| OKLCH | oklch(39.5% 0.145 2.1) |
| XYZ | xyz(9.8950, 5.3162, 5.3546) |
| Luminance | 0.0532 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Wine (survey)
#80013F
ΔE00 1.37
Red Purple
#820747
ΔE00 2.53
Merlot
#730039
ΔE00 3.15
Mulberry
#920A4E
ΔE00 4.14
Reddish Purple
#910951
ΔE00 4.58
Purple Red
#990147
ΔE00 4.92
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F1240 #127F51
analogous
#7F1276 #7F1240 #7F1B12
triadic
#7F1240 #407F12 #12407F
tetradic
#7F1240 #767F12 #127F51 #1B127F
square
#7F1240 #767F12 #127F51 #1B127F
split-complementary
#7F1240 #127F1B #12767F
monochromatic
#1B040E #490A25 #7F1240 #B51A5B #E12B77
Accessibility & contrast
On white
10.18
#7F1240 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.06
#7F1240 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7F1240
10.18:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F1240 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7F1240 | 1.00 | 10.18 | 2.06 | 10.18 |
| #FFFFFF | 10.18 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.06 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.18 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2F3441
Deuteranopia (green-blind)
#4C493E
Tritanopia (blue-blind)
#8B0028
Achromatopsia (no color)
#414141
Design tokens & code
CSS
--color: #7f1240; /* rgb */ color: rgb(127, 18, 64); /* oklch */ color: oklch(39.5% 0.145 2.1);
Tailwind
colors: {
custom: {
50: '#aa5f74',
500: '#7f1240',
950: '#000000',
},
}SCSS
$custom: #7f1240; $custom-light: #aa5f74; $custom-dark: #000000;
JSON
{
"hex": "#7f1240",
"rgb": {
"r": 127,
"g": 18,
"b": 64
},
"hsl": {
"h": 334.679,
"s": 75.172,
"l": 28.431
},
"oklch": {
"l": 0.39502,
"c": 0.14511,
"h": 2.1
},
"luminance": 0.05315
}Semantic roles & 50–950 ramp
primary
#7F1240
secondary
#38B580
accent
#F2A336
background
#FBF5F7
surface
#F6EAED
border
#D0C6C8
text
#110508
muted
#80797B