#942147#942147
#942147 is a dark, vivid pink. Relative luminance 0.078; OKLCH L 44.8% C 0.152 H 6.4°. Best body text is #FFFFFF at 8.18:1 contrast (WCAG AA passes).
Color values
| HEX | #942147 |
|---|---|
| RGB | rgb(148, 33, 71) |
| HSL | hsl(340, 64%, 35%) |
| HSV | hsv(340, 78%, 58%) |
| CMYK | cmyk(0%, 77.7%, 52%, 42%) |
| CIE-LAB | lab(33.65, 49.40, 6.48) |
| CIE-LCH | lch(33.65, 49.82, 7.47°) |
| OKLab | oklab(44.77% 0.1508 0.0169) |
| OKLCH | oklch(44.77% 0.152 6.4) |
| XYZ | xyz(13.8952, 7.8405, 6.7417) |
| Luminance | 0.0784 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Berry
#990F4B
ΔE00 2.60
Purple Red
#990147
ΔE00 2.79
Cranberry
#9E003A
ΔE00 4.37
Mulberry
#920A4E
ΔE00 4.60
Red Wine
#8C0034
ΔE00 4.77
Violet Red
#A50055
ΔE00 4.95
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#942147 #21946E
analogous
#942180 #942147 #943421
triadic
#942147 #479421 #214794
tetradic
#942147 #809421 #21946E #342194
square
#942147 #809421 #21946E #342194
split-complementary
#942147 #219434 #218094
monochromatic
#300B17 #62162F #942147 #C62C5F #D95681
Accessibility & contrast
On white
8.18
#942147 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.57
#942147 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #942147
8.18:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##942147 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##942147 | 1.00 | 8.18 | 2.57 | 8.18 |
| #FFFFFF | 8.18 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.57 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.18 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3E4148
Deuteranopia (green-blind)
#5C5744
Tritanopia (blue-blind)
#A20131
Achromatopsia (no color)
#4F4F4F
Design tokens & code
CSS
--color: #942147; /* rgb */ color: rgb(148, 33, 71); /* oklch */ color: oklch(44.8% 0.152 6.4);
Tailwind
colors: {
custom: {
50: '#b96879',
500: '#942147',
950: '#000000',
},
}SCSS
$custom: #942147; $custom-light: #b96879; $custom-dark: #000000;
JSON
{
"hex": "#942147",
"rgb": {
"r": 148,
"g": 33,
"b": 71
},
"hsl": {
"h": 340.174,
"s": 63.536,
"l": 35.49
},
"oklch": {
"l": 0.44765,
"c": 0.15172,
"h": 6.4
},
"luminance": 0.07839
}Semantic roles & 50–950 ramp
primary
#942147
secondary
#54BD9A
accent
#E7B041
background
#FCF6F7
surface
#F8EBED
border
#D1C6C8
text
#130709
muted
#827A7B