#7F2945#7F2945
#7F2945 is a dark, vivid pink. Relative luminance 0.065; OKLCH L 41.8% C 0.121 H 3.9°. Best body text is #FFFFFF at 9.11:1 contrast (WCAG AA passes).
Color values
| HEX | #7F2945 |
|---|---|
| RGB | rgb(127, 41, 69) |
| HSL | hsl(340, 51%, 33%) |
| HSV | hsv(340, 68%, 50%) |
| CMYK | cmyk(0%, 67.7%, 45.7%, 50.2%) |
| CIE-LAB | lab(30.71, 39.49, 3.06) |
| CIE-LCH | lch(30.71, 39.61, 4.42°) |
| OKLab | oklab(41.83% 0.1206 0.0083) |
| OKLCH | oklch(41.83% 0.121 3.9) |
| XYZ | xyz(10.6203, 6.5289, 6.3300) |
| Luminance | 0.0653 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Wine (survey)
#80013F
ΔE00 4.96
Red Purple
#820747
ΔE00 5.32
Berry
#990F4B
ΔE00 5.51
Mulberry
#920A4E
ΔE00 5.51
Purple Red
#990147
ΔE00 5.79
Reddish Purple
#910951
ΔE00 6.05
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F2945 #297F63
analogous
#7F2970 #7F2945 #7F3829
triadic
#7F2945 #457F29 #29457F
tetradic
#7F2945 #707F29 #297F63 #38297F
square
#7F2945 #707F29 #297F63 #38297F
split-complementary
#7F2945 #297F38 #29707F
monochromatic
#220B13 #511A2C #7F2945 #AD385E #C9597E
Accessibility & contrast
On white
9.11
#7F2945 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.31
#7F2945 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7F2945
9.11:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F2945 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7F2945 | 1.00 | 9.11 | 2.31 | 9.11 |
| #FFFFFF | 9.11 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.31 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.11 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3B3E46
Deuteranopia (green-blind)
#524E43
Tritanopia (blue-blind)
#8A1E34
Achromatopsia (no color)
#484848
Design tokens & code
CSS
--color: #7f2945; /* rgb */ color: rgb(127, 41, 69); /* oklch */ color: oklch(41.8% 0.121 3.9);
Tailwind
colors: {
custom: {
50: '#a86878',
500: '#7f2945',
950: '#000000',
},
}SCSS
$custom: #7f2945; $custom-light: #a86878; $custom-dark: #000000;
JSON
{
"hex": "#7f2945",
"rgb": {
"r": 127,
"g": 41,
"b": 69
},
"hsl": {
"h": 340.465,
"s": 51.19,
"l": 32.941
},
"oklch": {
"l": 0.41832,
"c": 0.12089,
"h": 3.9
},
"luminance": 0.06528
}Semantic roles & 50–950 ramp
primary
#7F2945
secondary
#55AF92
accent
#DBAD4D
background
#FAF6F7
surface
#F4EBED
border
#CEC6C8
text
#100609
muted
#7F7A7B