#942E75#942E75
#942E75 is a mid, vivid pink. Relative luminance 0.095; OKLCH L 47.8% C 0.157 H 342.1°. Best body text is #FFFFFF at 7.22:1 contrast (WCAG AA passes).
Color values
| HEX | #942E75 |
|---|---|
| RGB | rgb(148, 46, 117) |
| HSL | hsl(318, 53%, 38%) |
| HSV | hsv(318, 69%, 58%) |
| CMYK | cmyk(0%, 68.9%, 20.9%, 42%) |
| CIE-LAB | lab(37.00, 49.93, -17.99) |
| CIE-LCH | lch(37.00, 53.08, 340.19°) |
| OKLab | oklab(47.76% 0.1495 -0.0482) |
| OKLCH | oklch(47.76% 0.157 342.1) |
| XYZ | xyz(16.4011, 9.5358, 17.8030) |
| Luminance | 0.0953 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Violet
#9E0168
ΔE00 4.80
Bruise
#7E4071
ΔE00 5.65
Warm Purple
#952E8F
ΔE00 5.72
Light Eggplant
#894585
ΔE00 6.09
Deep Magenta
#A0025C
ΔE00 7.11
Dark Fuchsia
#9D0759
ΔE00 7.46
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#942E75 #2E944D
analogous
#802E94 #942E75 #942E42
triadic
#942E75 #75942E #2E7594
tetradic
#942E75 #94802E #2E944D #2E4294
square
#942E75 #94802E #2E944D #2E4294
split-complementary
#942E75 #42942E #2E9480
monochromatic
#37112B #651F50 #942E75 #C33D9A #D16BB2
Accessibility & contrast
On white
7.22
#942E75 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.91
#942E75 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #942E75
7.22:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##942E75 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##942E75 | 1.00 | 7.22 | 2.91 | 7.22 |
| #FFFFFF | 7.22 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.91 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.22 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#364C77
Deuteranopia (green-blind)
#555D73
Tritanopia (blue-blind)
#9D2F4D
Achromatopsia (no color)
#575757
Design tokens & code
CSS
--color: #942e75; /* rgb */ color: rgb(148, 46, 117); /* oklch */ color: oklch(47.8% 0.157 342.1);
Tailwind
colors: {
custom: {
50: '#b76f9d',
500: '#942e75',
950: '#000000',
},
}SCSS
$custom: #942e75; $custom-light: #b76f9d; $custom-dark: #000000;
JSON
{
"hex": "#942e75",
"rgb": {
"r": 148,
"g": 46,
"b": 117
},
"hsl": {
"h": 318.235,
"s": 52.577,
"l": 38.039
},
"oklch": {
"l": 0.47757,
"c": 0.1571,
"h": 342.1
},
"luminance": 0.09534
}Semantic roles & 50–950 ramp
primary
#942E75
secondary
#66B87F
accent
#DC784C
background
#FBF7F9
surface
#F6EDF2
border
#D0C8CC
text
#12080E
muted
#817B7E