#941B71#941B71
#941B71 is a mid, vivid pink. Relative luminance 0.083; OKLCH L 45.9% C 0.176 H 343.0°. Best body text is #FFFFFF at 7.91:1 contrast (WCAG AA passes).
Color values
| HEX | #941B71 |
|---|---|
| RGB | rgb(148, 27, 113) |
| HSL | hsl(317, 69%, 34%) |
| HSV | hsv(317, 82%, 58%) |
| CMYK | cmyk(0%, 81.8%, 23.6%, 42%) |
| CIE-LAB | lab(34.55, 55.80, -19.25) |
| CIE-LCH | lch(34.55, 59.03, 340.96°) |
| OKLab | oklab(45.92% 0.1685 -0.0516) |
| OKLCH | oklch(45.92% 0.176 343) |
| XYZ | xyz(15.5859, 8.2737, 16.3958) |
| Luminance | 0.0827 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Violet
#9E0168
ΔE00 3.30
Deep Magenta
#A0025C
ΔE00 6.30
Warm Purple
#952E8F
ΔE00 6.35
Dark Magenta
#960056
ΔE00 6.45
Dark Fuchsia
#9D0759
ΔE00 6.68
Darkish Purple
#751973
ΔE00 7.37
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#941B71 #1B943E
analogous
#7B1B94 #941B71 #941B35
triadic
#941B71 #71941B #1B7194
tetradic
#941B71 #947B1B #1B943E #1B3594
square
#941B71 #947B1B #1B943E #1B3594
split-complementary
#941B71 #35941B #1B947B
monochromatic
#2C0822 #601249 #941B71 #C82499 #DE4BB4
Accessibility & contrast
On white
7.91
#941B71 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.65
#941B71 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #941B71
7.91:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##941B71 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##941B71 | 1.00 | 7.91 | 2.65 | 7.91 |
| #FFFFFF | 7.91 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.65 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.91 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2A4573
Deuteranopia (green-blind)
#50586E
Tritanopia (blue-blind)
#9E1C45
Achromatopsia (no color)
#515151
Design tokens & code
CSS
--color: #941b71; /* rgb */ color: rgb(148, 27, 113); /* oklch */ color: oklch(45.9% 0.176 343.0);
Tailwind
colors: {
custom: {
50: '#b8679a',
500: '#941b71',
950: '#000000',
},
}SCSS
$custom: #941b71; $custom-light: #b8679a; $custom-dark: #000000;
JSON
{
"hex": "#941b71",
"rgb": {
"r": 148,
"g": 27,
"b": 113
},
"hsl": {
"h": 317.355,
"s": 69.143,
"l": 34.314
},
"oklch": {
"l": 0.45919,
"c": 0.17619,
"h": 343
},
"luminance": 0.08272
}Semantic roles & 50–950 ramp
primary
#941B71
secondary
#4BC06D
accent
#EC6F3C
background
#FBF6F9
surface
#F7EBF2
border
#D0C6CC
text
#12070E
muted
#817A7E