#942240#942240
#942240 is a dark, vivid pink. Relative luminance 0.078; OKLCH L 44.7% C 0.149 H 10.6°. Best body text is #FFFFFF at 8.20:1 contrast (WCAG AA passes).
Color values
| HEX | #942240 |
|---|---|
| RGB | rgb(148, 34, 64) |
| HSL | hsl(344, 63%, 36%) |
| HSV | hsv(344, 77%, 58%) |
| CMYK | cmyk(0%, 77%, 56.8%, 42%) |
| CIE-LAB | lab(33.59, 48.49, 10.96) |
| CIE-LCH | lch(33.59, 49.71, 12.74°) |
| OKLab | oklab(44.66% 0.1469 0.0276) |
| OKLCH | oklch(44.66% 0.15 10.6) |
| XYZ | xyz(13.7115, 7.8121, 5.6354) |
| Luminance | 0.0781 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Cranberry
#9E003A
ΔE00 2.98
Red Wine
#8C0034
ΔE00 3.90
Purple Red
#990147
ΔE00 4.57
Berry
#990F4B
ΔE00 4.78
Raspberry (survey)
#B00149
ΔE00 5.25
Purplish Red
#B0054B
ΔE00 5.38
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#942240 #229476
analogous
#942279 #942240 #943D22
triadic
#942240 #409422 #224094
tetradic
#942240 #799422 #229476 #3D2294
square
#942240 #799422 #229476 #3D2294
split-complementary
#942240 #22943D #227994
monochromatic
#300B15 #62172A #942240 #C62D56 #D9587A
Accessibility & contrast
On white
8.20
#942240 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.56
#942240 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #942240
8.20:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##942240 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##942240 | 1.00 | 8.20 | 2.56 | 8.20 |
| #FFFFFF | 8.20 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.56 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.20 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#404040
Deuteranopia (green-blind)
#5E573D
Tritanopia (blue-blind)
#A2002F
Achromatopsia (no color)
#4F4F4F
Design tokens & code
CSS
--color: #942240; /* rgb */ color: rgb(148, 34, 64); /* oklch */ color: oklch(44.7% 0.149 10.6);
Tailwind
colors: {
custom: {
50: '#b96874',
500: '#942240',
950: '#000000',
},
}SCSS
$custom: #942240; $custom-light: #b96874; $custom-dark: #000000;
JSON
{
"hex": "#942240",
"rgb": {
"r": 148,
"g": 34,
"b": 64
},
"hsl": {
"h": 344.211,
"s": 62.637,
"l": 35.686
},
"oklch": {
"l": 0.44662,
"c": 0.1495,
"h": 10.6
},
"luminance": 0.0781
}Semantic roles & 50–950 ramp
primary
#942240
secondary
#55BDA1
accent
#E6BB42
background
#FCF6F7
surface
#F8EBED
border
#D1C6C8
text
#130708
muted
#827A7B