#942E4D#942E4D
#942E4D is a mid, vivid pink. Relative luminance 0.088; OKLCH L 46.2% C 0.138 H 5.8°. Best body text is #FFFFFF at 7.62:1 contrast (WCAG AA passes).
Color values
| HEX | #942E4D |
|---|---|
| RGB | rgb(148, 46, 77) |
| HSL | hsl(342, 53%, 38%) |
| HSV | hsv(342, 69%, 58%) |
| CMYK | cmyk(0%, 68.9%, 48%, 42%) |
| CIE-LAB | lab(35.57, 45.06, 5.32) |
| CIE-LCH | lch(35.57, 45.37, 6.74°) |
| OKLab | oklab(46.24% 0.1374 0.0141) |
| OKLCH | oklch(46.24% 0.138 5.8) |
| XYZ | xyz(14.5304, 8.7876, 7.9507) |
| Luminance | 0.0879 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Berry
#990F4B
ΔE00 4.01
Purple Red
#990147
ΔE00 4.59
Violet Red
#A50055
ΔE00 5.59
Purplish Red
#B0054B
ΔE00 5.64
Mulberry
#920A4E
ΔE00 5.66
Raspberry (survey)
#B00149
ΔE00 5.81
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#942E4D #2E9475
analogous
#942E80 #942E4D #94422E
triadic
#942E4D #4D942E #2E4D94
tetradic
#942E4D #80942E #2E9475 #422E94
square
#942E4D #80942E #2E9475 #422E94
split-complementary
#942E4D #2E9442 #2E8094
monochromatic
#37111C #651F35 #942E4D #C33D65 #D16B8A
Accessibility & contrast
On white
7.62
#942E4D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.76
#942E4D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #942E4D
7.62:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##942E4D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##942E4D | 1.00 | 7.62 | 2.76 | 7.62 |
| #FFFFFF | 7.62 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.76 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.62 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#44474E
Deuteranopia (green-blind)
#5F5B4B
Tritanopia (blue-blind)
#A11E3A
Achromatopsia (no color)
#545454
Design tokens & code
CSS
--color: #942e4d; /* rgb */ color: rgb(148, 46, 77); /* oklch */ color: oklch(46.2% 0.138 5.8);
Tailwind
colors: {
custom: {
50: '#b86e7e',
500: '#942e4d',
950: '#000000',
},
}SCSS
$custom: #942e4d; $custom-light: #b86e7e; $custom-dark: #000000;
JSON
{
"hex": "#942e4d",
"rgb": {
"r": 148,
"g": 46,
"b": 77
},
"hsl": {
"h": 341.765,
"s": 52.577,
"l": 38.039
},
"oklch": {
"l": 0.46242,
"c": 0.13816,
"h": 5.8
},
"luminance": 0.08786
}Semantic roles & 50–950 ramp
primary
#942E4D
secondary
#66B89F
accent
#DCB04C
background
#FBF6F7
surface
#F7ECEE
border
#D0C7C9
text
#12080A
muted
#817B7C