#8F236F#8F236F
#8F236F is a mid, vivid pink. Relative luminance 0.082; OKLCH L 45.6% C 0.163 H 342.5°. Best body text is #FFFFFF at 7.96:1 contrast (WCAG AA passes).
Color values
| HEX | #8F236F |
|---|---|
| RGB | rgb(143, 35, 111) |
| HSL | hsl(318, 61%, 35%) |
| HSV | hsv(318, 76%, 56%) |
| CMYK | cmyk(0%, 75.5%, 22.4%, 43.9%) |
| CIE-LAB | lab(34.38, 51.84, -18.32) |
| CIE-LCH | lch(34.38, 54.99, 340.53°) |
| OKLab | oklab(45.59% 0.1559 -0.0491) |
| OKLCH | oklch(45.59% 0.163 342.5) |
| XYZ | xyz(14.7985, 8.1909, 15.8375) |
| Luminance | 0.0819 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Violet
#9E0168
ΔE00 3.93
Bruise
#7E4071
ΔE00 6.46
Warm Purple
#952E8F
ΔE00 6.48
Dark Magenta
#960056
ΔE00 6.56
Deep Magenta
#A0025C
ΔE00 6.58
Dark Fuchsia
#9D0759
ΔE00 6.85
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8F236F #238F43
analogous
#79238F #8F236F #8F2339
triadic
#8F236F #6F8F23 #236F8F
tetradic
#8F236F #8F7923 #238F43 #23398F
square
#8F236F #8F7923 #238F43 #23398F
split-complementary
#8F236F #398F23 #238F79
monochromatic
#2D0B23 #5E1749 #8F236F #C02F95 #D657B0
Accessibility & contrast
On white
7.96
#8F236F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.64
#8F236F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8F236F
7.96:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8F236F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8F236F | 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)
#2E4671
Deuteranopia (green-blind)
#4F576D
Tritanopia (blue-blind)
#982446
Achromatopsia (no color)
#515151
Design tokens & code
CSS
--color: #8f236f; /* rgb */ color: rgb(143, 35, 111); /* oklch */ color: oklch(45.6% 0.163 342.5);
Tailwind
colors: {
custom: {
50: '#b36998',
500: '#8f236f',
950: '#000000',
},
}SCSS
$custom: #8f236f; $custom-light: #b36998; $custom-dark: #000000;
JSON
{
"hex": "#8f236f",
"rgb": {
"r": 143,
"g": 35,
"b": 111
},
"hsl": {
"h": 317.778,
"s": 60.674,
"l": 34.902
},
"oklch": {
"l": 0.45594,
"c": 0.16345,
"h": 342.5
},
"luminance": 0.08189
}Semantic roles & 50–950 ramp
primary
#8F236F
secondary
#54BA72
accent
#E47344
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11070D
muted
#807A7E