#8F1275#8F1275
#8F1275 is a dark, vivid pink. Relative luminance 0.076; OKLCH L 44.7% C 0.183 H 339.0°. Best body text is #FFFFFF at 8.36:1 contrast (WCAG AA passes).
Color values
| HEX | #8F1275 |
|---|---|
| RGB | rgb(143, 18, 117) |
| HSL | hsl(312, 78%, 32%) |
| HSV | hsv(312, 87%, 56%) |
| CMYK | cmyk(0%, 87.4%, 18.2%, 43.9%) |
| CIE-LAB | lab(33.05, 57.32, -24.20) |
| CIE-LCH | lch(33.05, 62.22, 337.12°) |
| OKLab | oklab(44.73% 0.1709 -0.0657) |
| OKLCH | oklch(44.73% 0.183 339) |
| XYZ | xyz(14.7553, 7.5581, 17.5080) |
| Luminance | 0.0756 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Red Violet
#9E0168
ΔE00 5.12
Darkmagenta
#8B008B
ΔE00 5.29
Darkish Purple
#751973
ΔE00 5.41
Purple
#800080
ΔE00 5.41
Warm Purple
#952E8F
ΔE00 5.76
Barney Purple
#A00498
ΔE00 6.32
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8F1275 #128F2C
analogous
#6B128F #8F1275 #8F1237
triadic
#8F1275 #758F12 #12758F
tetradic
#8F1275 #8F6B12 #128F2C #12378F
square
#8F1275 #8F6B12 #128F2C #12378F
split-complementary
#8F1275 #378F12 #128F6B
monochromatic
#22041C #590B49 #8F1275 #C519A1 #E636C1
Accessibility & contrast
On white
8.36
#8F1275 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.51
#8F1275 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8F1275
8.36:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8F1275 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8F1275 | 1.00 | 8.36 | 2.51 | 8.36 |
| #FFFFFF | 8.36 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.51 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.36 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1C4277
Deuteranopia (green-blind)
#485472
Tritanopia (blue-blind)
#981A45
Achromatopsia (no color)
#4E4E4E
Design tokens & code
CSS
--color: #8f1275; /* rgb */ color: rgb(143, 18, 117); /* oklch */ color: oklch(44.7% 0.183 339.0);
Tailwind
colors: {
custom: {
50: '#b4649d',
500: '#8f1275',
950: '#000000',
},
}SCSS
$custom: #8f1275; $custom-light: #b4649d; $custom-dark: #000000;
JSON
{
"hex": "#8f1275",
"rgb": {
"r": 143,
"g": 18,
"b": 117
},
"hsl": {
"h": 312.48,
"s": 77.64,
"l": 31.569
},
"oklch": {
"l": 0.44728,
"c": 0.18305,
"h": 339
},
"luminance": 0.07557
}Semantic roles & 50–950 ramp
primary
#8F1275
secondary
#3AC356
accent
#F45C34
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#12060E
muted
#817A7E