#901278#901278
#901278 is a mid, vivid pink. Relative luminance 0.077; OKLCH L 45.1% C 0.186 H 338.0°. Best body text is #FFFFFF at 8.26:1 contrast (WCAG AA passes).
Color values
| HEX | #901278 |
|---|---|
| RGB | rgb(144, 18, 120) |
| HSL | hsl(311, 78%, 32%) |
| HSV | hsv(311, 88%, 56%) |
| CMYK | cmyk(0%, 87.5%, 16.7%, 43.5%) |
| CIE-LAB | lab(33.39, 57.96, -25.53) |
| CIE-LCH | lch(33.39, 63.33, 336.22°) |
| OKLab | oklab(45.06% 0.172 -0.0695) |
| OKLCH | oklch(45.06% 0.186 338) |
| XYZ | xyz(15.1085, 7.7195, 18.4600) |
| Luminance | 0.0772 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Darkmagenta
#8B008B
ΔE00 4.82
Purple
#800080
ΔE00 5.14
Warm Purple
#952E8F
ΔE00 5.29
Darkish Purple
#751973
ΔE00 5.38
Red Violet
#9E0168
ΔE00 5.48
Barney Purple
#A00498
ΔE00 5.75
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#901278 #12902A
analogous
#691290 #901278 #901239
triadic
#901278 #789012 #127890
tetradic
#901278 #906912 #12902A #123990
square
#901278 #906912 #12902A #123990
split-complementary
#901278 #399012 #129069
monochromatic
#23041D #5A0B4B #901278 #C619A5 #E636C5
Accessibility & contrast
On white
8.26
#901278 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.54
#901278 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #901278
8.26:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##901278 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##901278 | 1.00 | 8.26 | 2.54 | 8.26 |
| #FFFFFF | 8.26 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.54 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.26 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1A437A
Deuteranopia (green-blind)
#485575
Tritanopia (blue-blind)
#981C47
Achromatopsia (no color)
#4E4E4E
Design tokens & code
CSS
--color: #901278; /* rgb */ color: rgb(144, 18, 120); /* oklch */ color: oklch(45.1% 0.186 338.0);
Tailwind
colors: {
custom: {
50: '#b5649f',
500: '#901278',
950: '#000000',
},
}SCSS
$custom: #901278; $custom-light: #b5649f; $custom-dark: #000000;
JSON
{
"hex": "#901278",
"rgb": {
"r": 144,
"g": 18,
"b": 120
},
"hsl": {
"h": 311.429,
"s": 77.778,
"l": 31.765
},
"oklch": {
"l": 0.45061,
"c": 0.18554,
"h": 338
},
"luminance": 0.07718
}Semantic roles & 50–950 ramp
primary
#901278
secondary
#3AC454
accent
#F45834
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#12060E
muted
#817A7E