#9F2272#9F2272
#9F2272 is a mid, vivid pink. Relative luminance 0.097; OKLCH L 48.3% C 0.177 H 346.7°. Best body text is #FFFFFF at 7.13:1 contrast (WCAG AA passes).
Color values
| HEX | #9F2272 |
|---|---|
| RGB | rgb(159, 34, 114) |
| HSL | hsl(322, 65%, 38%) |
| HSV | hsv(322, 79%, 62%) |
| CMYK | cmyk(0%, 78.6%, 28.3%, 37.6%) |
| CIE-LAB | lab(37.36, 56.66, -15.39) |
| CIE-LCH | lch(37.36, 58.71, 344.81°) |
| OKLab | oklab(48.35% 0.1725 -0.0407) |
| OKLCH | oklch(48.35% 0.177 346.7) |
| XYZ | xyz(17.9082, 9.7319, 16.8517) |
| Luminance | 0.0973 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Violet
#9E0168
ΔE00 2.91
Deep Magenta
#A0025C
ΔE00 5.13
Dark Fuchsia
#9D0759
ΔE00 5.65
Dark Magenta
#960056
ΔE00 6.15
Magenta (survey)
#C20078
ΔE00 6.41
Reddish Purple
#910951
ΔE00 7.19
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9F2272 #229F4F
analogous
#8D229F #9F2272 #9F2233
triadic
#9F2272 #729F22 #22729F
tetradic
#9F2272 #9F8D22 #229F4F #22339F
square
#9F2272 #9F8D22 #229F4F #22339F
split-complementary
#9F2272 #339F22 #229F8D
monochromatic
#3A0C2A #6D174E #9F2272 #D12D96 #DD5FAF
Accessibility & contrast
On white
7.13
#9F2272 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.95
#9F2272 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9F2272
7.13:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9F2272 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9F2272 | 1.00 | 7.13 | 2.95 | 7.13 |
| #FFFFFF | 7.13 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.95 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.13 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#354A74
Deuteranopia (green-blind)
#5A606F
Tritanopia (blue-blind)
#AA1D47
Achromatopsia (no color)
#585858
Design tokens & code
CSS
--color: #9f2272; /* rgb */ color: rgb(159, 34, 114); /* oklch */ color: oklch(48.3% 0.177 346.7);
Tailwind
colors: {
custom: {
50: '#c06b9a',
500: '#9f2272',
950: '#000000',
},
}SCSS
$custom: #9f2272; $custom-light: #c06b9a; $custom-dark: #000000;
JSON
{
"hex": "#9f2272",
"rgb": {
"r": 159,
"g": 34,
"b": 114
},
"hsl": {
"h": 321.6,
"s": 64.767,
"l": 37.843
},
"oklch": {
"l": 0.48349,
"c": 0.1772,
"h": 346.7
},
"luminance": 0.0973
}Semantic roles & 50–950 ramp
primary
#9F2272
secondary
#5BC180
accent
#E87C40
background
#FCF6F9
surface
#F8ECF2
border
#D1C7CC
text
#13070E
muted
#827A7E