#9C2F7D#9C2F7D
#9C2F7D is a mid, vivid pink. Relative luminance 0.106; OKLCH L 49.5% C 0.167 H 341.2°. Best body text is #FFFFFF at 6.74:1 contrast (WCAG AA passes).
Color values
| HEX | #9C2F7D |
|---|---|
| RGB | rgb(156, 47, 125) |
| HSL | hsl(317, 54%, 40%) |
| HSV | hsv(317, 70%, 61%) |
| CMYK | cmyk(0%, 69.9%, 19.9%, 38.8%) |
| CIE-LAB | lab(38.87, 52.89, -19.97) |
| CIE-LCH | lch(38.87, 56.53, 339.31°) |
| OKLab | oklab(49.5% 0.158 -0.0537) |
| OKLCH | oklch(49.5% 0.167 341.2) |
| XYZ | xyz(18.4290, 10.5834, 20.4703) |
| Luminance | 0.1058 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Warm Purple
#952E8F
ΔE00 4.89
Red Violet
#9E0168
ΔE00 5.55
Light Eggplant
#894585
ΔE00 5.87
Bruise
#7E4071
ΔE00 6.72
Barney Purple
#A00498
ΔE00 7.00
Ugly Purple
#A442A0
ΔE00 7.39
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9C2F7D #2F9C4E
analogous
#852F9C #9C2F7D #9C2F47
triadic
#9C2F7D #7D9C2F #2F7D9C
tetradic
#9C2F7D #9C852F #2F9C4E #2F479C
square
#9C2F7D #9C852F #2F9C4E #2F479C
split-complementary
#9C2F7D #479C2F #2F9C85
monochromatic
#3E1332 #6D2157 #9C2F7D #C642A1 #D471B8
Accessibility & contrast
On white
6.74
#9C2F7D on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.12
#9C2F7D on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9C2F7D
6.74:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9C2F7D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9C2F7D | 1.00 | 6.74 | 3.12 | 6.74 |
| #FFFFFF | 6.74 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.12 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.74 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#37507F
Deuteranopia (green-blind)
#59627A
Tritanopia (blue-blind)
#A53152
Achromatopsia (no color)
#5C5C5C
Design tokens & code
CSS
--color: #9c2f7d; /* rgb */ color: rgb(156, 47, 125); /* oklch */ color: oklch(49.5% 0.167 341.2);
Tailwind
colors: {
custom: {
50: '#bd71a3',
500: '#9c2f7d',
950: '#000000',
},
}SCSS
$custom: #9c2f7d; $custom-light: #bd71a3; $custom-dark: #000000;
JSON
{
"hex": "#9c2f7d",
"rgb": {
"r": 156,
"g": 47,
"b": 125
},
"hsl": {
"h": 317.064,
"s": 53.695,
"l": 39.804
},
"oklch": {
"l": 0.49503,
"c": 0.1669,
"h": 341.2
},
"luminance": 0.10582
}Semantic roles & 50–950 ramp
primary
#9C2F7D
secondary
#6BBC82
accent
#DD744B
background
#FCF7FA
surface
#F8EDF3
border
#D1C8CD
text
#12080F
muted
#817B7F