#8F2168#8F2168
#8F2168 is a mid, vivid pink. Relative luminance 0.079; OKLCH L 45.1% C 0.161 H 346.0°. Best body text is #FFFFFF at 8.12:1 contrast (WCAG AA passes).
Color values
| HEX | #8F2168 |
|---|---|
| RGB | rgb(143, 33, 104) |
| HSL | hsl(321, 63%, 35%) |
| HSV | hsv(321, 77%, 56%) |
| CMYK | cmyk(0%, 76.9%, 27.3%, 43.9%) |
| CIE-LAB | lab(33.83, 51.57, -14.71) |
| CIE-LCH | lch(33.83, 53.63, 344.08°) |
| OKLab | oklab(45.1% 0.1566 -0.039) |
| OKLCH | oklch(45.1% 0.161 346) |
| XYZ | xyz(14.3709, 7.9284, 13.8675) |
| Luminance | 0.0793 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Violet
#9E0168
ΔE00 3.12
Dark Magenta
#960056
ΔE00 5.03
Deep Magenta
#A0025C
ΔE00 5.22
Dark Fuchsia
#9D0759
ΔE00 5.40
Reddish Purple
#910951
ΔE00 5.75
Velvet
#750851
ΔE00 6.57
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8F2168 #218F48
analogous
#7F218F #8F2168 #8F2131
triadic
#8F2168 #688F21 #21688F
tetradic
#8F2168 #8F7F21 #218F48 #21318F
square
#8F2168 #8F7F21 #218F48 #21318F
split-complementary
#8F2168 #318F21 #218F7F
monochromatic
#2C0A20 #5D1644 #8F2168 #C12C8C #D753A8
Accessibility & contrast
On white
8.12
#8F2168 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.59
#8F2168 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8F2168
8.12:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8F2168 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8F2168 | 1.00 | 8.12 | 2.59 | 8.12 |
| #FFFFFF | 8.12 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.59 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.12 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#30446A
Deuteranopia (green-blind)
#515666
Tritanopia (blue-blind)
#991E42
Achromatopsia (no color)
#505050
Design tokens & code
CSS
--color: #8f2168; /* rgb */ color: rgb(143, 33, 104); /* oklch */ color: oklch(45.1% 0.161 346.0);
Tailwind
colors: {
custom: {
50: '#b46893',
500: '#8f2168',
950: '#000000',
},
}SCSS
$custom: #8f2168; $custom-light: #b46893; $custom-dark: #000000;
JSON
{
"hex": "#8f2168",
"rgb": {
"r": 143,
"g": 33,
"b": 104
},
"hsl": {
"h": 321.273,
"s": 62.5,
"l": 34.51
},
"oklch": {
"l": 0.45099,
"c": 0.16136,
"h": 346
},
"luminance": 0.07927
}Semantic roles & 50–950 ramp
primary
#8F2168
secondary
#51BB76
accent
#E67C42
background
#FBF6F9
surface
#F6EBF1
border
#D0C6CB
text
#12070D
muted
#817A7E