#8D226F#8D226F
#8D226F is a mid, vivid pink. Relative luminance 0.080; OKLCH L 45.2% C 0.163 H 341.7°. Best body text is #FFFFFF at 8.11:1 contrast (WCAG AA passes).
Color values
| HEX | #8D226F |
|---|---|
| RGB | rgb(141, 34, 111) |
| HSL | hsl(317, 61%, 34%) |
| HSV | hsv(317, 76%, 55%) |
| CMYK | cmyk(0%, 75.9%, 21.3%, 44.7%) |
| CIE-LAB | lab(33.89, 51.66, -19.11) |
| CIE-LCH | lch(33.89, 55.08, 339.71°) |
| OKLab | oklab(45.17% 0.155 -0.0514) |
| OKLCH | oklch(45.17% 0.163 341.7) |
| XYZ | xyz(14.4262, 7.9559, 15.8117) |
| Luminance | 0.0795 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Violet
#9E0168
ΔE00 4.27
Warm Purple
#952E8F
ΔE00 6.41
Bruise
#7E4071
ΔE00 6.48
Darkish Purple
#751973
ΔE00 6.57
Dark Magenta
#960056
ΔE00 6.81
Deep Magenta
#A0025C
ΔE00 6.95
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8D226F #228D40
analogous
#76228D #8D226F #8D223A
triadic
#8D226F #6F8D22 #226F8D
tetradic
#8D226F #8D7622 #228D40 #223A8D
square
#8D226F #8D7622 #228D40 #223A8D
split-complementary
#8D226F #3A8D22 #228D76
monochromatic
#2A0A21 #5C1648 #8D226F #BE2E96 #D654B1
Accessibility & contrast
On white
8.11
#8D226F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.59
#8D226F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8D226F
8.11:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8D226F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8D226F | 1.00 | 8.11 | 2.59 | 8.11 |
| #FFFFFF | 8.11 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.59 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.11 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2C4571
Deuteranopia (green-blind)
#4E566D
Tritanopia (blue-blind)
#962446
Achromatopsia (no color)
#505050
Design tokens & code
CSS
--color: #8d226f; /* rgb */ color: rgb(141, 34, 111); /* oklch */ color: oklch(45.2% 0.163 341.7);
Tailwind
colors: {
custom: {
50: '#b26898',
500: '#8d226f',
950: '#000000',
},
}SCSS
$custom: #8d226f; $custom-light: #b26898; $custom-dark: #000000;
JSON
{
"hex": "#8d226f",
"rgb": {
"r": 141,
"g": 34,
"b": 111
},
"hsl": {
"h": 316.822,
"s": 61.143,
"l": 34.314
},
"oklch": {
"l": 0.45173,
"c": 0.16326,
"h": 341.7
},
"luminance": 0.07954
}Semantic roles & 50–950 ramp
primary
#8D226F
secondary
#51B96F
accent
#E47144
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11070D
muted
#807A7E