#8F1276#8F1276
#8F1276 is a dark, vivid pink. Relative luminance 0.076; OKLCH L 44.8% C 0.184 H 338.5°. Best body text is #FFFFFF at 8.35:1 contrast (WCAG AA passes).
Color values
| HEX | #8F1276 |
|---|---|
| RGB | rgb(143, 18, 118) |
| HSL | hsl(312, 78%, 32%) |
| HSV | hsv(312, 87%, 56%) |
| CMYK | cmyk(0%, 87.4%, 17.5%, 43.9%) |
| CIE-LAB | lab(33.10, 57.46, -24.75) |
| CIE-LCH | lch(33.10, 62.56, 336.70°) |
| OKLab | oklab(44.78% 0.171 -0.0672) |
| OKLCH | oklch(44.78% 0.184 338.5) |
| XYZ | xyz(14.8144, 7.5818, 17.8193) |
| Luminance | 0.0758 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Darkmagenta
#8B008B
ΔE00 5.08
Purple
#800080
ΔE00 5.25
Red Violet
#9E0168
ΔE00 5.30
Darkish Purple
#751973
ΔE00 5.32
Warm Purple
#952E8F
ΔE00 5.61
Barney Purple
#A00498
ΔE00 6.13
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8F1276 #128F2B
analogous
#6A128F #8F1276 #8F1238
triadic
#8F1276 #768F12 #12768F
tetradic
#8F1276 #8F6A12 #128F2B #12388F
square
#8F1276 #8F6A12 #128F2B #12388F
split-complementary
#8F1276 #388F12 #128F6A
monochromatic
#22041C #590B49 #8F1276 #C519A3 #E636C2
Accessibility & contrast
On white
8.35
#8F1276 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.52
#8F1276 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8F1276
8.35:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8F1276 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8F1276 | 1.00 | 8.35 | 2.52 | 8.35 |
| #FFFFFF | 8.35 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.52 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.35 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1B4278
Deuteranopia (green-blind)
#485473
Tritanopia (blue-blind)
#981B46
Achromatopsia (no color)
#4E4E4E
Design tokens & code
CSS
--color: #8f1276; /* rgb */ color: rgb(143, 18, 118); /* oklch */ color: oklch(44.8% 0.184 338.5);
Tailwind
colors: {
custom: {
50: '#b4649e',
500: '#8f1276',
950: '#000000',
},
}SCSS
$custom: #8f1276; $custom-light: #b4649e; $custom-dark: #000000;
JSON
{
"hex": "#8f1276",
"rgb": {
"r": 143,
"g": 18,
"b": 118
},
"hsl": {
"h": 312,
"s": 77.64,
"l": 31.569
},
"oklch": {
"l": 0.44781,
"c": 0.18371,
"h": 338.5
},
"luminance": 0.0758
}Semantic roles & 50–950 ramp
primary
#8F1276
secondary
#3AC355
accent
#F45A34
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#12060E
muted
#817A7E