#942872#942872
#942872 is a mid, vivid pink. Relative luminance 0.090; OKLCH L 47.0% C 0.163 H 343.2°. Best body text is #FFFFFF at 7.49:1 contrast (WCAG AA passes).
Color values
| HEX | #942872 |
|---|---|
| RGB | rgb(148, 40, 114) |
| HSL | hsl(319, 57%, 37%) |
| HSV | hsv(319, 73%, 58%) |
| CMYK | cmyk(0%, 73%, 23%, 42%) |
| CIE-LAB | lab(36.04, 51.81, -17.58) |
| CIE-LCH | lch(36.04, 54.71, 341.26°) |
| OKLab | oklab(47.02% 0.156 -0.047) |
| OKLCH | oklch(47.02% 0.163 343.2) |
| XYZ | xyz(16.0094, 9.0300, 16.8162) |
| Luminance | 0.0903 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Violet
#9E0168
ΔE00 3.90
Warm Purple
#952E8F
ΔE00 6.19
Bruise
#7E4071
ΔE00 6.27
Deep Magenta
#A0025C
ΔE00 6.39
Dark Fuchsia
#9D0759
ΔE00 6.74
Dark Magenta
#960056
ΔE00 6.78
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#942872 #28944A
analogous
#802894 #942872 #94283C
triadic
#942872 #729428 #287294
tetradic
#942872 #948028 #28944A #283C94
square
#942872 #948028 #28944A #283C94
split-complementary
#942872 #3C9428 #289480
monochromatic
#340E28 #641B4D #942872 #C43597 #D562B0
Accessibility & contrast
On white
7.49
#942872 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.81
#942872 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #942872
7.49:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##942872 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##942872 | 1.00 | 7.49 | 2.81 | 7.49 |
| #FFFFFF | 7.49 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.81 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.49 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#334974
Deuteranopia (green-blind)
#545B6F
Tritanopia (blue-blind)
#9E2849
Achromatopsia (no color)
#555555
Design tokens & code
CSS
--color: #942872; /* rgb */ color: rgb(148, 40, 114); /* oklch */ color: oklch(47.0% 0.163 343.2);
Tailwind
colors: {
custom: {
50: '#b76c9a',
500: '#942872',
950: '#000000',
},
}SCSS
$custom: #942872; $custom-light: #b76c9a; $custom-dark: #000000;
JSON
{
"hex": "#942872",
"rgb": {
"r": 148,
"g": 40,
"b": 114
},
"hsl": {
"h": 318.889,
"s": 57.447,
"l": 36.863
},
"oklch": {
"l": 0.47018,
"c": 0.16288,
"h": 343.2
},
"luminance": 0.09028
}Semantic roles & 50–950 ramp
primary
#942872
secondary
#5EBA7B
accent
#E17747
background
#FBF6F9
surface
#F6ECF2
border
#D0C7CC
text
#12070E
muted
#817A7E