#942340#942340
#942340 is a dark, vivid pink. Relative luminance 0.079; OKLCH L 44.8% C 0.148 H 10.9°. Best body text is #FFFFFF at 8.16:1 contrast (WCAG AA passes).
Color values
| HEX | #942340 |
|---|---|
| RGB | rgb(148, 35, 64) |
| HSL | hsl(345, 62%, 36%) |
| HSV | hsv(345, 76%, 58%) |
| CMYK | cmyk(0%, 76.4%, 56.8%, 42%) |
| CIE-LAB | lab(33.71, 48.15, 11.13) |
| CIE-LCH | lch(33.71, 49.42, 13.02°) |
| OKLab | oklab(44.75% 0.1458 0.028) |
| OKLCH | oklch(44.75% 0.149 10.9) |
| XYZ | xyz(13.7405, 7.8701, 5.6450) |
| Luminance | 0.0787 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Cranberry
#9E003A
ΔE00 3.05
Red Wine
#8C0034
ΔE00 4.02
Purple Red
#990147
ΔE00 4.75
Berry
#990F4B
ΔE00 4.94
Raspberry (survey)
#B00149
ΔE00 5.30
Purplish Red
#B0054B
ΔE00 5.43
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#942340 #239477
analogous
#942378 #942340 #943E23
triadic
#942340 #409423 #234094
tetradic
#942340 #789423 #239477 #3E2394
square
#942340 #789423 #239477 #3E2394
split-complementary
#942340 #23943E #237894
monochromatic
#310C15 #63172B #942340 #C52F55 #D85A7A
Accessibility & contrast
On white
8.16
#942340 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.57
#942340 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #942340
8.16:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##942340 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##942340 | 1.00 | 8.16 | 2.57 | 8.16 |
| #FFFFFF | 8.16 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.57 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.16 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#414140
Deuteranopia (green-blind)
#5E583D
Tritanopia (blue-blind)
#A2002F
Achromatopsia (no color)
#4F4F4F
Design tokens & code
CSS
--color: #942340; /* rgb */ color: rgb(148, 35, 64); /* oklch */ color: oklch(44.8% 0.148 10.9);
Tailwind
colors: {
custom: {
50: '#b96874',
500: '#942340',
950: '#000000',
},
}SCSS
$custom: #942340; $custom-light: #b96874; $custom-dark: #000000;
JSON
{
"hex": "#942340",
"rgb": {
"r": 148,
"g": 35,
"b": 64
},
"hsl": {
"h": 344.602,
"s": 61.749,
"l": 35.882
},
"oklch": {
"l": 0.44753,
"c": 0.1485,
"h": 10.9
},
"luminance": 0.07868
}Semantic roles & 50–950 ramp
primary
#942340
secondary
#57BCA2
accent
#E5BB43
background
#FCF6F7
surface
#F8EBED
border
#D1C6C8
text
#130708
muted
#827A7B