#8F2267#8F2267
#8F2267 is a mid, vivid pink. Relative luminance 0.080; OKLCH L 45.1% C 0.160 H 346.6°. Best body text is #FFFFFF at 8.10:1 contrast (WCAG AA passes).
Color values
| HEX | #8F2267 |
|---|---|
| RGB | rgb(143, 34, 103) |
| HSL | hsl(322, 62%, 35%) |
| HSV | hsv(322, 76%, 56%) |
| CMYK | cmyk(0%, 76.2%, 28%, 43.9%) |
| CIE-LAB | lab(33.91, 51.11, -13.95) |
| CIE-LCH | lch(33.91, 52.98, 344.73°) |
| OKLab | oklab(45.14% 0.1553 -0.0369) |
| OKLCH | oklch(45.14% 0.16 346.6) |
| XYZ | xyz(14.3486, 7.9646, 13.6110) |
| Luminance | 0.0796 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Violet
#9E0168
ΔE00 3.13
Dark Magenta
#960056
ΔE00 4.83
Deep Magenta
#A0025C
ΔE00 5.02
Dark Fuchsia
#9D0759
ΔE00 5.17
Reddish Purple
#910951
ΔE00 5.52
Mulberry
#920A4E
ΔE00 6.43
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8F2267 #228F4A
analogous
#80228F #8F2267 #8F2231
triadic
#8F2267 #678F22 #22678F
tetradic
#8F2267 #8F8022 #228F4A #22318F
square
#8F2267 #8F8022 #228F4A #22318F
split-complementary
#8F2267 #318F22 #228F80
monochromatic
#2C0A20 #5E1643 #8F2267 #C02E8B #D755A7
Accessibility & contrast
On white
8.10
#8F2267 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.59
#8F2267 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8F2267
8.10:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8F2267 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8F2267 | 1.00 | 8.10 | 2.59 | 8.10 |
| #FFFFFF | 8.10 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.59 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.10 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#314469
Deuteranopia (green-blind)
#525665
Tritanopia (blue-blind)
#991F41
Achromatopsia (no color)
#505050
Design tokens & code
CSS
--color: #8f2267; /* rgb */ color: rgb(143, 34, 103); /* oklch */ color: oklch(45.1% 0.160 346.6);
Tailwind
colors: {
custom: {
50: '#b46892',
500: '#8f2267',
950: '#000000',
},
}SCSS
$custom: #8f2267; $custom-light: #b46892; $custom-dark: #000000;
JSON
{
"hex": "#8f2267",
"rgb": {
"r": 143,
"g": 34,
"b": 103
},
"hsl": {
"h": 322.018,
"s": 61.582,
"l": 34.706
},
"oklch": {
"l": 0.4514,
"c": 0.15966,
"h": 346.6
},
"luminance": 0.07963
}Semantic roles & 50–950 ramp
primary
#8F2267
secondary
#52BA79
accent
#E57E43
background
#FBF6F9
surface
#F6EBF1
border
#D0C6CB
text
#12070D
muted
#817A7E