#9F2162#9F2162
#9F2162 is a mid, vivid pink. Relative luminance 0.093; OKLCH L 47.6% C 0.170 H 354.6°. Best body text is #FFFFFF at 7.32:1 contrast (WCAG AA passes).
Color values
| HEX | #9F2162 |
|---|---|
| RGB | rgb(159, 33, 98) |
| HSL | hsl(329, 66%, 38%) |
| HSV | hsv(329, 79%, 62%) |
| CMYK | cmyk(0%, 79.2%, 38.4%, 37.6%) |
| CIE-LAB | lab(36.64, 55.10, -6.34) |
| CIE-LCH | lch(36.64, 55.46, 353.43°) |
| OKLab | oklab(47.62% 0.1694 -0.0161) |
| OKLCH | oklch(47.62% 0.17 354.6) |
| XYZ | xyz(17.0477, 9.3426, 12.4585) |
| Luminance | 0.0934 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Deep Magenta
#A0025C
ΔE00 2.35
Dark Fuchsia
#9D0759
ΔE00 2.58
Red Violet
#9E0168
ΔE00 3.69
Violet Red
#A50055
ΔE00 3.70
Dark Magenta
#960056
ΔE00 3.78
Reddish Purple
#910951
ΔE00 4.48
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9F2162 #219F5E
analogous
#9D219F #9F2162 #9F2123
triadic
#9F2162 #629F21 #21629F
tetradic
#9F2162 #9F9D21 #219F5E #21239F
square
#9F2162 #9F9D21 #219F5E #21239F
split-complementary
#9F2162 #239F21 #219F9D
monochromatic
#3A0C24 #6C1643 #9F2162 #D22C81 #DD5D9F
Accessibility & contrast
On white
7.32
#9F2162 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.87
#9F2162 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9F2162
7.32:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9F2162 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9F2162 | 1.00 | 7.32 | 2.87 | 7.32 |
| #FFFFFF | 7.32 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.87 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.32 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3B4764
Deuteranopia (green-blind)
#5E5E5F
Tritanopia (blue-blind)
#AC103F
Achromatopsia (no color)
#565656
Design tokens & code
CSS
--color: #9f2162; /* rgb */ color: rgb(159, 33, 98); /* oklch */ color: oklch(47.6% 0.170 354.6);
Tailwind
colors: {
custom: {
50: '#c06a8e',
500: '#9f2162',
950: '#000000',
},
}SCSS
$custom: #9f2162; $custom-light: #c06a8e; $custom-dark: #000000;
JSON
{
"hex": "#9f2162",
"rgb": {
"r": 159,
"g": 33,
"b": 98
},
"hsl": {
"h": 329.048,
"s": 65.625,
"l": 37.647
},
"oklch": {
"l": 0.47622,
"c": 0.17011,
"h": 354.6
},
"luminance": 0.0934
}Semantic roles & 50–950 ramp
primary
#9F2162
secondary
#5AC28C
accent
#E9913F
background
#FCF6F8
surface
#F8ECF0
border
#D1C7CB
text
#13070C
muted
#827A7D