#94227B#94227B
#94227B is a mid, vivid pink. Relative luminance 0.089; OKLCH L 46.9% C 0.176 H 338.6°. Best body text is #FFFFFF at 7.57:1 contrast (WCAG AA passes).
Color values
| HEX | #94227B |
|---|---|
| RGB | rgb(148, 34, 123) |
| HSL | hsl(313, 63%, 36%) |
| HSV | hsv(313, 77%, 58%) |
| CMYK | cmyk(0%, 77%, 16.9%, 42%) |
| CIE-LAB | lab(35.74, 55.13, -23.70) |
| CIE-LCH | lch(35.74, 60.01, 336.74°) |
| OKLab | oklab(46.93% 0.1636 -0.0643) |
| OKLCH | oklch(46.93% 0.176 338.6) |
| XYZ | xyz(16.3603, 8.8716, 19.5858) |
| Luminance | 0.0887 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Warm Purple
#952E8F
ΔE00 4.19
Red Violet
#9E0168
ΔE00 5.24
Barney Purple
#A00498
ΔE00 5.64
Darkmagenta
#8B008B
ΔE00 6.01
Purple
#800080
ΔE00 6.78
Light Eggplant
#894585
ΔE00 6.79
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#94227B #22943B
analogous
#742294 #94227B #942242
triadic
#94227B #7B9422 #227B94
tetradic
#94227B #947422 #22943B #224294
square
#94227B #947422 #22943B #224294
split-complementary
#94227B #429422 #229474
monochromatic
#300B28 #621752 #94227B #C62DA4 #D958BC
Accessibility & contrast
On white
7.57
#94227B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.77
#94227B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #94227B
7.57:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##94227B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##94227B | 1.00 | 7.57 | 2.77 | 7.57 |
| #FFFFFF | 7.57 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.77 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.57 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#28497D
Deuteranopia (green-blind)
#4F5A78
Tritanopia (blue-blind)
#9D284C
Achromatopsia (no color)
#545454
Design tokens & code
CSS
--color: #94227b; /* rgb */ color: rgb(148, 34, 123); /* oklch */ color: oklch(46.9% 0.176 338.6);
Tailwind
colors: {
custom: {
50: '#b76aa1',
500: '#94227b',
950: '#000000',
},
}SCSS
$custom: #94227b; $custom-light: #b76aa1; $custom-dark: #000000;
JSON
{
"hex": "#94227b",
"rgb": {
"r": 148,
"g": 34,
"b": 123
},
"hsl": {
"h": 313.158,
"s": 62.637,
"l": 35.686
},
"oklch": {
"l": 0.46932,
"c": 0.17577,
"h": 338.6
},
"luminance": 0.0887
}Semantic roles & 50–950 ramp
primary
#94227B
secondary
#55BD6C
accent
#E66642
background
#FBF6F9
surface
#F6ECF2
border
#D0C7CC
text
#12070F
muted
#817A7E