#7F1938#7F1938
#7F1938 is a dark, vivid pink. Relative luminance 0.055; OKLCH L 39.8% C 0.137 H 8.6°. Best body text is #FFFFFF at 10.01:1 contrast (WCAG AA passes).
Color values
| HEX | #7F1938 |
|---|---|
| RGB | rgb(127, 25, 56) |
| HSL | hsl(342, 67%, 30%) |
| HSV | hsv(342, 80%, 50%) |
| CMYK | cmyk(0%, 80.3%, 55.9%, 50.2%) |
| CIE-LAB | lab(28.10, 44.50, 8.01) |
| CIE-LCH | lch(28.10, 45.21, 10.20°) |
| OKLab | oklab(39.78% 0.1354 0.0204) |
| OKLCH | oklch(39.78% 0.137 8.6) |
| XYZ | xyz(9.8148, 5.4942, 4.2843) |
| Luminance | 0.0549 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Bordeaux
#7B002C
ΔE00 3.17
Red Wine
#8C0034
ΔE00 3.23
Wine (survey)
#80013F
ΔE00 4.42
Merlot
#730039
ΔE00 5.47
Purple Red
#990147
ΔE00 5.58
Wine Red
#7B0323
ΔE00 5.81
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F1938 #197F60
analogous
#7F196B #7F1938 #7F2D19
triadic
#7F1938 #387F19 #19387F
tetradic
#7F1938 #6B7F19 #197F60 #2D197F
square
#7F1938 #6B7F19 #197F60 #2D197F
split-complementary
#7F1938 #197F2D #196B7F
monochromatic
#1A050B #4C0F21 #7F1938 #B2234F #D83A6A
Accessibility & contrast
On white
10.01
#7F1938 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.10
#7F1938 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7F1938
10.01:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F1938 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7F1938 | 1.00 | 10.01 | 2.10 | 10.01 |
| #FFFFFF | 10.01 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.10 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.01 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#343539
Deuteranopia (green-blind)
#4F4A35
Tritanopia (blue-blind)
#8B0026
Achromatopsia (no color)
#424242
Design tokens & code
CSS
--color: #7f1938; /* rgb */ color: rgb(127, 25, 56); /* oklch */ color: oklch(39.8% 0.137 8.6);
Tailwind
colors: {
custom: {
50: '#aa616e',
500: '#7f1938',
950: '#000000',
},
}SCSS
$custom: #7f1938; $custom-light: #aa616e; $custom-dark: #000000;
JSON
{
"hex": "#7f1938",
"rgb": {
"r": 127,
"g": 25,
"b": 56
},
"hsl": {
"h": 341.765,
"s": 67.105,
"l": 29.804
},
"oklch": {
"l": 0.39781,
"c": 0.13689,
"h": 8.6
},
"luminance": 0.05493
}Semantic roles & 50–950 ramp
primary
#7F1938
secondary
#41B390
accent
#EAB63E
background
#FBF6F6
surface
#F6EBEB
border
#D0C6C6
text
#110507
muted
#807A7A