#9F2C76#9F2C76
#9F2C76 is a mid, vivid pink. Relative luminance 0.105; OKLCH L 49.4% C 0.168 H 345.5°. Best body text is #FFFFFF at 6.78:1 contrast (WCAG AA passes).
Color values
| HEX | #9F2C76 |
|---|---|
| RGB | rgb(159, 44, 118) |
| HSL | hsl(321, 57%, 40%) |
| HSV | hsv(321, 72%, 62%) |
| CMYK | cmyk(0%, 72.3%, 25.8%, 37.6%) |
| CIE-LAB | lab(38.69, 53.85, -15.84) |
| CIE-LCH | lch(38.69, 56.14, 343.61°) |
| OKLab | oklab(49.38% 0.163 -0.0421) |
| OKLCH | oklch(49.38% 0.168 345.5) |
| XYZ | xyz(18.4695, 10.4823, 18.1866) |
| Luminance | 0.1048 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Violet
#9E0168
ΔE00 4.35
Deep Magenta
#A0025C
ΔE00 6.24
Magenta (survey)
#C20078
ΔE00 6.38
Dark Fuchsia
#9D0759
ΔE00 6.72
Warm Purple
#952E8F
ΔE00 6.74
Mediumvioletred
#C71585
ΔE00 7.20
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9F2C76 #2C9F55
analogous
#8E2C9F #9F2C76 #9F2C3D
triadic
#9F2C76 #769F2C #2C769F
tetradic
#9F2C76 #9F8E2C #2C9F55 #2C3D9F
square
#9F2C76 #9F8E2C #2C9F55 #2C3D9F
split-complementary
#9F2C76 #3D9F2C #2C9F8E
monochromatic
#3F112F #6F1F52 #9F2C76 #CA3E98 #D76EB2
Accessibility & contrast
On white
6.78
#9F2C76 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.10
#9F2C76 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9F2C76
6.78:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9F2C76 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9F2C76 | 1.00 | 6.78 | 3.10 | 6.78 |
| #FFFFFF | 6.78 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.10 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.78 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3A4F78
Deuteranopia (green-blind)
#5C6273
Tritanopia (blue-blind)
#AA2A4D
Achromatopsia (no color)
#5B5B5B
Design tokens & code
CSS
--color: #9f2c76; /* rgb */ color: rgb(159, 44, 118); /* oklch */ color: oklch(49.4% 0.168 345.5);
Tailwind
colors: {
custom: {
50: '#bf6f9d',
500: '#9f2c76',
950: '#000000',
},
}SCSS
$custom: #9f2c76; $custom-light: #bf6f9d; $custom-dark: #000000;
JSON
{
"hex": "#9f2c76",
"rgb": {
"r": 159,
"g": 44,
"b": 118
},
"hsl": {
"h": 321.391,
"s": 56.65,
"l": 39.804
},
"oklch": {
"l": 0.49377,
"c": 0.16837,
"h": 345.5
},
"luminance": 0.1048
}Semantic roles & 50–950 ramp
primary
#9F2C76
secondary
#69BE87
accent
#E07E48
background
#FCF7F9
surface
#F8EDF2
border
#D1C8CC
text
#13080E
muted
#827B7E