#94227F#94227F
#94227F is a mid, vivid pink. Relative luminance 0.090; OKLCH L 47.1% C 0.179 H 336.7°. Best body text is #FFFFFF at 7.52:1 contrast (WCAG AA passes).
Color values
| HEX | #94227F |
|---|---|
| RGB | rgb(148, 34, 127) |
| HSL | hsl(311, 63%, 36%) |
| HSV | hsv(311, 77%, 58%) |
| CMYK | cmyk(0%, 77%, 14.2%, 42%) |
| CIE-LAB | lab(35.93, 55.72, -25.89) |
| CIE-LCH | lch(35.93, 61.44, 335.08°) |
| OKLab | oklab(47.14% 0.164 -0.0705) |
| OKLCH | oklch(47.14% 0.179 336.7) |
| XYZ | xyz(16.6158, 8.9738, 20.9316) |
| Luminance | 0.0897 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Warm Purple
#952E8F
ΔE00 3.42
Barney Purple
#A00498
ΔE00 4.86
Darkmagenta
#8B008B
ΔE00 5.34
Red Violet
#9E0168
ΔE00 6.01
Purple
#800080
ΔE00 6.33
Darkish Purple
#751973
ΔE00 6.61
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#94227F #229437
analogous
#702294 #94227F #942246
triadic
#94227F #7F9422 #227F94
tetradic
#94227F #947022 #229437 #224694
square
#94227F #947022 #229437 #224694
split-complementary
#94227F #469422 #229470
monochromatic
#300B2A #621754 #94227F #C62DAA #D958C1
Accessibility & contrast
On white
7.52
#94227F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.79
#94227F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #94227F
7.52:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##94227F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##94227F | 1.00 | 7.52 | 2.79 | 7.52 |
| #FFFFFF | 7.52 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.79 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.52 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#254981
Deuteranopia (green-blind)
#4D5B7C
Tritanopia (blue-blind)
#9C2A4E
Achromatopsia (no color)
#545454
Design tokens & code
CSS
--color: #94227f; /* rgb */ color: rgb(148, 34, 127); /* oklch */ color: oklch(47.1% 0.179 336.7);
Tailwind
colors: {
custom: {
50: '#b76aa4',
500: '#94227f',
950: '#000000',
},
}SCSS
$custom: #94227f; $custom-light: #b76aa4; $custom-dark: #000000;
JSON
{
"hex": "#94227f",
"rgb": {
"r": 148,
"g": 34,
"b": 127
},
"hsl": {
"h": 311.053,
"s": 62.637,
"l": 35.686
},
"oklch": {
"l": 0.47139,
"c": 0.17854,
"h": 336.7
},
"luminance": 0.08972
}Semantic roles & 50–950 ramp
primary
#94227F
secondary
#55BD68
accent
#E66042
background
#FBF6FA
surface
#F6ECF4
border
#D0C7CE
text
#12070F
muted
#817A7F