#9A2045#9A2045
#9A2045 is a mid, vivid pink. Relative luminance 0.083; OKLCH L 45.7% C 0.158 H 8.7°. Best body text is #FFFFFF at 7.88:1 contrast (WCAG AA passes).
Color values
| HEX | #9A2045 |
|---|---|
| RGB | rgb(154, 32, 69) |
| HSL | hsl(342, 66%, 36%) |
| HSV | hsv(342, 79%, 60%) |
| CMYK | cmyk(0%, 79.2%, 55.2%, 39.6%) |
| CIE-LAB | lab(34.67, 51.30, 9.39) |
| CIE-LCH | lch(34.67, 52.15, 10.37°) |
| OKLab | oklab(45.72% 0.156 0.0239) |
| OKLCH | oklch(45.72% 0.158 8.7) |
| XYZ | xyz(14.9185, 8.3349, 6.4523) |
| Luminance | 0.0833 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Cranberry
#9E003A
ΔE00 3.13
Purple Red
#990147
ΔE00 3.63
Berry
#990F4B
ΔE00 3.67
Raspberry (survey)
#B00149
ΔE00 3.96
Purplish Red
#B0054B
ΔE00 4.00
Red Wine
#8C0034
ΔE00 4.75
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9A2045 #209A75
analogous
#9A2082 #9A2045 #9A3820
triadic
#9A2045 #459A20 #20459A
tetradic
#9A2045 #829A20 #209A75 #38209A
square
#9A2045 #829A20 #209A75 #38209A
split-complementary
#9A2045 #209A38 #20829A
monochromatic
#350B18 #67152E #9A2045 #CD2B5C #DC5880
Accessibility & contrast
On white
7.88
#9A2045 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.67
#9A2045 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9A2045
7.88:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9A2045 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9A2045 | 1.00 | 7.88 | 2.67 | 7.88 |
| #FFFFFF | 7.88 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.67 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.88 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#414246
Deuteranopia (green-blind)
#605A42
Tritanopia (blue-blind)
#A80030
Achromatopsia (no color)
#525252
Design tokens & code
CSS
--color: #9a2045; /* rgb */ color: rgb(154, 32, 69); /* oklch */ color: oklch(45.7% 0.158 8.7);
Tailwind
colors: {
custom: {
50: '#be6878',
500: '#9a2045',
950: '#000000',
},
}SCSS
$custom: #9a2045; $custom-light: #be6878; $custom-dark: #000000;
JSON
{
"hex": "#9a2045",
"rgb": {
"r": 154,
"g": 32,
"b": 69
},
"hsl": {
"h": 341.803,
"s": 65.591,
"l": 36.471
},
"oklch": {
"l": 0.45716,
"c": 0.15786,
"h": 8.7
},
"luminance": 0.08333
}Semantic roles & 50–950 ramp
primary
#9A2045
secondary
#56C0A0
accent
#E9B53F
background
#FCF6F7
surface
#F8EBED
border
#D1C6C8
text
#130708
muted
#827A7B