#942948#942948
#942948 is a mid, vivid pink. Relative luminance 0.084; OKLCH L 45.6% C 0.143 H 7.6°. Best body text is #FFFFFF at 7.87:1 contrast (WCAG AA passes).
Color values
| HEX | #942948 |
|---|---|
| RGB | rgb(148, 41, 72) |
| HSL | hsl(343, 57%, 37%) |
| HSV | hsv(343, 72%, 58%) |
| CMYK | cmyk(0%, 72.3%, 51.4%, 42%) |
| CIE-LAB | lab(34.70, 46.61, 7.32) |
| CIE-LCH | lch(34.70, 47.18, 8.93°) |
| OKLab | oklab(45.55% 0.1419 0.019) |
| OKLCH | oklch(45.55% 0.143 7.6) |
| XYZ | xyz(14.1766, 8.3515, 6.9951) |
| Luminance | 0.0835 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Berry
#990F4B
ΔE00 3.82
Purple Red
#990147
ΔE00 4.10
Cranberry
#9E003A
ΔE00 4.65
Purplish Red
#B0054B
ΔE00 5.24
Raspberry (survey)
#B00149
ΔE00 5.31
Red Wine
#8C0034
ΔE00 5.42
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#942948 #299475
analogous
#94297E #942948 #944029
triadic
#942948 #489429 #294894
tetradic
#942948 #7E9429 #299475 #402994
square
#942948 #7E9429 #299475 #402994
split-complementary
#942948 #299440 #297E94
monochromatic
#340E19 #641C31 #942948 #C4365F #D46384
Accessibility & contrast
On white
7.87
#942948 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.67
#942948 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #942948
7.87:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##942948 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##942948 | 1.00 | 7.87 | 2.67 | 7.87 |
| #FFFFFF | 7.87 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.67 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.87 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#424449
Deuteranopia (green-blind)
#5E5945
Tritanopia (blue-blind)
#A11436
Achromatopsia (no color)
#525252
Design tokens & code
CSS
--color: #942948; /* rgb */ color: rgb(148, 41, 72); /* oklch */ color: oklch(45.6% 0.143 7.6);
Tailwind
colors: {
custom: {
50: '#b96b7a',
500: '#942948',
950: '#000000',
},
}SCSS
$custom: #942948; $custom-light: #b96b7a; $custom-dark: #000000;
JSON
{
"hex": "#942948",
"rgb": {
"r": 148,
"g": 41,
"b": 72
},
"hsl": {
"h": 342.617,
"s": 56.614,
"l": 37.059
},
"oklch": {
"l": 0.45554,
"c": 0.1432,
"h": 7.6
},
"luminance": 0.0835
}Semantic roles & 50–950 ramp
primary
#942948
secondary
#5FBAA0
accent
#E0B448
background
#FCF6F7
surface
#F8ECED
border
#D1C7C8
text
#120709
muted
#817A7B