#9F246F#9F246F
#9F246F is a mid, vivid pink. Relative luminance 0.098; OKLCH L 48.4% C 0.173 H 348.3°. Best body text is #FFFFFF at 7.10:1 contrast (WCAG AA passes).
Color values
| HEX | #9F246F |
|---|---|
| RGB | rgb(159, 36, 111) |
| HSL | hsl(323, 63%, 38%) |
| HSV | hsv(323, 77%, 62%) |
| CMYK | cmyk(0%, 77.4%, 30.2%, 37.6%) |
| CIE-LAB | lab(37.45, 55.68, -13.36) |
| CIE-LCH | lch(37.45, 57.26, 346.51°) |
| OKLab | oklab(48.38% 0.1699 -0.0351) |
| OKLCH | oklch(48.38% 0.173 348.3) |
| XYZ | xyz(17.7991, 9.7824, 15.9867) |
| Luminance | 0.0978 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Violet
#9E0168
ΔE00 2.90
Deep Magenta
#A0025C
ΔE00 4.56
Dark Fuchsia
#9D0759
ΔE00 5.05
Dark Magenta
#960056
ΔE00 5.68
Magenta (survey)
#C20078
ΔE00 6.23
Violet Red
#A50055
ΔE00 6.62
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9F246F #249F54
analogous
#91249F #9F246F #9F2431
triadic
#9F246F #6F9F24 #246F9F
tetradic
#9F246F #9F9124 #249F54 #24319F
square
#9F246F #9F9124 #249F54 #24319F
split-complementary
#9F246F #319F24 #249F91
monochromatic
#3B0D29 #6D194C #9F246F #D03092 #DB62AC
Accessibility & contrast
On white
7.10
#9F246F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.96
#9F246F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9F246F
7.10:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9F246F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9F246F | 1.00 | 7.10 | 2.96 | 7.10 |
| #FFFFFF | 7.10 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.96 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.10 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#374A71
Deuteranopia (green-blind)
#5C606C
Tritanopia (blue-blind)
#AB1E47
Achromatopsia (no color)
#585858
Design tokens & code
CSS
--color: #9f246f; /* rgb */ color: rgb(159, 36, 111); /* oklch */ color: oklch(48.4% 0.173 348.3);
Tailwind
colors: {
custom: {
50: '#c06c98',
500: '#9f246f',
950: '#000000',
},
}SCSS
$custom: #9f246f; $custom-light: #c06c98; $custom-dark: #000000;
JSON
{
"hex": "#9f246f",
"rgb": {
"r": 159,
"g": 36,
"b": 111
},
"hsl": {
"h": 323.415,
"s": 63.077,
"l": 38.235
},
"oklch": {
"l": 0.48376,
"c": 0.17348,
"h": 348.3
},
"luminance": 0.0978
}Semantic roles & 50–950 ramp
primary
#9F246F
secondary
#5EC185
accent
#E68242
background
#FCF6F9
surface
#F8ECF2
border
#D1C7CC
text
#13080D
muted
#827A7E