#8B246F#8B246F
#8B246F is a mid, vivid pink. Relative luminance 0.079; OKLCH L 45.0% C 0.160 H 341.0°. Best body text is #FFFFFF at 8.14:1 contrast (WCAG AA passes).
Color values
| HEX | #8B246F |
|---|---|
| RGB | rgb(139, 36, 111) |
| HSL | hsl(316, 59%, 34%) |
| HSV | hsv(316, 74%, 55%) |
| CMYK | cmyk(0%, 74.1%, 20.1%, 45.5%) |
| CIE-LAB | lab(33.77, 50.45, -19.32) |
| CIE-LCH | lch(33.77, 54.02, 339.05°) |
| OKLab | oklab(45.02% 0.1509 -0.052) |
| OKLCH | oklch(45.02% 0.16 341) |
| XYZ | xyz(14.1480, 7.8998, 15.8156) |
| Luminance | 0.0790 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Violet
#9E0168
ΔE00 4.68
Bruise
#7E4071
ΔE00 6.15
Darkish Purple
#751973
ΔE00 6.32
Warm Purple
#952E8F
ΔE00 6.36
Velvet
#750851
ΔE00 7.01
Rich Purple
#720058
ΔE00 7.04
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8B246F #248B40
analogous
#74248B #8B246F #8B243B
triadic
#8B246F #6F8B24 #246F8B
tetradic
#8B246F #8B7424 #248B40 #243B8B
square
#8B246F #8B7424 #248B40 #243B8B
split-complementary
#8B246F #3B8B24 #248B74
monochromatic
#2A0B21 #5A1748 #8B246F #BC3196 #D356B1
Accessibility & contrast
On white
8.14
#8B246F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.58
#8B246F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8B246F
8.14:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8B246F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8B246F | 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)
#2C4571
Deuteranopia (green-blind)
#4D556D
Tritanopia (blue-blind)
#942646
Achromatopsia (no color)
#4F4F4F
Design tokens & code
CSS
--color: #8b246f; /* rgb */ color: rgb(139, 36, 111); /* oklch */ color: oklch(45.0% 0.160 341.0);
Tailwind
colors: {
custom: {
50: '#b06998',
500: '#8b246f',
950: '#000000',
},
}SCSS
$custom: #8b246f; $custom-light: #b06998; $custom-dark: #000000;
JSON
{
"hex": "#8b246f",
"rgb": {
"r": 139,
"g": 36,
"b": 111
},
"hsl": {
"h": 316.311,
"s": 58.857,
"l": 34.314
},
"oklch": {
"l": 0.45019,
"c": 0.15956,
"h": 341
},
"luminance": 0.07898
}Semantic roles & 50–950 ramp
primary
#8B246F
secondary
#53B76F
accent
#E27046
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11070D
muted
#807A7E