#942276#942276
#942276 is a mid, vivid pink. Relative luminance 0.087; OKLCH L 46.7% C 0.172 H 340.9°. Best body text is #FFFFFF at 7.64:1 contrast (WCAG AA passes).
Color values
| HEX | #942276 |
|---|---|
| RGB | rgb(148, 34, 118) |
| HSL | hsl(316, 63%, 36%) |
| HSV | hsv(316, 77%, 58%) |
| CMYK | cmyk(0%, 77%, 20.3%, 42%) |
| CIE-LAB | lab(35.50, 54.42, -20.93) |
| CIE-LCH | lch(35.50, 58.31, 338.96°) |
| OKLab | oklab(46.68% 0.1629 -0.0564) |
| OKLCH | oklch(46.68% 0.172 340.9) |
| XYZ | xyz(16.0553, 8.7496, 17.9793) |
| Luminance | 0.0875 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Violet
#9E0168
ΔE00 4.29
Warm Purple
#952E8F
ΔE00 5.22
Barney Purple
#A00498
ΔE00 6.67
Bruise
#7E4071
ΔE00 6.90
Darkmagenta
#8B008B
ΔE00 6.95
Light Eggplant
#894585
ΔE00 7.14
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#942276 #229440
analogous
#792294 #942276 #94223D
triadic
#942276 #769422 #227694
tetradic
#942276 #947922 #229440 #223D94
square
#942276 #947922 #229440 #223D94
split-complementary
#942276 #3D9422 #229479
monochromatic
#300B27 #62174E #942276 #C62D9E #D958B7
Accessibility & contrast
On white
7.64
#942276 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.75
#942276 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #942276
7.64:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##942276 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##942276 | 1.00 | 7.64 | 2.75 | 7.64 |
| #FFFFFF | 7.64 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.75 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.64 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2C4878
Deuteranopia (green-blind)
#505A73
Tritanopia (blue-blind)
#9D2549
Achromatopsia (no color)
#535353
Design tokens & code
CSS
--color: #942276; /* rgb */ color: rgb(148, 34, 118); /* oklch */ color: oklch(46.7% 0.172 340.9);
Tailwind
colors: {
custom: {
50: '#b76a9d',
500: '#942276',
950: '#000000',
},
}SCSS
$custom: #942276; $custom-light: #b76a9d; $custom-dark: #000000;
JSON
{
"hex": "#942276",
"rgb": {
"r": 148,
"g": 34,
"b": 118
},
"hsl": {
"h": 315.789,
"s": 62.637,
"l": 35.686
},
"oklch": {
"l": 0.46682,
"c": 0.17241,
"h": 340.9
},
"luminance": 0.08748
}Semantic roles & 50–950 ramp
primary
#942276
secondary
#55BD70
accent
#E66D42
background
#FBF6F9
surface
#F6ECF2
border
#D0C7CC
text
#12070E
muted
#817A7E