#942047#942047
#942047 is a dark, vivid pink. Relative luminance 0.078; OKLCH L 44.7% C 0.153 H 6.2°. Best body text is #FFFFFF at 8.21:1 contrast (WCAG AA passes).
Color values
| HEX | #942047 |
|---|---|
| RGB | rgb(148, 32, 71) |
| HSL | hsl(340, 64%, 35%) |
| HSV | hsv(340, 78%, 58%) |
| CMYK | cmyk(0%, 78.4%, 52%, 42%) |
| CIE-LAB | lab(33.53, 49.72, 6.31) |
| CIE-LCH | lch(33.53, 50.12, 7.24°) |
| OKLab | oklab(44.68% 0.1518 0.0165) |
| OKLCH | oklch(44.68% 0.153 6.2) |
| XYZ | xyz(13.8678, 7.7858, 6.7326) |
| Luminance | 0.0778 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Berry
#990F4B
ΔE00 2.45
Purple Red
#990147
ΔE00 2.63
Cranberry
#9E003A
ΔE00 4.39
Mulberry
#920A4E
ΔE00 4.44
Red Wine
#8C0034
ΔE00 4.74
Violet Red
#A50055
ΔE00 4.84
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#942047 #20946D
analogous
#942081 #942047 #943320
triadic
#942047 #479420 #204794
tetradic
#942047 #819420 #20946D #332094
square
#942047 #819420 #20946D #332094
split-complementary
#942047 #209433 #208194
monochromatic
#2F0A17 #62152F #942047 #C62B5F #DA5481
Accessibility & contrast
On white
8.21
#942047 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.56
#942047 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #942047
8.21:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##942047 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##942047 | 1.00 | 8.21 | 2.56 | 8.21 |
| #FFFFFF | 8.21 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.56 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.21 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3D4048
Deuteranopia (green-blind)
#5C5744
Tritanopia (blue-blind)
#A20031
Achromatopsia (no color)
#4F4F4F
Design tokens & code
CSS
--color: #942047; /* rgb */ color: rgb(148, 32, 71); /* oklch */ color: oklch(44.7% 0.153 6.2);
Tailwind
colors: {
custom: {
50: '#b96779',
500: '#942047',
950: '#000000',
},
}SCSS
$custom: #942047; $custom-light: #b96779; $custom-dark: #000000;
JSON
{
"hex": "#942047",
"rgb": {
"r": 148,
"g": 32,
"b": 71
},
"hsl": {
"h": 339.828,
"s": 64.444,
"l": 35.294
},
"oklch": {
"l": 0.4468,
"c": 0.15272,
"h": 6.2
},
"luminance": 0.07784
}Semantic roles & 50–950 ramp
primary
#942047
secondary
#52BE9A
accent
#E7AF40
background
#FCF6F7
surface
#F8EBED
border
#D1C6C8
text
#130709
muted
#827A7B