#912040#912040
#912040 is a dark, vivid pink. Relative luminance 0.074; OKLCH L 43.9% C 0.149 H 9.5°. Best body text is #FFFFFF at 8.45:1 contrast (WCAG AA passes).
Color values
| HEX | #912040 |
|---|---|
| RGB | rgb(145, 32, 64) |
| HSL | hsl(343, 64%, 35%) |
| HSV | hsv(343, 78%, 57%) |
| CMYK | cmyk(0%, 77.9%, 55.9%, 43.1%) |
| CIE-LAB | lab(32.76, 48.26, 9.72) |
| CIE-LCH | lch(32.76, 49.22, 11.39°) |
| OKLab | oklab(43.94% 0.1465 0.0246) |
| OKLCH | oklch(43.94% 0.149 9.5) |
| XYZ | xyz(13.1202, 7.4248, 5.5918) |
| Luminance | 0.0742 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Cranberry
#9E003A
ΔE00 3.33
Red Wine
#8C0034
ΔE00 3.45
Purple Red
#990147
ΔE00 4.00
Berry
#990F4B
ΔE00 4.23
Raspberry (survey)
#B00149
ΔE00 5.66
Purplish Red
#B0054B
ΔE00 5.75
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#912040 #209171
analogous
#912079 #912040 #913920
triadic
#912040 #409120 #204091
tetradic
#912040 #799120 #209171 #392091
square
#912040 #799120 #209171 #392091
split-complementary
#912040 #209139 #207991
monochromatic
#2D0A14 #5F152A #912040 #C32B56 #D95279
Accessibility & contrast
On white
8.45
#912040 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.48
#912040 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #912040
8.45:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##912040 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##912040 | 1.00 | 8.45 | 2.48 | 8.45 |
| #FFFFFF | 8.45 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.48 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.45 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3E3E41
Deuteranopia (green-blind)
#5B553D
Tritanopia (blue-blind)
#9F002E
Achromatopsia (no color)
#4D4D4D
Design tokens & code
CSS
--color: #912040; /* rgb */ color: rgb(145, 32, 64); /* oklch */ color: oklch(43.9% 0.149 9.5);
Tailwind
colors: {
custom: {
50: '#b76774',
500: '#912040',
950: '#000000',
},
}SCSS
$custom: #912040; $custom-light: #b76774; $custom-dark: #000000;
JSON
{
"hex": "#912040",
"rgb": {
"r": 145,
"g": 32,
"b": 64
},
"hsl": {
"h": 343.009,
"s": 63.842,
"l": 34.706
},
"oklch": {
"l": 0.43939,
"c": 0.1486,
"h": 9.5
},
"luminance": 0.07423
}Semantic roles & 50–950 ramp
primary
#912040
secondary
#51BC9E
accent
#E7B841
background
#FCF6F7
surface
#F8EBED
border
#D1C6C8
text
#120608
muted
#817A7B