#942281#942281
#942281 is a mid, vivid pink. Relative luminance 0.090; OKLCH L 47.2% C 0.180 H 335.9°. Best body text is #FFFFFF at 7.49:1 contrast (WCAG AA passes).
Color values
| HEX | #942281 |
|---|---|
| RGB | rgb(148, 34, 129) |
| HSL | hsl(310, 63%, 36%) |
| HSV | hsv(310, 77%, 58%) |
| CMYK | cmyk(0%, 77%, 12.8%, 42%) |
| CIE-LAB | lab(36.04, 56.02, -26.97) |
| CIE-LCH | lch(36.04, 62.18, 334.29°) |
| OKLab | oklab(47.25% 0.1642 -0.0736) |
| OKLCH | oklch(47.25% 0.18 335.9) |
| XYZ | xyz(16.7475, 9.0265, 21.6249) |
| Luminance | 0.0902 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Warm Purple
#952E8F
ΔE00 3.06
Barney Purple
#A00498
ΔE00 4.49
Darkmagenta
#8B008B
ΔE00 5.04
Purple
#800080
ΔE00 6.14
Red Violet
#9E0168
ΔE00 6.40
Darkish Purple
#751973
ΔE00 6.56
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#942281 #229435
analogous
#6E2294 #942281 #942248
triadic
#942281 #819422 #228194
tetradic
#942281 #946E22 #229435 #224894
square
#942281 #946E22 #229435 #224894
split-complementary
#942281 #489422 #22946E
monochromatic
#300B2A #621756 #942281 #C62DAC #D958C3
Accessibility & contrast
On white
7.49
#942281 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.81
#942281 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #942281
7.49:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##942281 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##942281 | 1.00 | 7.49 | 2.81 | 7.49 |
| #FFFFFF | 7.49 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.81 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.49 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#234A84
Deuteranopia (green-blind)
#4C5B7E
Tritanopia (blue-blind)
#9C2B4F
Achromatopsia (no color)
#555555
Design tokens & code
CSS
--color: #942281; /* rgb */ color: rgb(148, 34, 129); /* oklch */ color: oklch(47.2% 0.180 335.9);
Tailwind
colors: {
custom: {
50: '#b76aa6',
500: '#942281',
950: '#000000',
},
}SCSS
$custom: #942281; $custom-light: #b76aa6; $custom-dark: #000000;
JSON
{
"hex": "#942281",
"rgb": {
"r": 148,
"g": 34,
"b": 129
},
"hsl": {
"h": 310,
"s": 62.637,
"l": 35.686
},
"oklch": {
"l": 0.47245,
"c": 0.17997,
"h": 335.9
},
"luminance": 0.09025
}Semantic roles & 50–950 ramp
primary
#942281
secondary
#55BD66
accent
#E65D42
background
#FBF6FA
surface
#F6ECF4
border
#D0C7CE
text
#12070F
muted
#817A7F