#9F2161#9F2161
#9F2161 is a mid, vivid pink. Relative luminance 0.093; OKLCH L 47.6% C 0.170 H 355.1°. Best body text is #FFFFFF at 7.33:1 contrast (WCAG AA passes).
Color values
| HEX | #9F2161 |
|---|---|
| RGB | rgb(159, 33, 97) |
| HSL | hsl(330, 66%, 38%) |
| HSV | hsv(330, 79%, 62%) |
| CMYK | cmyk(0%, 79.2%, 39%, 37.6%) |
| CIE-LAB | lab(36.60, 54.99, -5.76) |
| CIE-LCH | lch(36.60, 55.29, 354.02°) |
| OKLab | oklab(47.59% 0.1691 -0.0145) |
| OKLCH | oklch(47.59% 0.17 355.1) |
| XYZ | xyz(17.0008, 9.3239, 12.2114) |
| Luminance | 0.0932 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Deep Magenta
#A0025C
ΔE00 2.30
Dark Fuchsia
#9D0759
ΔE00 2.48
Violet Red
#A50055
ΔE00 3.49
Dark Magenta
#960056
ΔE00 3.73
Red Violet
#9E0168
ΔE00 3.89
Reddish Purple
#910951
ΔE00 4.38
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9F2161 #219F5F
analogous
#9E219F #9F2161 #9F2122
triadic
#9F2161 #619F21 #21619F
tetradic
#9F2161 #9F9E21 #219F5F #21229F
square
#9F2161 #9F9E21 #219F5F #21229F
split-complementary
#9F2161 #229F21 #219F9E
monochromatic
#3A0C23 #6C1642 #9F2161 #D22C80 #DD5D9E
Accessibility & contrast
On white
7.33
#9F2161 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.86
#9F2161 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9F2161
7.33:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9F2161 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9F2161 | 1.00 | 7.33 | 2.86 | 7.33 |
| #FFFFFF | 7.33 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.86 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.33 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3B4763
Deuteranopia (green-blind)
#5F5E5E
Tritanopia (blue-blind)
#AC0F3E
Achromatopsia (no color)
#565656
Design tokens & code
CSS
--color: #9f2161; /* rgb */ color: rgb(159, 33, 97); /* oklch */ color: oklch(47.6% 0.170 355.1);
Tailwind
colors: {
custom: {
50: '#c06a8d',
500: '#9f2161',
950: '#000000',
},
}SCSS
$custom: #9f2161; $custom-light: #c06a8d; $custom-dark: #000000;
JSON
{
"hex": "#9f2161",
"rgb": {
"r": 159,
"g": 33,
"b": 97
},
"hsl": {
"h": 329.524,
"s": 65.625,
"l": 37.647
},
"oklch": {
"l": 0.47585,
"c": 0.16968,
"h": 355.1
},
"luminance": 0.09322
}Semantic roles & 50–950 ramp
primary
#9F2161
secondary
#5AC28D
accent
#E9933F
background
#FCF6F8
surface
#F8ECF0
border
#D1C7CB
text
#13070C
muted
#827A7D