#942274#942274
#942274 is a mid, vivid pink. Relative luminance 0.087; OKLCH L 46.6% C 0.171 H 341.9°. Best body text is #FFFFFF at 7.66:1 contrast (WCAG AA passes).
Color values
| HEX | #942274 |
|---|---|
| RGB | rgb(148, 34, 116) |
| HSL | hsl(317, 63%, 36%) |
| HSV | hsv(317, 77%, 58%) |
| CMYK | cmyk(0%, 77%, 21.6%, 42%) |
| CIE-LAB | lab(35.41, 54.14, -19.82) |
| CIE-LCH | lch(35.41, 57.66, 339.89°) |
| OKLab | oklab(46.59% 0.1626 -0.0533) |
| OKLCH | oklch(46.59% 0.171 341.9) |
| XYZ | xyz(15.9377, 8.7026, 17.3600) |
| Luminance | 0.0870 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Violet
#9E0168
ΔE00 3.93
Warm Purple
#952E8F
ΔE00 5.66
Deep Magenta
#A0025C
ΔE00 6.81
Bruise
#7E4071
ΔE00 6.86
Dark Magenta
#960056
ΔE00 7.10
Barney Purple
#A00498
ΔE00 7.10
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#942274 #229442
analogous
#7B2294 #942274 #94223B
triadic
#942274 #749422 #227494
tetradic
#942274 #947B22 #229442 #223B94
square
#942274 #947B22 #229442 #223B94
split-complementary
#942274 #3B9422 #22947B
monochromatic
#300B26 #62174D #942274 #C62D9B #D958B4
Accessibility & contrast
On white
7.66
#942274 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.74
#942274 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #942274
7.66:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##942274 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##942274 | 1.00 | 7.66 | 2.74 | 7.66 |
| #FFFFFF | 7.66 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.74 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.66 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2D4776
Deuteranopia (green-blind)
#515A71
Tritanopia (blue-blind)
#9D2448
Achromatopsia (no color)
#535353
Design tokens & code
CSS
--color: #942274; /* rgb */ color: rgb(148, 34, 116); /* oklch */ color: oklch(46.6% 0.171 341.9);
Tailwind
colors: {
custom: {
50: '#b76a9c',
500: '#942274',
950: '#000000',
},
}SCSS
$custom: #942274; $custom-light: #b76a9c; $custom-dark: #000000;
JSON
{
"hex": "#942274",
"rgb": {
"r": 148,
"g": 34,
"b": 116
},
"hsl": {
"h": 316.842,
"s": 62.637,
"l": 35.686
},
"oklch": {
"l": 0.46585,
"c": 0.17111,
"h": 341.9
},
"luminance": 0.08701
}Semantic roles & 50–950 ramp
primary
#942274
secondary
#55BD72
accent
#E67042
background
#FBF6F9
surface
#F6ECF2
border
#D0C7CC
text
#12070E
muted
#817A7E