#942140#942140
#942140 is a dark, vivid pink. Relative luminance 0.078; OKLCH L 44.6% C 0.150 H 10.4°. Best body text is #FFFFFF at 8.23:1 contrast (WCAG AA passes).
Color values
| HEX | #942140 |
|---|---|
| RGB | rgb(148, 33, 64) |
| HSL | hsl(344, 64%, 35%) |
| HSV | hsv(344, 78%, 58%) |
| CMYK | cmyk(0%, 77.7%, 56.8%, 42%) |
| CIE-LAB | lab(33.47, 48.82, 10.80) |
| CIE-LCH | lch(33.47, 50.00, 12.47°) |
| OKLab | oklab(44.57% 0.148 0.0272) |
| OKLCH | oklch(44.57% 0.15 10.4) |
| XYZ | xyz(13.6833, 7.7557, 5.6260) |
| Luminance | 0.0775 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Cranberry
#9E003A
ΔE00 2.92
Red Wine
#8C0034
ΔE00 3.79
Purple Red
#990147
ΔE00 4.40
Berry
#990F4B
ΔE00 4.62
Raspberry (survey)
#B00149
ΔE00 5.21
Purplish Red
#B0054B
ΔE00 5.33
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#942140 #219475
analogous
#942179 #942140 #943B21
triadic
#942140 #409421 #214094
tetradic
#942140 #799421 #219475 #3B2194
square
#942140 #799421 #219475 #3B2194
split-complementary
#942140 #21943B #217994
monochromatic
#300B15 #62162A #942140 #C62C56 #D95679
Accessibility & contrast
On white
8.23
#942140 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.55
#942140 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #942140
8.23:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##942140 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##942140 | 1.00 | 8.23 | 2.55 | 8.23 |
| #FFFFFF | 8.23 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.55 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.23 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#404040
Deuteranopia (green-blind)
#5D573D
Tritanopia (blue-blind)
#A2002E
Achromatopsia (no color)
#4F4F4F
Design tokens & code
CSS
--color: #942140; /* rgb */ color: rgb(148, 33, 64); /* oklch */ color: oklch(44.6% 0.150 10.4);
Tailwind
colors: {
custom: {
50: '#ba6774',
500: '#942140',
950: '#000000',
},
}SCSS
$custom: #942140; $custom-light: #ba6774; $custom-dark: #000000;
JSON
{
"hex": "#942140",
"rgb": {
"r": 148,
"g": 33,
"b": 64
},
"hsl": {
"h": 343.826,
"s": 63.536,
"l": 35.49
},
"oklch": {
"l": 0.44574,
"c": 0.15049,
"h": 10.4
},
"luminance": 0.07754
}Semantic roles & 50–950 ramp
primary
#942140
secondary
#54BDA1
accent
#E7BA41
background
#FCF6F7
surface
#F8EBED
border
#D1C6C8
text
#130708
muted
#827A7B