#9C2851#9C2851
#9C2851 is a mid, vivid pink. Relative luminance 0.092; OKLCH L 47.1% C 0.154 H 4.0°. Best body text is #FFFFFF at 7.40:1 contrast (WCAG AA passes).
Color values
| HEX | #9C2851 |
|---|---|
| RGB | rgb(156, 40, 81) |
| HSL | hsl(339, 59%, 38%) |
| HSV | hsv(339, 74%, 61%) |
| CMYK | cmyk(0%, 74.4%, 48.1%, 38.8%) |
| CIE-LAB | lab(36.33, 50.25, 4.04) |
| CIE-LCH | lch(36.33, 50.42, 4.59°) |
| OKLab | oklab(47.12% 0.1538 0.0109) |
| OKLCH | oklch(47.12% 0.154 4) |
| XYZ | xyz(15.9556, 9.1817, 8.7150) |
| Luminance | 0.0918 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Berry
#990F4B
ΔE00 3.07
Violet Red
#A50055
ΔE00 3.83
Purple Red
#990147
ΔE00 3.84
Purplish Red
#B0054B
ΔE00 4.44
Raspberry (survey)
#B00149
ΔE00 4.73
Mulberry
#920A4E
ΔE00 4.91
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9C2851 #289C73
analogous
#9C288B #9C2851 #9C3928
triadic
#9C2851 #519C28 #28519C
tetradic
#9C2851 #8B9C28 #289C73 #39289C
square
#9C2851 #8B9C28 #289C73 #39289C
split-complementary
#9C2851 #289C39 #288B9C
monochromatic
#3B0F1E #6B1C38 #9C2851 #CB366B #D8678F
Accessibility & contrast
On white
7.40
#9C2851 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.84
#9C2851 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9C2851
7.40:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9C2851 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9C2851 | 1.00 | 7.40 | 2.84 | 7.40 |
| #FFFFFF | 7.40 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.84 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.40 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#434752
Deuteranopia (green-blind)
#625E4E
Tritanopia (blue-blind)
#AA1239
Achromatopsia (no color)
#555555
Design tokens & code
CSS
--color: #9c2851; /* rgb */ color: rgb(156, 40, 81); /* oklch */ color: oklch(47.1% 0.154 4.0);
Tailwind
colors: {
custom: {
50: '#be6c81',
500: '#9c2851',
950: '#000000',
},
}SCSS
$custom: #9c2851; $custom-light: #be6c81; $custom-dark: #000000;
JSON
{
"hex": "#9c2851",
"rgb": {
"r": 156,
"g": 40,
"b": 81
},
"hsl": {
"h": 338.793,
"s": 59.184,
"l": 38.431
},
"oklch": {
"l": 0.47117,
"c": 0.15413,
"h": 4
},
"luminance": 0.0918
}Semantic roles & 50–950 ramp
primary
#9C2851
secondary
#62BE9D
accent
#E2AB45
background
#FCF6F7
surface
#F8ECEE
border
#D1C7C9
text
#13070A
muted
#827A7C