#8F256D#8F256D
#8F256D is a mid, vivid pink. Relative luminance 0.083; OKLCH L 45.7% C 0.160 H 343.7°. Best body text is #FFFFFF at 7.91:1 contrast (WCAG AA passes).
Color values
| HEX | #8F256D |
|---|---|
| RGB | rgb(143, 37, 109) |
| HSL | hsl(319, 59%, 35%) |
| HSV | hsv(319, 74%, 56%) |
| CMYK | cmyk(0%, 74.1%, 23.8%, 43.9%) |
| CIE-LAB | lab(34.54, 50.87, -16.81) |
| CIE-LCH | lch(34.54, 53.57, 341.71°) |
| OKLab | oklab(45.68% 0.1534 -0.0449) |
| OKLCH | oklch(45.68% 0.16 343.7) |
| XYZ | xyz(14.7501, 8.2684, 15.2842) |
| Luminance | 0.0827 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Violet
#9E0168
ΔE00 3.76
Dark Magenta
#960056
ΔE00 6.15
Deep Magenta
#A0025C
ΔE00 6.16
Bruise
#7E4071
ΔE00 6.28
Dark Fuchsia
#9D0759
ΔE00 6.40
Reddish Purple
#910951
ΔE00 6.90
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8F256D #258F47
analogous
#7C258F #8F256D #8F2538
triadic
#8F256D #6D8F25 #256D8F
tetradic
#8F256D #8F7C25 #258F47 #25388F
square
#8F256D #8F7C25 #258F47 #25388F
split-complementary
#8F256D #388F25 #258F7C
monochromatic
#2E0C23 #5E1848 #8F256D #C03292 #D45AAD
Accessibility & contrast
On white
7.91
#8F256D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.65
#8F256D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8F256D
7.91:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8F256D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8F256D | 1.00 | 7.91 | 2.65 | 7.91 |
| #FFFFFF | 7.91 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.65 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.91 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#30466F
Deuteranopia (green-blind)
#51586B
Tritanopia (blue-blind)
#982546
Achromatopsia (no color)
#515151
Design tokens & code
CSS
--color: #8f256d; /* rgb */ color: rgb(143, 37, 109); /* oklch */ color: oklch(45.7% 0.160 343.7);
Tailwind
colors: {
custom: {
50: '#b36a97',
500: '#8f256d',
950: '#000000',
},
}SCSS
$custom: #8f256d; $custom-light: #b36a97; $custom-dark: #000000;
JSON
{
"hex": "#8f256d",
"rgb": {
"r": 143,
"g": 37,
"b": 109
},
"hsl": {
"h": 319.245,
"s": 58.889,
"l": 35.294
},
"oklch": {
"l": 0.4568,
"c": 0.15981,
"h": 343.7
},
"luminance": 0.08267
}Semantic roles & 50–950 ramp
primary
#8F256D
secondary
#57B976
accent
#E27846
background
#FBF6F9
surface
#F6ECF2
border
#D0C7CC
text
#11070D
muted
#807A7E