#9C2148#9C2148
#9C2148 is a mid, vivid pink. Relative luminance 0.086; OKLCH L 46.2% C 0.159 H 7.7°. Best body text is #FFFFFF at 7.71:1 contrast (WCAG AA passes).
Color values
| HEX | #9C2148 |
|---|---|
| RGB | rgb(156, 33, 72) |
| HSL | hsl(341, 65%, 37%) |
| HSV | hsv(341, 79%, 61%) |
| CMYK | cmyk(0%, 78.8%, 53.8%, 38.8%) |
| CIE-LAB | lab(35.25, 51.81, 8.32) |
| CIE-LCH | lch(35.25, 52.47, 9.12°) |
| OKLab | oklab(46.24% 0.1579 0.0214) |
| OKLCH | oklch(46.24% 0.159 7.7) |
| XYZ | xyz(15.4253, 8.6257, 6.9823) |
| Luminance | 0.0862 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Berry
#990F4B
ΔE00 3.32
Purple Red
#990147
ΔE00 3.45
Purplish Red
#B0054B
ΔE00 3.61
Raspberry (survey)
#B00149
ΔE00 3.66
Cranberry
#9E003A
ΔE00 3.69
Violet Red
#A50055
ΔE00 4.96
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9C2148 #219C75
analogous
#9C2185 #9C2148 #9C3821
triadic
#9C2148 #489C21 #21489C
tetradic
#9C2148 #859C21 #219C75 #38219C
square
#9C2148 #859C21 #219C75 #38219C
split-complementary
#9C2148 #219C38 #21859C
monochromatic
#370C19 #691631 #9C2148 #CF2C5F #DC5B84
Accessibility & contrast
On white
7.71
#9C2148 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.72
#9C2148 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9C2148
7.71:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9C2148 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9C2148 | 1.00 | 7.71 | 2.72 | 7.71 |
| #FFFFFF | 7.71 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.72 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.71 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#414349
Deuteranopia (green-blind)
#615C45
Tritanopia (blue-blind)
#AB0032
Achromatopsia (no color)
#535353
Design tokens & code
CSS
--color: #9c2148; /* rgb */ color: rgb(156, 33, 72); /* oklch */ color: oklch(46.2% 0.159 7.7);
Tailwind
colors: {
custom: {
50: '#bf697a',
500: '#9c2148',
950: '#000000',
},
}SCSS
$custom: #9c2148; $custom-light: #bf697a; $custom-dark: #000000;
JSON
{
"hex": "#9c2148",
"rgb": {
"r": 156,
"g": 33,
"b": 72
},
"hsl": {
"h": 340.976,
"s": 65.079,
"l": 37.059
},
"oklch": {
"l": 0.46242,
"c": 0.1593,
"h": 7.7
},
"luminance": 0.08624
}Semantic roles & 50–950 ramp
primary
#9C2148
secondary
#58C1A0
accent
#E8B340
background
#FCF6F7
surface
#F8EBED
border
#D1C6C8
text
#130709
muted
#827A7B