#8F226F#8F226F
#8F226F is a mid, vivid pink. Relative luminance 0.081; OKLCH L 45.5% C 0.165 H 342.4°. Best body text is #FFFFFF at 8.00:1 contrast (WCAG AA passes).
Color values
| HEX | #8F226F |
|---|---|
| RGB | rgb(143, 34, 111) |
| HSL | hsl(318, 62%, 35%) |
| HSV | hsv(318, 76%, 56%) |
| CMYK | cmyk(0%, 76.2%, 22.4%, 43.9%) |
| CIE-LAB | lab(34.26, 52.18, -18.51) |
| CIE-LCH | lch(34.26, 55.37, 340.47°) |
| OKLab | oklab(45.51% 0.1569 -0.0496) |
| OKLCH | oklch(45.51% 0.165 342.4) |
| XYZ | xyz(14.7695, 8.1329, 15.8278) |
| Luminance | 0.0813 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Violet
#9E0168
ΔE00 3.91
Warm Purple
#952E8F
ΔE00 6.48
Dark Magenta
#960056
ΔE00 6.55
Bruise
#7E4071
ΔE00 6.57
Deep Magenta
#A0025C
ΔE00 6.59
Dark Fuchsia
#9D0759
ΔE00 6.87
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8F226F #228F42
analogous
#79228F #8F226F #8F2238
triadic
#8F226F #6F8F22 #226F8F
tetradic
#8F226F #8F7922 #228F42 #22388F
square
#8F226F #8F7922 #228F42 #22388F
split-complementary
#8F226F #388F22 #228F79
monochromatic
#2C0A22 #5E1649 #8F226F #C02E95 #D755B0
Accessibility & contrast
On white
8.00
#8F226F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.63
#8F226F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8F226F
8.00:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8F226F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8F226F | 1.00 | 8.00 | 2.63 | 8.00 |
| #FFFFFF | 8.00 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.63 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.00 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2D4571
Deuteranopia (green-blind)
#4F576D
Tritanopia (blue-blind)
#982346
Achromatopsia (no color)
#515151
Design tokens & code
CSS
--color: #8f226f; /* rgb */ color: rgb(143, 34, 111); /* oklch */ color: oklch(45.5% 0.165 342.4);
Tailwind
colors: {
custom: {
50: '#b36998',
500: '#8f226f',
950: '#000000',
},
}SCSS
$custom: #8f226f; $custom-light: #b36998; $custom-dark: #000000;
JSON
{
"hex": "#8f226f",
"rgb": {
"r": 143,
"g": 34,
"b": 111
},
"hsl": {
"h": 317.615,
"s": 61.582,
"l": 34.706
},
"oklch": {
"l": 0.45508,
"c": 0.16458,
"h": 342.4
},
"luminance": 0.08131
}Semantic roles & 50–950 ramp
primary
#8F226F
secondary
#52BA71
accent
#E57343
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11070D
muted
#807A7E