#8B2274#8B2274
#8B2274 is a mid, vivid pink. Relative luminance 0.079; OKLCH L 45.1% C 0.165 H 338.4°. Best body text is #FFFFFF at 8.14:1 contrast (WCAG AA passes).
Color values
| HEX | #8B2274 |
|---|---|
| RGB | rgb(139, 34, 116) |
| HSL | hsl(313, 61%, 34%) |
| HSV | hsv(313, 76%, 55%) |
| CMYK | cmyk(0%, 75.5%, 16.5%, 45.5%) |
| CIE-LAB | lab(33.76, 51.88, -22.50) |
| CIE-LCH | lch(33.76, 56.55, 336.56°) |
| OKLab | oklab(45.09% 0.1537 -0.061) |
| OKLCH | oklch(45.09% 0.165 338.4) |
| XYZ | xyz(14.3722, 7.8953, 17.2866) |
| Luminance | 0.0789 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Warm Purple
#952E8F
ΔE00 5.39
Red Violet
#9E0168
ΔE00 5.43
Darkish Purple
#751973
ΔE00 5.46
Darkmagenta
#8B008B
ΔE00 6.05
Purple
#800080
ΔE00 6.12
Bruise
#7E4071
ΔE00 6.56
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8B2274 #228B39
analogous
#6E228B #8B2274 #8B2240
triadic
#8B2274 #748B22 #22748B
tetradic
#8B2274 #8B6E22 #228B39 #22408B
square
#8B2274 #8B6E22 #228B39 #22408B
split-complementary
#8B2274 #408B22 #228B6E
monochromatic
#290A22 #5A164B #8B2274 #BC2E9D #D553B8
Accessibility & contrast
On white
8.14
#8B2274 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.58
#8B2274 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8B2274
8.14:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8B2274 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8B2274 | 1.00 | 8.14 | 2.58 | 8.14 |
| #FFFFFF | 8.14 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.58 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.14 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#274576
Deuteranopia (green-blind)
#4A5572
Tritanopia (blue-blind)
#932748
Achromatopsia (no color)
#4F4F4F
Design tokens & code
CSS
--color: #8b2274; /* rgb */ color: rgb(139, 34, 116); /* oklch */ color: oklch(45.1% 0.165 338.4);
Tailwind
colors: {
custom: {
50: '#b0689c',
500: '#8b2274',
950: '#000000',
},
}SCSS
$custom: #8b2274; $custom-light: #b0689c; $custom-dark: #000000;
JSON
{
"hex": "#8b2274",
"rgb": {
"r": 139,
"g": 34,
"b": 116
},
"hsl": {
"h": 313.143,
"s": 60.694,
"l": 33.922
},
"oklch": {
"l": 0.4509,
"c": 0.16537,
"h": 338.4
},
"luminance": 0.07894
}Semantic roles & 50–950 ramp
primary
#8B2274
secondary
#50B867
accent
#E46744
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11070E
muted
#807A7E