#9F2268#9F2268
#9F2268 is a mid, vivid pink. Relative luminance 0.095; OKLCH L 47.9% C 0.172 H 351.6°. Best body text is #FFFFFF at 7.23:1 contrast (WCAG AA passes).
Color values
| HEX | #9F2268 |
|---|---|
| RGB | rgb(159, 34, 104) |
| HSL | hsl(326, 65%, 38%) |
| HSV | hsv(326, 79%, 62%) |
| CMYK | cmyk(0%, 78.6%, 34.6%, 37.6%) |
| CIE-LAB | lab(36.96, 55.46, -9.67) |
| CIE-LCH | lch(36.96, 56.30, 350.11°) |
| OKLab | oklab(47.93% 0.1701 -0.025) |
| OKLCH | oklch(47.93% 0.172 351.6) |
| XYZ | xyz(17.3698, 9.5166, 14.0162) |
| Luminance | 0.0951 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Violet
#9E0168
ΔE00 2.87
Deep Magenta
#A0025C
ΔE00 3.17
Dark Fuchsia
#9D0759
ΔE00 3.58
Dark Magenta
#960056
ΔE00 4.46
Violet Red
#A50055
ΔE00 5.04
Reddish Purple
#910951
ΔE00 5.36
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9F2268 #229F59
analogous
#97229F #9F2268 #9F2229
triadic
#9F2268 #689F22 #22689F
tetradic
#9F2268 #9F9722 #229F59 #22299F
square
#9F2268 #9F9722 #229F59 #22299F
split-complementary
#9F2268 #299F22 #229F97
monochromatic
#3A0C26 #6D1747 #9F2268 #D12D89 #DD5FA5
Accessibility & contrast
On white
7.23
#9F2268 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.90
#9F2268 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9F2268
7.23:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9F2268 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9F2268 | 1.00 | 7.23 | 2.90 | 7.23 |
| #FFFFFF | 7.23 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.90 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.23 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#39496A
Deuteranopia (green-blind)
#5D5F65
Tritanopia (blue-blind)
#AB1642
Achromatopsia (no color)
#575757
Design tokens & code
CSS
--color: #9f2268; /* rgb */ color: rgb(159, 34, 104); /* oklch */ color: oklch(47.9% 0.172 351.6);
Tailwind
colors: {
custom: {
50: '#c06b93',
500: '#9f2268',
950: '#000000',
},
}SCSS
$custom: #9f2268; $custom-light: #c06b93; $custom-dark: #000000;
JSON
{
"hex": "#9f2268",
"rgb": {
"r": 159,
"g": 34,
"b": 104
},
"hsl": {
"h": 326.4,
"s": 64.767,
"l": 37.843
},
"oklch": {
"l": 0.47931,
"c": 0.17191,
"h": 351.6
},
"luminance": 0.09514
}Semantic roles & 50–950 ramp
primary
#9F2268
secondary
#5BC188
accent
#E88A40
background
#FCF6F9
surface
#F8ECF1
border
#D1C7CB
text
#13070D
muted
#827A7E