#9F266F#9F266F
#9F266F is a mid, vivid pink. Relative luminance 0.099; OKLCH L 48.5% C 0.171 H 348.5°. Best body text is #FFFFFF at 7.04:1 contrast (WCAG AA passes).
Color values
| HEX | #9F266F |
|---|---|
| RGB | rgb(159, 38, 111) |
| HSL | hsl(324, 61%, 39%) |
| HSV | hsv(324, 76%, 62%) |
| CMYK | cmyk(0%, 76.1%, 30.2%, 37.6%) |
| CIE-LAB | lab(37.67, 55.04, -13.01) |
| CIE-LCH | lch(37.67, 56.55, 346.70°) |
| OKLab | oklab(48.54% 0.1679 -0.0342) |
| OKLCH | oklch(48.54% 0.171 348.5) |
| XYZ | xyz(17.8613, 9.9069, 16.0074) |
| Luminance | 0.0990 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Violet
#9E0168
ΔE00 3.15
Deep Magenta
#A0025C
ΔE00 4.64
Dark Fuchsia
#9D0759
ΔE00 5.11
Dark Magenta
#960056
ΔE00 5.78
Magenta (survey)
#C20078
ΔE00 6.18
Violet Red
#A50055
ΔE00 6.62
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9F266F #269F56
analogous
#92269F #9F266F #9F2632
triadic
#9F266F #6F9F26 #266F9F
tetradic
#9F266F #9F9226 #269F56 #26329F
square
#9F266F #9F9226 #269F56 #26329F
split-complementary
#9F266F #329F26 #269F92
monochromatic
#3C0E2A #6E1A4D #9F266F #CE3491 #DA65AC
Accessibility & contrast
On white
7.04
#9F266F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.98
#9F266F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9F266F
7.04:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9F266F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9F266F | 1.00 | 7.04 | 2.98 | 7.04 |
| #FFFFFF | 7.04 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.98 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.04 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#394B71
Deuteranopia (green-blind)
#5C606C
Tritanopia (blue-blind)
#AB2047
Achromatopsia (no color)
#595959
Design tokens & code
CSS
--color: #9f266f; /* rgb */ color: rgb(159, 38, 111); /* oklch */ color: oklch(48.5% 0.171 348.5);
Tailwind
colors: {
custom: {
50: '#c06d98',
500: '#9f266f',
950: '#000000',
},
}SCSS
$custom: #9f266f; $custom-light: #c06d98; $custom-dark: #000000;
JSON
{
"hex": "#9f266f",
"rgb": {
"r": 159,
"g": 38,
"b": 111
},
"hsl": {
"h": 323.802,
"s": 61.421,
"l": 38.627
},
"oklch": {
"l": 0.4854,
"c": 0.17133,
"h": 348.5
},
"luminance": 0.09905
}Semantic roles & 50–950 ramp
primary
#9F266F
secondary
#61C087
accent
#E58343
background
#FCF6F9
surface
#F8ECF2
border
#D1C7CC
text
#13080D
muted
#827A7E