#942074#942074
#942074 is a mid, vivid pink. Relative luminance 0.086; OKLCH L 46.4% C 0.173 H 341.8°. Best body text is #FFFFFF at 7.73:1 contrast (WCAG AA passes).
Color values
| HEX | #942074 |
|---|---|
| RGB | rgb(148, 32, 116) |
| HSL | hsl(317, 64%, 35%) |
| HSV | hsv(317, 78%, 58%) |
| CMYK | cmyk(0%, 78.4%, 21.6%, 42%) |
| CIE-LAB | lab(35.19, 54.77, -20.16) |
| CIE-LCH | lch(35.19, 58.36, 339.79°) |
| OKLab | oklab(46.43% 0.1645 -0.0542) |
| OKLCH | oklch(46.43% 0.173 341.8) |
| XYZ | xyz(15.8822, 8.5915, 17.3415) |
| Luminance | 0.0859 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Violet
#9E0168
ΔE00 3.89
Warm Purple
#952E8F
ΔE00 5.67
Deep Magenta
#A0025C
ΔE00 6.84
Barney Purple
#A00498
ΔE00 6.99
Bruise
#7E4071
ΔE00 7.05
Dark Magenta
#960056
ΔE00 7.09
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#942074 #209440
analogous
#7A2094 #942074 #94203A
triadic
#942074 #749420 #207494
tetradic
#942074 #947A20 #209440 #203A94
square
#942074 #947A20 #209440 #203A94
split-complementary
#942074 #3A9420 #20947A
monochromatic
#2F0A25 #62154D #942074 #C62B9B #DA54B5
Accessibility & contrast
On white
7.73
#942074 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.72
#942074 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #942074
7.73:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##942074 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##942074 | 1.00 | 7.73 | 2.72 | 7.73 |
| #FFFFFF | 7.73 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.72 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.73 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2B4776
Deuteranopia (green-blind)
#515971
Tritanopia (blue-blind)
#9D2248
Achromatopsia (no color)
#535353
Design tokens & code
CSS
--color: #942074; /* rgb */ color: rgb(148, 32, 116); /* oklch */ color: oklch(46.4% 0.173 341.8);
Tailwind
colors: {
custom: {
50: '#b7699c',
500: '#942074',
950: '#000000',
},
}SCSS
$custom: #942074; $custom-light: #b7699c; $custom-dark: #000000;
JSON
{
"hex": "#942074",
"rgb": {
"r": 148,
"g": 32,
"b": 116
},
"hsl": {
"h": 316.552,
"s": 64.444,
"l": 35.294
},
"oklch": {
"l": 0.46426,
"c": 0.17322,
"h": 341.8
},
"luminance": 0.0859
}Semantic roles & 50–950 ramp
primary
#942074
secondary
#52BE70
accent
#E76E40
background
#FBF6F9
surface
#F6ECF2
border
#D0C7CC
text
#12070E
muted
#817A7E