#942278#942278
#942278 is a mid, vivid pink. Relative luminance 0.088; OKLCH L 46.8% C 0.174 H 340.0°. Best body text is #FFFFFF at 7.61:1 contrast (WCAG AA passes).
Color values
| HEX | #942278 |
|---|---|
| RGB | rgb(148, 34, 120) |
| HSL | hsl(315, 63%, 36%) |
| HSV | hsv(315, 77%, 58%) |
| CMYK | cmyk(0%, 77%, 18.9%, 42%) |
| CIE-LAB | lab(35.59, 54.70, -22.04) |
| CIE-LCH | lch(35.59, 58.98, 338.05°) |
| OKLab | oklab(46.78% 0.1632 -0.0596) |
| OKLCH | oklch(46.78% 0.174 340) |
| XYZ | xyz(16.1754, 8.7976, 18.6119) |
| Luminance | 0.0880 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Red Violet
#9E0168
ΔE00 4.67
Warm Purple
#952E8F
ΔE00 4.80
Barney Purple
#A00498
ΔE00 6.25
Darkmagenta
#8B008B
ΔE00 6.56
Bruise
#7E4071
ΔE00 6.97
Light Eggplant
#894585
ΔE00 6.98
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#942278 #22943E
analogous
#772294 #942278 #94223F
triadic
#942278 #789422 #227894
tetradic
#942278 #947722 #22943E #223F94
square
#942278 #947722 #22943E #223F94
split-complementary
#942278 #3F9422 #229477
monochromatic
#300B27 #621750 #942278 #C62DA0 #D958B9
Accessibility & contrast
On white
7.61
#942278 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.76
#942278 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #942278
7.61:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##942278 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##942278 | 1.00 | 7.61 | 2.76 | 7.61 |
| #FFFFFF | 7.61 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.76 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.61 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2A487A
Deuteranopia (green-blind)
#505A75
Tritanopia (blue-blind)
#9D264B
Achromatopsia (no color)
#545454
Design tokens & code
CSS
--color: #942278; /* rgb */ color: rgb(148, 34, 120); /* oklch */ color: oklch(46.8% 0.174 340.0);
Tailwind
colors: {
custom: {
50: '#b76a9f',
500: '#942278',
950: '#000000',
},
}SCSS
$custom: #942278; $custom-light: #b76a9f; $custom-dark: #000000;
JSON
{
"hex": "#942278",
"rgb": {
"r": 148,
"g": 34,
"b": 120
},
"hsl": {
"h": 314.737,
"s": 62.637,
"l": 35.686
},
"oklch": {
"l": 0.46781,
"c": 0.17374,
"h": 340
},
"luminance": 0.08796
}Semantic roles & 50–950 ramp
primary
#942278
secondary
#55BD6F
accent
#E66A42
background
#FBF6F9
surface
#F6ECF2
border
#D0C7CC
text
#12070E
muted
#817A7E