#7F1838#7F1838
#7F1838 is a dark, vivid pink. Relative luminance 0.055; OKLCH L 39.7% C 0.138 H 8.4°. Best body text is #FFFFFF at 10.05:1 contrast (WCAG AA passes).
Color values
| HEX | #7F1838 |
|---|---|
| RGB | rgb(127, 24, 56) |
| HSL | hsl(341, 68%, 30%) |
| HSV | hsv(341, 81%, 50%) |
| CMYK | cmyk(0%, 81.1%, 55.9%, 50.2%) |
| CIE-LAB | lab(27.99, 44.81, 7.85) |
| CIE-LCH | lch(27.99, 45.50, 9.94°) |
| OKLab | oklab(39.7% 0.1364 0.02) |
| OKLCH | oklch(39.7% 0.138 8.4) |
| XYZ | xyz(9.7938, 5.4522, 4.2773) |
| Luminance | 0.0545 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Bordeaux
#7B002C
ΔE00 3.13
Red Wine
#8C0034
ΔE00 3.22
Wine (survey)
#80013F
ΔE00 4.26
Merlot
#730039
ΔE00 5.32
Purple Red
#990147
ΔE00 5.52
Wine Red
#7B0323
ΔE00 5.87
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F1838 #187F5F
analogous
#7F186C #7F1838 #7F2B18
triadic
#7F1838 #387F18 #18387F
tetradic
#7F1838 #6C7F18 #187F5F #2B187F
square
#7F1838 #6C7F18 #187F5F #2B187F
split-complementary
#7F1838 #187F2B #186C7F
monochromatic
#1A050B #4C0E21 #7F1838 #B2224F #D9386A
Accessibility & contrast
On white
10.05
#7F1838 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.09
#7F1838 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7F1838
10.05:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F1838 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7F1838 | 1.00 | 10.05 | 2.09 | 10.05 |
| #FFFFFF | 10.05 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.09 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.05 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#343539
Deuteranopia (green-blind)
#4E4935
Tritanopia (blue-blind)
#8B0026
Achromatopsia (no color)
#424242
Design tokens & code
CSS
--color: #7f1838; /* rgb */ color: rgb(127, 24, 56); /* oklch */ color: oklch(39.7% 0.138 8.4);
Tailwind
colors: {
custom: {
50: '#aa606e',
500: '#7f1838',
950: '#000000',
},
}SCSS
$custom: #7f1838; $custom-light: #aa606e; $custom-dark: #000000;
JSON
{
"hex": "#7f1838",
"rgb": {
"r": 127,
"g": 24,
"b": 56
},
"hsl": {
"h": 341.359,
"s": 68.212,
"l": 29.608
},
"oklch": {
"l": 0.39698,
"c": 0.13785,
"h": 8.4
},
"luminance": 0.05451
}Semantic roles & 50–950 ramp
primary
#7F1838
secondary
#3FB38F
accent
#EBB53D
background
#FBF6F6
surface
#F6EBEB
border
#D0C6C6
text
#110507
muted
#807A7A