#8F2272#8F2272
#8F2272 is a mid, vivid pink. Relative luminance 0.082; OKLCH L 45.7% C 0.167 H 340.9°. Best body text is #FFFFFF at 7.96:1 contrast (WCAG AA passes).
Color values
| HEX | #8F2272 |
|---|---|
| RGB | rgb(143, 34, 114) |
| HSL | hsl(316, 62%, 35%) |
| HSV | hsv(316, 76%, 56%) |
| CMYK | cmyk(0%, 76.2%, 20.3%, 43.9%) |
| CIE-LAB | lab(34.40, 52.60, -20.19) |
| CIE-LCH | lch(34.40, 56.34, 339.00°) |
| OKLab | oklab(45.65% 0.1574 -0.0544) |
| OKLCH | oklch(45.65% 0.167 340.9) |
| XYZ | xyz(14.9374, 8.2001, 16.7124) |
| Luminance | 0.0820 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Violet
#9E0168
ΔE00 4.38
Warm Purple
#952E8F
ΔE00 5.84
Bruise
#7E4071
ΔE00 6.58
Darkish Purple
#751973
ΔE00 6.59
Darkmagenta
#8B008B
ΔE00 7.00
Deep Magenta
#A0025C
ΔE00 7.20
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8F2272 #228F3F
analogous
#75228F #8F2272 #8F223C
triadic
#8F2272 #728F22 #22728F
tetradic
#8F2272 #8F7522 #228F3F #223C8F
square
#8F2272 #8F7522 #228F3F #223C8F
split-complementary
#8F2272 #3C8F22 #228F75
monochromatic
#2C0A23 #5E164B #8F2272 #C02E99 #D755B4
Accessibility & contrast
On white
7.96
#8F2272 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.64
#8F2272 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8F2272
7.96:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8F2272 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8F2272 | 1.00 | 7.96 | 2.64 | 7.96 |
| #FFFFFF | 7.96 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.64 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.96 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2B4674
Deuteranopia (green-blind)
#4E576F
Tritanopia (blue-blind)
#982547
Achromatopsia (no color)
#515151
Design tokens & code
CSS
--color: #8f2272; /* rgb */ color: rgb(143, 34, 114); /* oklch */ color: oklch(45.7% 0.167 340.9);
Tailwind
colors: {
custom: {
50: '#b3699a',
500: '#8f2272',
950: '#000000',
},
}SCSS
$custom: #8f2272; $custom-light: #b3699a; $custom-dark: #000000;
JSON
{
"hex": "#8f2272",
"rgb": {
"r": 143,
"g": 34,
"b": 114
},
"hsl": {
"h": 315.963,
"s": 61.582,
"l": 34.706
},
"oklch": {
"l": 0.45653,
"c": 0.16655,
"h": 340.9
},
"luminance": 0.08199
}Semantic roles & 50–950 ramp
primary
#8F2272
secondary
#52BA6E
accent
#E56E43
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11070E
muted
#807A7E