#8F2274#8F2274
#8F2274 is a mid, vivid pink. Relative luminance 0.082; OKLCH L 45.8% C 0.168 H 340.0°. Best body text is #FFFFFF at 7.93:1 contrast (WCAG AA passes).
Color values
| HEX | #8F2274 |
|---|---|
| RGB | rgb(143, 34, 116) |
| HSL | hsl(315, 62%, 35%) |
| HSV | hsv(315, 76%, 56%) |
| CMYK | cmyk(0%, 76.2%, 18.9%, 43.9%) |
| CIE-LAB | lab(34.49, 52.89, -21.31) |
| CIE-LCH | lch(34.49, 57.02, 338.05°) |
| OKLab | oklab(45.75% 0.1577 -0.0576) |
| OKLCH | oklch(45.75% 0.168 340) |
| XYZ | xyz(15.0525, 8.2461, 17.3185) |
| Luminance | 0.0824 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Red Violet
#9E0168
ΔE00 4.71
Warm Purple
#952E8F
ΔE00 5.42
Darkish Purple
#751973
ΔE00 6.35
Darkmagenta
#8B008B
ΔE00 6.58
Bruise
#7E4071
ΔE00 6.63
Purple
#800080
ΔE00 6.85
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8F2274 #228F3D
analogous
#73228F #8F2274 #8F223E
triadic
#8F2274 #748F22 #22748F
tetradic
#8F2274 #8F7322 #228F3D #223E8F
square
#8F2274 #8F7322 #228F3D #223E8F
split-complementary
#8F2274 #3E8F22 #228F73
monochromatic
#2C0A24 #5E164C #8F2274 #C02E9C #D755B6
Accessibility & contrast
On white
7.93
#8F2274 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.65
#8F2274 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8F2274
7.93:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8F2274 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8F2274 | 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)
#2A4676
Deuteranopia (green-blind)
#4D5771
Tritanopia (blue-blind)
#982648
Achromatopsia (no color)
#515151
Design tokens & code
CSS
--color: #8f2274; /* rgb */ color: rgb(143, 34, 116); /* oklch */ color: oklch(45.8% 0.168 340.0);
Tailwind
colors: {
custom: {
50: '#b3699c',
500: '#8f2274',
950: '#000000',
},
}SCSS
$custom: #8f2274; $custom-light: #b3699c; $custom-dark: #000000;
JSON
{
"hex": "#8f2274",
"rgb": {
"r": 143,
"g": 34,
"b": 116
},
"hsl": {
"h": 314.862,
"s": 61.582,
"l": 34.706
},
"oklch": {
"l": 0.45752,
"c": 0.1679,
"h": 340
},
"luminance": 0.08245
}Semantic roles & 50–950 ramp
primary
#8F2274
secondary
#52BA6C
accent
#E56B43
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11070E
muted
#807A7E