#8F2273#8F2273
#8F2273 is a mid, vivid pink. Relative luminance 0.082; OKLCH L 45.7% C 0.167 H 340.4°. Best body text is #FFFFFF at 7.94:1 contrast (WCAG AA passes).
Color values
| HEX | #8F2273 |
|---|---|
| RGB | rgb(143, 34, 115) |
| HSL | hsl(315, 62%, 35%) |
| HSV | hsv(315, 76%, 56%) |
| CMYK | cmyk(0%, 76.2%, 19.6%, 43.9%) |
| CIE-LAB | lab(34.44, 52.74, -20.75) |
| CIE-LCH | lch(34.44, 56.68, 338.52°) |
| OKLab | oklab(45.7% 0.1576 -0.056) |
| OKLCH | oklch(45.7% 0.167 340.4) |
| XYZ | xyz(14.9947, 8.2230, 17.0138) |
| Luminance | 0.0822 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Violet
#9E0168
ΔE00 4.54
Warm Purple
#952E8F
ΔE00 5.63
Darkish Purple
#751973
ΔE00 6.47
Bruise
#7E4071
ΔE00 6.60
Darkmagenta
#8B008B
ΔE00 6.79
Purple
#800080
ΔE00 7.02
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8F2273 #228F3E
analogous
#75228F #8F2273 #8F223C
triadic
#8F2273 #738F22 #22738F
tetradic
#8F2273 #8F7522 #228F3E #223C8F
square
#8F2273 #8F7522 #228F3E #223C8F
split-complementary
#8F2273 #3C8F22 #228F75
monochromatic
#2C0A23 #5E164B #8F2273 #C02E9B #D755B5
Accessibility & contrast
On white
7.94
#8F2273 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.64
#8F2273 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8F2273
7.94:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8F2273 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8F2273 | 1.00 | 7.94 | 2.64 | 7.94 |
| #FFFFFF | 7.94 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.64 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.94 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2A4675
Deuteranopia (green-blind)
#4E5770
Tritanopia (blue-blind)
#982548
Achromatopsia (no color)
#515151
Design tokens & code
CSS
--color: #8f2273; /* rgb */ color: rgb(143, 34, 115); /* oklch */ color: oklch(45.7% 0.167 340.4);
Tailwind
colors: {
custom: {
50: '#b3699b',
500: '#8f2273',
950: '#000000',
},
}SCSS
$custom: #8f2273; $custom-light: #b3699b; $custom-dark: #000000;
JSON
{
"hex": "#8f2273",
"rgb": {
"r": 143,
"g": 34,
"b": 115
},
"hsl": {
"h": 315.413,
"s": 61.582,
"l": 34.706
},
"oklch": {
"l": 0.45702,
"c": 0.16722,
"h": 340.4
},
"luminance": 0.08221
}Semantic roles & 50–950 ramp
primary
#8F2273
secondary
#52BA6D
accent
#E56D43
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11070E
muted
#807A7E