#9F2252#9F2252
#9F2252 is a mid, vivid pink. Relative luminance 0.091; OKLCH L 47.2% C 0.163 H 3.2°. Best body text is #FFFFFF at 7.43:1 contrast (WCAG AA passes).
Color values
| HEX | #9F2252 |
|---|---|
| RGB | rgb(159, 34, 82) |
| HSL | hsl(337, 65%, 38%) |
| HSV | hsv(337, 79%, 62%) |
| CMYK | cmyk(0%, 78.6%, 48.4%, 37.6%) |
| CIE-LAB | lab(36.23, 53.21, 3.32) |
| CIE-LCH | lch(36.23, 53.32, 3.57°) |
| OKLab | oklab(47.15% 0.1631 0.0091) |
| OKLCH | oklch(47.15% 0.163 3.2) |
| XYZ | xyz(16.3945, 9.1264, 8.8793) |
| Luminance | 0.0912 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Berry
#990F4B
ΔE00 2.59
Violet Red
#A50055
ΔE00 2.86
Purple Red
#990147
ΔE00 3.42
Purplish Red
#B0054B
ΔE00 4.12
Dark Fuchsia
#9D0759
ΔE00 4.36
Mulberry
#920A4E
ΔE00 4.43
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9F2252 #229F6F
analogous
#9F2290 #9F2252 #9F3022
triadic
#9F2252 #529F22 #22529F
tetradic
#9F2252 #909F22 #229F6F #30229F
square
#9F2252 #909F22 #229F6F #30229F
split-complementary
#9F2252 #229F30 #22909F
monochromatic
#3A0C1E #6D1738 #9F2252 #D12D6C #DD5F8F
Accessibility & contrast
On white
7.43
#9F2252 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.82
#9F2252 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9F2252
7.43:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9F2252 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9F2252 | 1.00 | 7.43 | 2.82 | 7.43 |
| #FFFFFF | 7.43 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.82 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.43 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#414653
Deuteranopia (green-blind)
#625E4F
Tritanopia (blue-blind)
#AD0137
Achromatopsia (no color)
#555555
Design tokens & code
CSS
--color: #9f2252; /* rgb */ color: rgb(159, 34, 82); /* oklch */ color: oklch(47.2% 0.163 3.2);
Tailwind
colors: {
custom: {
50: '#c16a82',
500: '#9f2252',
950: '#000000',
},
}SCSS
$custom: #9f2252; $custom-light: #c16a82; $custom-dark: #000000;
JSON
{
"hex": "#9f2252",
"rgb": {
"r": 159,
"g": 34,
"b": 82
},
"hsl": {
"h": 336.96,
"s": 64.767,
"l": 37.843
},
"oklch": {
"l": 0.47154,
"c": 0.16336,
"h": 3.2
},
"luminance": 0.09124
}Semantic roles & 50–950 ramp
primary
#9F2252
secondary
#5BC19A
accent
#E8A740
background
#FCF6F7
surface
#F8ECEE
border
#D1C7C9
text
#13070A
muted
#827A7C