#7F3151#7F3151
#7F3151 is a dark, moderate pink. Relative luminance 0.073; OKLCH L 43.3% C 0.113 H 357.3°. Best body text is #FFFFFF at 8.53:1 contrast (WCAG AA passes).
Color values
| HEX | #7F3151 |
|---|---|
| RGB | rgb(127, 49, 81) |
| HSL | hsl(335, 44%, 35%) |
| HSV | hsv(335, 61%, 50%) |
| CMYK | cmyk(0%, 61.4%, 36.2%, 50.2%) |
| CIE-LAB | lab(32.49, 37.12, -2.20) |
| CIE-LCH | lch(32.49, 37.18, 356.62°) |
| OKLab | oklab(43.28% 0.1132 -0.0053) |
| OKLCH | oklch(43.28% 0.113 357.3) |
| XYZ | xyz(11.3365, 7.3039, 8.5958) |
| Luminance | 0.0730 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Mulberry
#920A4E
ΔE00 5.91
Red Purple
#820747
ΔE00 5.91
Reddish Purple
#910951
ΔE00 5.94
Brownish Purple
#76424E
ΔE00 6.60
Berry
#990F4B
ΔE00 6.66
Wine (survey)
#80013F
ΔE00 6.68
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F3151 #317F5F
analogous
#7F3178 #7F3151 #7F3831
triadic
#7F3151 #517F31 #31517F
tetradic
#7F3151 #787F31 #317F5F #38317F
square
#7F3151 #787F31 #317F5F #38317F
split-complementary
#7F3151 #317F38 #31787F
monochromatic
#270F19 #532035 #7F3151 #AB426D #C4668D
Accessibility & contrast
On white
8.53
#7F3151 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.46
#7F3151 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7F3151
8.53:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F3151 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7F3151 | 1.00 | 8.53 | 2.46 | 8.53 |
| #FFFFFF | 8.53 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.46 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.53 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3E4352
Deuteranopia (green-blind)
#53524F
Tritanopia (blue-blind)
#892B3D
Achromatopsia (no color)
#4C4C4C
Design tokens & code
CSS
--color: #7f3151; /* rgb */ color: rgb(127, 49, 81); /* oklch */ color: oklch(43.3% 0.113 357.3);
Tailwind
colors: {
custom: {
50: '#a76d81',
500: '#7f3151',
950: '#000000',
},
}SCSS
$custom: #7f3151; $custom-light: #a76d81; $custom-dark: #000000;
JSON
{
"hex": "#7f3151",
"rgb": {
"r": 127,
"g": 49,
"b": 81
},
"hsl": {
"h": 335.385,
"s": 44.318,
"l": 34.51
},
"oklch": {
"l": 0.43279,
"c": 0.11329,
"h": 357.3
},
"luminance": 0.07303
}Semantic roles & 50–950 ramp
primary
#7F3151
secondary
#60AB8D
accent
#D49F54
background
#FAF6F7
surface
#F4ECEE
border
#CEC7C9
text
#10070A
muted
#7F7A7C