#941F71#941F71
#941F71 is a mid, vivid pink. Relative luminance 0.085; OKLCH L 46.2% C 0.172 H 343.2°. Best body text is #FFFFFF at 7.80:1 contrast (WCAG AA passes).
Color values
| HEX | #941F71 |
|---|---|
| RGB | rgb(148, 31, 113) |
| HSL | hsl(318, 65%, 35%) |
| HSV | hsv(318, 79%, 58%) |
| CMYK | cmyk(0%, 79.1%, 23.6%, 42%) |
| CIE-LAB | lab(34.94, 54.67, -18.64) |
| CIE-LCH | lch(34.94, 57.76, 341.17°) |
| OKLab | oklab(46.21% 0.165 -0.0499) |
| OKLCH | oklch(46.21% 0.172 343.2) |
| XYZ | xyz(15.6840, 8.4698, 16.4284) |
| Luminance | 0.0847 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Violet
#9E0168
ΔE00 3.34
Deep Magenta
#A0025C
ΔE00 6.22
Warm Purple
#952E8F
ΔE00 6.32
Dark Magenta
#960056
ΔE00 6.44
Dark Fuchsia
#9D0759
ΔE00 6.59
Bruise
#7E4071
ΔE00 7.14
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#941F71 #1F9442
analogous
#7D1F94 #941F71 #941F36
triadic
#941F71 #71941F #1F7194
tetradic
#941F71 #947D1F #1F9442 #1F3694
square
#941F71 #947D1F #1F9442 #1F3694
split-complementary
#941F71 #36941F #1F947D
monochromatic
#2F0A24 #61144A #941F71 #C72A98 #DB53B2
Accessibility & contrast
On white
7.80
#941F71 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.69
#941F71 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #941F71
7.80:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##941F71 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##941F71 | 1.00 | 7.80 | 2.69 | 7.80 |
| #FFFFFF | 7.80 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.69 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.80 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2C4673
Deuteranopia (green-blind)
#51596E
Tritanopia (blue-blind)
#9E1F46
Achromatopsia (no color)
#525252
Design tokens & code
CSS
--color: #941f71; /* rgb */ color: rgb(148, 31, 113); /* oklch */ color: oklch(46.2% 0.172 343.2);
Tailwind
colors: {
custom: {
50: '#b7689a',
500: '#941f71',
950: '#000000',
},
}SCSS
$custom: #941f71; $custom-light: #b7689a; $custom-dark: #000000;
JSON
{
"hex": "#941f71",
"rgb": {
"r": 148,
"g": 31,
"b": 113
},
"hsl": {
"h": 317.949,
"s": 65.363,
"l": 35.098
},
"oklch": {
"l": 0.46206,
"c": 0.17235,
"h": 343.2
},
"luminance": 0.08468
}Semantic roles & 50–950 ramp
primary
#941F71
secondary
#51BE71
accent
#E8723F
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#12070E
muted
#817A7E