#7F1235#7F1235
#7F1235 is a dark, vivid pink. Relative luminance 0.052; OKLCH L 39.2% C 0.143 H 9.1°. Best body text is #FFFFFF at 10.29:1 contrast (WCAG AA passes).
Color values
| HEX | #7F1235 |
|---|---|
| RGB | rgb(127, 18, 53) |
| HSL | hsl(341, 75%, 28%) |
| HSV | hsv(341, 86%, 50%) |
| CMYK | cmyk(0%, 85.8%, 58.3%, 50.2%) |
| CIE-LAB | lab(27.31, 46.29, 8.93) |
| CIE-LCH | lch(27.31, 47.14, 10.92°) |
| OKLab | oklab(39.17% 0.1407 0.0226) |
| OKLCH | oklch(39.17% 0.143 9.1) |
| XYZ | xyz(9.6123, 5.2031, 3.8656) |
| Luminance | 0.0520 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Bordeaux
#7B002C
ΔE00 2.31
Red Wine
#8C0034
ΔE00 2.76
Wine (survey)
#80013F
ΔE00 4.46
Wine Red
#7B0323
ΔE00 5.20
Merlot
#730039
ΔE00 5.39
Purple Red
#990147
ΔE00 5.77
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F1235 #127F5C
analogous
#7F126B #7F1235 #7F2512
triadic
#7F1235 #357F12 #12357F
tetradic
#7F1235 #6B7F12 #127F5C #25127F
square
#7F1235 #6B7F12 #127F5C #25127F
split-complementary
#7F1235 #127F25 #126B7F
monochromatic
#1B040B #490A1F #7F1235 #B51A4B #E12B65
Accessibility & contrast
On white
10.29
#7F1235 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.04
#7F1235 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7F1235
10.29:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F1235 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7F1235 | 1.00 | 10.29 | 2.04 | 10.29 |
| #FFFFFF | 10.29 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.04 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.29 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#323336
Deuteranopia (green-blind)
#4D4832
Tritanopia (blue-blind)
#8B0022
Achromatopsia (no color)
#404040
Design tokens & code
CSS
--color: #7f1235; /* rgb */ color: rgb(127, 18, 53); /* oklch */ color: oklch(39.2% 0.143 9.1);
Tailwind
colors: {
custom: {
50: '#aa5e6b',
500: '#7f1235',
950: '#000000',
},
}SCSS
$custom: #7f1235; $custom-light: #aa5e6b; $custom-dark: #000000;
JSON
{
"hex": "#7f1235",
"rgb": {
"r": 127,
"g": 18,
"b": 53
},
"hsl": {
"h": 340.734,
"s": 75.172,
"l": 28.431
},
"oklch": {
"l": 0.39172,
"c": 0.14251,
"h": 9.1
},
"luminance": 0.05202
}Semantic roles & 50–950 ramp
primary
#7F1235
secondary
#38B58D
accent
#F2B536
background
#FBF5F6
surface
#F6EAEB
border
#D0C6C6
text
#110506
muted
#80797A