#9C2A6B#9C2A6B
#9C2A6B is a mid, vivid pink. Relative luminance 0.098; OKLCH L 48.2% C 0.162 H 349.9°. Best body text is #FFFFFF at 7.10:1 contrast (WCAG AA passes).
Color values
| HEX | #9C2A6B |
|---|---|
| RGB | rgb(156, 42, 107) |
| HSL | hsl(326, 58%, 39%) |
| HSV | hsv(326, 73%, 61%) |
| CMYK | cmyk(0%, 73.1%, 31.4%, 38.8%) |
| CIE-LAB | lab(37.46, 52.35, -10.87) |
| CIE-LCH | lch(37.46, 53.47, 348.27°) |
| OKLab | oklab(48.23% 0.1598 -0.0284) |
| OKLCH | oklch(48.23% 0.162 349.9) |
| XYZ | xyz(17.1930, 9.7873, 14.8908) |
| Luminance | 0.0979 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Violet
#9E0168
ΔE00 3.55
Deep Magenta
#A0025C
ΔE00 4.31
Dark Fuchsia
#9D0759
ΔE00 4.64
Dark Magenta
#960056
ΔE00 5.36
Violet Red
#A50055
ΔE00 6.11
Reddish Purple
#910951
ΔE00 6.15
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9C2A6B #2A9C5B
analogous
#942A9C #9C2A6B #9C2A32
triadic
#9C2A6B #6B9C2A #2A6B9C
tetradic
#9C2A6B #9C942A #2A9C5B #2A329C
square
#9C2A6B #9C942A #2A9C5B #2A329C
split-complementary
#9C2A6B #329C2A #2A9C94
monochromatic
#3C1029 #6C1D4A #9C2A6B #CA398C #D76AA8
Accessibility & contrast
On white
7.10
#9C2A6B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.96
#9C2A6B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9C2A6B
7.10:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9C2A6B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9C2A6B | 1.00 | 7.10 | 2.96 | 7.10 |
| #FFFFFF | 7.10 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.96 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.10 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3C4B6D
Deuteranopia (green-blind)
#5D5F68
Tritanopia (blue-blind)
#A82347
Achromatopsia (no color)
#585858
Design tokens & code
CSS
--color: #9c2a6b; /* rgb */ color: rgb(156, 42, 107); /* oklch */ color: oklch(48.2% 0.162 349.9);
Tailwind
colors: {
custom: {
50: '#bd6e95',
500: '#9c2a6b',
950: '#000000',
},
}SCSS
$custom: #9c2a6b; $custom-light: #bd6e95; $custom-dark: #000000;
JSON
{
"hex": "#9c2a6b",
"rgb": {
"r": 156,
"g": 42,
"b": 107
},
"hsl": {
"h": 325.789,
"s": 57.576,
"l": 38.824
},
"oklch": {
"l": 0.48229,
"c": 0.1623,
"h": 349.9
},
"luminance": 0.09785
}Semantic roles & 50–950 ramp
primary
#9C2A6B
secondary
#65BD8B
accent
#E18947
background
#FCF7F9
surface
#F8EDF1
border
#D1C8CB
text
#13080D
muted
#827B7E