#8B256F#8B256F
#8B256F is a mid, vivid pink. Relative luminance 0.080; OKLCH L 45.1% C 0.158 H 341.0°. Best body text is #FFFFFF at 8.10:1 contrast (WCAG AA passes).
Color values
| HEX | #8B256F |
|---|---|
| RGB | rgb(139, 37, 111) |
| HSL | hsl(316, 58%, 35%) |
| HSV | hsv(316, 73%, 55%) |
| CMYK | cmyk(0%, 73.4%, 20.1%, 45.5%) |
| CIE-LAB | lab(33.90, 50.08, -19.12) |
| CIE-LCH | lch(33.90, 53.61, 339.11°) |
| OKLab | oklab(45.11% 0.1497 -0.0514) |
| OKLCH | oklch(45.11% 0.158 341) |
| XYZ | xyz(14.1787, 7.9612, 15.8258) |
| Luminance | 0.0796 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Violet
#9E0168
ΔE00 4.70
Bruise
#7E4071
ΔE00 6.02
Warm Purple
#952E8F
ΔE00 6.35
Darkish Purple
#751973
ΔE00 6.42
Grape
#6C3461
ΔE00 7.02
Velvet
#750851
ΔE00 7.08
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8B256F #258B41
analogous
#74258B #8B256F #8B253C
triadic
#8B256F #6F8B25 #256F8B
tetradic
#8B256F #8B7425 #258B41 #253C8B
square
#8B256F #8B7425 #258B41 #253C8B
split-complementary
#8B256F #3C8B25 #258B74
monochromatic
#2A0B22 #5B1848 #8B256F #BB3296 #D358B1
Accessibility & contrast
On white
8.10
#8B256F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.59
#8B256F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8B256F
8.10:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8B256F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8B256F | 1.00 | 8.10 | 2.59 | 8.10 |
| #FFFFFF | 8.10 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.59 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.10 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2D4571
Deuteranopia (green-blind)
#4D566D
Tritanopia (blue-blind)
#942747
Achromatopsia (no color)
#505050
Design tokens & code
CSS
--color: #8b256f; /* rgb */ color: rgb(139, 37, 111); /* oklch */ color: oklch(45.1% 0.158 341.0);
Tailwind
colors: {
custom: {
50: '#b06998',
500: '#8b256f',
950: '#000000',
},
}SCSS
$custom: #8b256f; $custom-light: #b06998; $custom-dark: #000000;
JSON
{
"hex": "#8b256f",
"rgb": {
"r": 139,
"g": 37,
"b": 111
},
"hsl": {
"h": 316.471,
"s": 57.955,
"l": 34.51
},
"oklch": {
"l": 0.45112,
"c": 0.15833,
"h": 341
},
"luminance": 0.0796
}Semantic roles & 50–950 ramp
primary
#8B256F
secondary
#55B770
accent
#E17147
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11070D
muted
#807A7E