#8F274D#8F274D
#8F274D is a dark, vivid pink. Relative luminance 0.078; OKLCH L 44.6% C 0.142 H 2.7°. Best body text is #FFFFFF at 8.19:1 contrast (WCAG AA passes).
Color values
| HEX | #8F274D |
|---|---|
| RGB | rgb(143, 39, 77) |
| HSL | hsl(338, 57%, 36%) |
| HSV | hsv(338, 73%, 56%) |
| CMYK | cmyk(0%, 72.7%, 46.2%, 43.9%) |
| CIE-LAB | lab(33.62, 46.30, 2.40) |
| CIE-LCH | lch(33.62, 46.36, 2.97°) |
| OKLab | oklab(44.63% 0.1417 0.0067) |
| OKLCH | oklch(44.63% 0.142 2.7) |
| XYZ | xyz(13.3938, 7.8282, 7.8254) |
| Luminance | 0.0783 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Berry
#990F4B
ΔE00 2.87
Purple Red
#990147
ΔE00 3.60
Mulberry
#920A4E
ΔE00 3.63
Reddish Purple
#910951
ΔE00 4.34
Violet Red
#A50055
ΔE00 4.77
Dark Fuchsia
#9D0759
ΔE00 4.99
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8F274D #278F69
analogous
#8F2781 #8F274D #8F3527
triadic
#8F274D #4D8F27 #274D8F
tetradic
#8F274D #818F27 #278F69 #35278F
square
#8F274D #818F27 #278F69 #35278F
split-complementary
#8F274D #278F35 #27818F
monochromatic
#2F0D19 #5F1A33 #8F274D #BF3467 #D35D88
Accessibility & contrast
On white
8.19
#8F274D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.57
#8F274D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8F274D
8.19:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8F274D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8F274D | 1.00 | 8.19 | 2.57 | 8.19 |
| #FFFFFF | 8.19 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.57 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.19 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3E424E
Deuteranopia (green-blind)
#5A564B
Tritanopia (blue-blind)
#9B1737
Achromatopsia (no color)
#4F4F4F
Design tokens & code
CSS
--color: #8f274d; /* rgb */ color: rgb(143, 39, 77); /* oklch */ color: oklch(44.6% 0.142 2.7);
Tailwind
colors: {
custom: {
50: '#b56a7e',
500: '#8f274d',
950: '#000000',
},
}SCSS
$custom: #8f274d; $custom-light: #b56a7e; $custom-dark: #000000;
JSON
{
"hex": "#8f274d",
"rgb": {
"r": 143,
"g": 39,
"b": 77
},
"hsl": {
"h": 338.077,
"s": 57.143,
"l": 35.686
},
"oklch": {
"l": 0.44625,
"c": 0.1419,
"h": 2.7
},
"luminance": 0.07826
}Semantic roles & 50–950 ramp
primary
#8F274D
secondary
#5AB896
accent
#E0A847
background
#FBF6F7
surface
#F6EBEE
border
#D0C6C9
text
#12070A
muted
#817A7C