#9C2F4E#9C2F4E
#9C2F4E is a mid, vivid pink. Relative luminance 0.097; OKLCH L 47.7% C 0.145 H 7.4°. Best body text is #FFFFFF at 7.17:1 contrast (WCAG AA passes).
Color values
| HEX | #9C2F4E |
|---|---|
| RGB | rgb(156, 47, 78) |
| HSL | hsl(343, 54%, 40%) |
| HSV | hsv(343, 70%, 61%) |
| CMYK | cmyk(0%, 69.9%, 50%, 38.8%) |
| CIE-LAB | lab(37.21, 47.31, 7.21) |
| CIE-LCH | lch(37.21, 47.85, 8.67°) |
| OKLab | oklab(47.74% 0.1441 0.0188) |
| OKLCH | oklch(47.74% 0.145 7.4) |
| XYZ | xyz(16.1033, 9.6531, 8.2215) |
| Luminance | 0.0965 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purplish Red
#B0054B
ΔE00 4.47
Raspberry (survey)
#B00149
ΔE00 4.63
Berry
#990F4B
ΔE00 4.74
Light Burgundy
#A8415B
ΔE00 4.77
Purple Red
#990147
ΔE00 5.23
Cranberry
#9E003A
ΔE00 5.53
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9C2F4E #2F9C7D
analogous
#9C2F85 #9C2F4E #9C472F
triadic
#9C2F4E #4E9C2F #2F4E9C
tetradic
#9C2F4E #859C2F #2F9C7D #472F9C
square
#9C2F4E #859C2F #2F9C7D #472F9C
split-complementary
#9C2F4E #2F9C47 #2F859C
monochromatic
#3E131F #6D2136 #9C2F4E #C64268 #D4718D
Accessibility & contrast
On white
7.17
#9C2F4E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.93
#9C2F4E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9C2F4E
7.17:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9C2F4E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9C2F4E | 1.00 | 7.17 | 2.93 | 7.17 |
| #FFFFFF | 7.17 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.93 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.17 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#484A4F
Deuteranopia (green-blind)
#65604B
Tritanopia (blue-blind)
#AA1C3B
Achromatopsia (no color)
#585858
Design tokens & code
CSS
--color: #9c2f4e; /* rgb */ color: rgb(156, 47, 78); /* oklch */ color: oklch(47.7% 0.145 7.4);
Tailwind
colors: {
custom: {
50: '#be6f7f',
500: '#9c2f4e',
950: '#000000',
},
}SCSS
$custom: #9c2f4e; $custom-light: #be6f7f; $custom-dark: #000000;
JSON
{
"hex": "#9c2f4e",
"rgb": {
"r": 156,
"g": 47,
"b": 78
},
"hsl": {
"h": 342.936,
"s": 53.695,
"l": 39.804
},
"oklch": {
"l": 0.47742,
"c": 0.14528,
"h": 7.4
},
"luminance": 0.09651
}Semantic roles & 50–950 ramp
primary
#9C2F4E
secondary
#6BBCA5
accent
#DDB34B
background
#FCF7F7
surface
#F8EDEE
border
#D1C8C9
text
#13080A
muted
#827B7C