#8F246F#8F246F
#8F246F is a mid, vivid pink. Relative luminance 0.082; OKLCH L 45.7% C 0.162 H 342.6°. Best body text is #FFFFFF at 7.93:1 contrast (WCAG AA passes).
Color values
| HEX | #8F246F |
|---|---|
| RGB | rgb(143, 36, 111) |
| HSL | hsl(318, 60%, 35%) |
| HSV | hsv(318, 75%, 56%) |
| CMYK | cmyk(0%, 74.8%, 22.4%, 43.9%) |
| CIE-LAB | lab(34.50, 51.50, -18.14) |
| CIE-LCH | lch(34.50, 54.60, 340.60°) |
| OKLab | oklab(45.68% 0.1548 -0.0486) |
| OKLCH | oklch(45.68% 0.162 342.6) |
| XYZ | xyz(14.8283, 8.2506, 15.8474) |
| Luminance | 0.0825 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Violet
#9E0168
ΔE00 3.97
Bruise
#7E4071
ΔE00 6.34
Warm Purple
#952E8F
ΔE00 6.49
Deep Magenta
#A0025C
ΔE00 6.56
Dark Magenta
#960056
ΔE00 6.57
Dark Fuchsia
#9D0759
ΔE00 6.84
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8F246F #248F44
analogous
#7A248F #8F246F #8F2439
triadic
#8F246F #6F8F24 #246F8F
tetradic
#8F246F #8F7A24 #248F44 #24398F
square
#8F246F #8F7A24 #248F44 #24398F
split-complementary
#8F246F #398F24 #248F7A
monochromatic
#2D0B23 #5E1849 #8F246F #C03095 #D558B0
Accessibility & contrast
On white
7.93
#8F246F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.65
#8F246F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8F246F
7.93:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8F246F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8F246F | 1.00 | 7.93 | 2.65 | 7.93 |
| #FFFFFF | 7.93 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.65 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.93 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2E4671
Deuteranopia (green-blind)
#50576D
Tritanopia (blue-blind)
#982546
Achromatopsia (no color)
#515151
Design tokens & code
CSS
--color: #8f246f; /* rgb */ color: rgb(143, 36, 111); /* oklch */ color: oklch(45.7% 0.162 342.6);
Tailwind
colors: {
custom: {
50: '#b36a98',
500: '#8f246f',
950: '#000000',
},
}SCSS
$custom: #8f246f; $custom-light: #b36a98; $custom-dark: #000000;
JSON
{
"hex": "#8f246f",
"rgb": {
"r": 143,
"g": 36,
"b": 111
},
"hsl": {
"h": 317.944,
"s": 59.777,
"l": 35.098
},
"oklch": {
"l": 0.45683,
"c": 0.16228,
"h": 342.6
},
"luminance": 0.08249
}Semantic roles & 50–950 ramp
primary
#8F246F
secondary
#55B973
accent
#E37445
background
#FBF6F9
surface
#F6ECF2
border
#D0C7CC
text
#11070D
muted
#807A7E