#8F256F#8F256F
#8F256F is a mid, vivid pink. Relative luminance 0.083; OKLCH L 45.8% C 0.161 H 342.6°. Best body text is #FFFFFF at 7.89:1 contrast (WCAG AA passes).
Color values
| HEX | #8F256F |
|---|---|
| RGB | rgb(143, 37, 111) |
| HSL | hsl(318, 59%, 35%) |
| HSV | hsv(318, 74%, 56%) |
| CMYK | cmyk(0%, 74.1%, 22.4%, 43.9%) |
| CIE-LAB | lab(34.62, 51.14, -17.94) |
| CIE-LCH | lch(34.62, 54.20, 340.67°) |
| OKLab | oklab(45.77% 0.1538 -0.0481) |
| OKLCH | oklch(45.77% 0.161 342.6) |
| XYZ | xyz(14.8590, 8.3120, 15.8577) |
| Luminance | 0.0831 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Violet
#9E0168
ΔE00 4.00
Bruise
#7E4071
ΔE00 6.23
Warm Purple
#952E8F
ΔE00 6.49
Deep Magenta
#A0025C
ΔE00 6.56
Dark Magenta
#960056
ΔE00 6.58
Dark Fuchsia
#9D0759
ΔE00 6.83
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8F256F #258F45
analogous
#7A258F #8F256F #8F253A
triadic
#8F256F #6F8F25 #256F8F
tetradic
#8F256F #8F7A25 #258F45 #253A8F
square
#8F256F #8F7A25 #258F45 #253A8F
split-complementary
#8F256F #3A8F25 #258F7A
monochromatic
#2E0C24 #5E1849 #8F256F #C03295 #D45AAF
Accessibility & contrast
On white
7.89
#8F256F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.66
#8F256F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8F256F
7.89:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8F256F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8F256F | 1.00 | 7.89 | 2.66 | 7.89 |
| #FFFFFF | 7.89 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.66 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.89 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2F4671
Deuteranopia (green-blind)
#50586D
Tritanopia (blue-blind)
#982647
Achromatopsia (no color)
#515151
Design tokens & code
CSS
--color: #8f256f; /* rgb */ color: rgb(143, 37, 111); /* oklch */ color: oklch(45.8% 0.161 342.6);
Tailwind
colors: {
custom: {
50: '#b36a98',
500: '#8f256f',
950: '#000000',
},
}SCSS
$custom: #8f256f; $custom-light: #b36a98; $custom-dark: #000000;
JSON
{
"hex": "#8f256f",
"rgb": {
"r": 143,
"g": 37,
"b": 111
},
"hsl": {
"h": 318.113,
"s": 58.889,
"l": 35.294
},
"oklch": {
"l": 0.45774,
"c": 0.16109,
"h": 342.6
},
"luminance": 0.0831
}Semantic roles & 50–950 ramp
primary
#8F256F
secondary
#57B974
accent
#E27546
background
#FBF6F9
surface
#F6ECF2
border
#D0C7CC
text
#11070D
muted
#807A7E