#942E42#942E42
#942E42 is a mid, vivid red. Relative luminance 0.086; OKLCH L 45.9% C 0.136 H 12.8°. Best body text is #FFFFFF at 7.70:1 contrast (WCAG AA passes).
Color values
| HEX | #942E42 |
|---|---|
| RGB | rgb(148, 46, 66) |
| HSL | hsl(348, 53%, 38%) |
| HSV | hsv(348, 69%, 58%) |
| CMYK | cmyk(0%, 68.9%, 55.4%, 42%) |
| CIE-LAB | lab(35.29, 44.06, 12.01) |
| CIE-LCH | lch(35.29, 45.67, 15.24°) |
| OKLab | oklab(45.94% 0.133 0.0302) |
| OKLCH | oklch(45.94% 0.136 12.8) |
| XYZ | xyz(14.1744, 8.6451, 6.0755) |
| Luminance | 0.0864 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Cranberry
#9E003A
ΔE00 4.55
Rouge
#AB1239
ΔE00 5.35
Red Wine
#8C0034
ΔE00 5.79
Raspberry (survey)
#B00149
ΔE00 6.11
Purplish Red
#B0054B
ΔE00 6.24
Berry
#990F4B
ΔE00 6.55
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#942E42 #2E9480
analogous
#942E75 #942E42 #944D2E
triadic
#942E42 #42942E #2E4294
tetradic
#942E42 #75942E #2E9480 #4D2E94
square
#942E42 #75942E #2E9480 #4D2E94
split-complementary
#942E42 #2E944D #2E7594
monochromatic
#371118 #651F2D #942E42 #C33D57 #D16B7F
Accessibility & contrast
On white
7.70
#942E42 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.73
#942E42 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #942E42
7.70:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##942E42 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##942E42 | 1.00 | 7.70 | 2.73 | 7.70 |
| #FFFFFF | 7.70 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.73 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.70 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#474642
Deuteranopia (green-blind)
#615B3F
Tritanopia (blue-blind)
#A21A36
Achromatopsia (no color)
#535353
Design tokens & code
CSS
--color: #942e42; /* rgb */ color: rgb(148, 46, 66); /* oklch */ color: oklch(45.9% 0.136 12.8);
Tailwind
colors: {
custom: {
50: '#b96e76',
500: '#942e42',
950: '#000000',
},
}SCSS
$custom: #942e42; $custom-light: #b96e76; $custom-dark: #000000;
JSON
{
"hex": "#942e42",
"rgb": {
"r": 148,
"g": 46,
"b": 66
},
"hsl": {
"h": 348.235,
"s": 52.577,
"l": 38.039
},
"oklch": {
"l": 0.45942,
"c": 0.13643,
"h": 12.8
},
"luminance": 0.08643
}Semantic roles & 50–950 ramp
primary
#942E42
secondary
#66B8A8
accent
#DCC04C
background
#FCF6F7
surface
#F8ECED
border
#D1C7C8
text
#120708
muted
#817A7B