#942071#942071
#942071 is a mid, vivid pink. Relative luminance 0.085; OKLCH L 46.3% C 0.171 H 343.2°. Best body text is #FFFFFF at 7.77:1 contrast (WCAG AA passes).
Color values
| HEX | #942071 |
|---|---|
| RGB | rgb(148, 32, 113) |
| HSL | hsl(318, 64%, 35%) |
| HSV | hsv(318, 78%, 58%) |
| CMYK | cmyk(0%, 78.4%, 23.6%, 42%) |
| CIE-LAB | lab(35.05, 54.36, -18.48) |
| CIE-LCH | lch(35.05, 57.42, 341.23°) |
| OKLab | oklab(46.28% 0.164 -0.0495) |
| OKLCH | oklch(46.28% 0.171 343.2) |
| XYZ | xyz(15.7105, 8.5229, 16.4373) |
| Luminance | 0.0852 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Violet
#9E0168
ΔE00 3.36
Deep Magenta
#A0025C
ΔE00 6.21
Warm Purple
#952E8F
ΔE00 6.32
Dark Magenta
#960056
ΔE00 6.44
Dark Fuchsia
#9D0759
ΔE00 6.57
Bruise
#7E4071
ΔE00 7.05
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#942071 #209443
analogous
#7D2094 #942071 #942037
triadic
#942071 #719420 #207194
tetradic
#942071 #947D20 #209443 #203794
square
#942071 #947D20 #209443 #203794
split-complementary
#942071 #379420 #20947D
monochromatic
#2F0A24 #62154B #942071 #C62B97 #DA54B2
Accessibility & contrast
On white
7.77
#942071 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.70
#942071 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #942071
7.77:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##942071 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##942071 | 1.00 | 7.77 | 2.70 | 7.77 |
| #FFFFFF | 7.77 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.70 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.77 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2D4673
Deuteranopia (green-blind)
#52596E
Tritanopia (blue-blind)
#9E2046
Achromatopsia (no color)
#525252
Design tokens & code
CSS
--color: #942071; /* rgb */ color: rgb(148, 32, 113); /* oklch */ color: oklch(46.3% 0.171 343.2);
Tailwind
colors: {
custom: {
50: '#b7699a',
500: '#942071',
950: '#000000',
},
}SCSS
$custom: #942071; $custom-light: #b7699a; $custom-dark: #000000;
JSON
{
"hex": "#942071",
"rgb": {
"r": 148,
"g": 32,
"b": 113
},
"hsl": {
"h": 318.103,
"s": 64.444,
"l": 35.294
},
"oklch": {
"l": 0.46283,
"c": 0.17133,
"h": 343.2
},
"luminance": 0.08521
}Semantic roles & 50–950 ramp
primary
#942071
secondary
#52BE73
accent
#E77340
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#12070E
muted
#817A7E