#9F2276#9F2276
#9F2276 is a mid, vivid pink. Relative luminance 0.098; OKLCH L 48.5% C 0.180 H 344.8°. Best body text is #FFFFFF at 7.08:1 contrast (WCAG AA passes).
Color values
| HEX | #9F2276 |
|---|---|
| RGB | rgb(159, 34, 118) |
| HSL | hsl(320, 65%, 38%) |
| HSV | hsv(320, 79%, 62%) |
| CMYK | cmyk(0%, 78.6%, 25.8%, 37.6%) |
| CIE-LAB | lab(37.53, 57.16, -17.64) |
| CIE-LCH | lch(37.53, 59.82, 342.85°) |
| OKLab | oklab(48.53% 0.1733 -0.047) |
| OKLCH | oklch(48.53% 0.18 344.8) |
| XYZ | xyz(18.1409, 9.8250, 18.0771) |
| Luminance | 0.0982 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Violet
#9E0168
ΔE00 3.44
Deep Magenta
#A0025C
ΔE00 5.98
Warm Purple
#952E8F
ΔE00 6.33
Dark Fuchsia
#9D0759
ΔE00 6.51
Magenta (survey)
#C20078
ΔE00 6.67
Dark Magenta
#960056
ΔE00 6.92
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9F2276 #229F4B
analogous
#89229F #9F2276 #9F2237
triadic
#9F2276 #769F22 #22769F
tetradic
#9F2276 #9F8922 #229F4B #22379F
square
#9F2276 #9F8922 #229F4B #22379F
split-complementary
#9F2276 #379F22 #229F89
monochromatic
#3A0C2B #6D1751 #9F2276 #D12D9B #DD5FB3
Accessibility & contrast
On white
7.08
#9F2276 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.96
#9F2276 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9F2276
7.08:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9F2276 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9F2276 | 1.00 | 7.08 | 2.96 | 7.08 |
| #FFFFFF | 7.08 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.96 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.08 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#334B78
Deuteranopia (green-blind)
#596073
Tritanopia (blue-blind)
#AA204A
Achromatopsia (no color)
#585858
Design tokens & code
CSS
--color: #9f2276; /* rgb */ color: rgb(159, 34, 118); /* oklch */ color: oklch(48.5% 0.180 344.8);
Tailwind
colors: {
custom: {
50: '#c06b9d',
500: '#9f2276',
950: '#000000',
},
}SCSS
$custom: #9f2276; $custom-light: #c06b9d; $custom-dark: #000000;
JSON
{
"hex": "#9f2276",
"rgb": {
"r": 159,
"g": 34,
"b": 118
},
"hsl": {
"h": 319.68,
"s": 64.767,
"l": 37.843
},
"oklch": {
"l": 0.48527,
"c": 0.17952,
"h": 344.8
},
"luminance": 0.09823
}Semantic roles & 50–950 ramp
primary
#9F2276
secondary
#5BC17D
accent
#E87740
background
#FCF6F9
surface
#F8ECF2
border
#D1C7CC
text
#13080E
muted
#827A7E