#9F266C#9F266C
#9F266C is a mid, vivid pink. Relative luminance 0.098; OKLCH L 48.4% C 0.170 H 350.0°. Best body text is #FFFFFF at 7.08:1 contrast (WCAG AA passes).
Color values
| HEX | #9F266C |
|---|---|
| RGB | rgb(159, 38, 108) |
| HSL | hsl(325, 61%, 39%) |
| HSV | hsv(325, 76%, 62%) |
| CMYK | cmyk(0%, 76.1%, 32.1%, 37.6%) |
| CIE-LAB | lab(37.56, 54.67, -11.30) |
| CIE-LCH | lch(37.56, 55.83, 348.32°) |
| OKLab | oklab(48.42% 0.1672 -0.0295) |
| OKLCH | oklch(48.42% 0.17 350) |
| XYZ | xyz(17.6989, 9.8419, 15.1521) |
| Luminance | 0.0984 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Violet
#9E0168
ΔE00 3.15
Deep Magenta
#A0025C
ΔE00 4.08
Dark Fuchsia
#9D0759
ΔE00 4.52
Dark Magenta
#960056
ΔE00 5.30
Violet Red
#A50055
ΔE00 5.95
Magenta (survey)
#C20078
ΔE00 6.15
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9F266C #269F59
analogous
#95269F #9F266C #9F2630
triadic
#9F266C #6C9F26 #266C9F
tetradic
#9F266C #9F9526 #269F59 #26309F
square
#9F266C #9F9526 #269F59 #26309F
split-complementary
#9F266C #309F26 #269F95
monochromatic
#3C0E29 #6E1A4A #9F266C #CE348D #DA65A9
Accessibility & contrast
On white
7.08
#9F266C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.97
#9F266C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9F266C
7.08:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9F266C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9F266C | 1.00 | 7.08 | 2.97 | 7.08 |
| #FFFFFF | 7.08 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.97 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.08 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3A4B6E
Deuteranopia (green-blind)
#5D6069
Tritanopia (blue-blind)
#AB1E46
Achromatopsia (no color)
#585858
Design tokens & code
CSS
--color: #9f266c; /* rgb */ color: rgb(159, 38, 108); /* oklch */ color: oklch(48.4% 0.170 350.0);
Tailwind
colors: {
custom: {
50: '#c06d96',
500: '#9f266c',
950: '#000000',
},
}SCSS
$custom: #9f266c; $custom-light: #c06d96; $custom-dark: #000000;
JSON
{
"hex": "#9f266c",
"rgb": {
"r": 159,
"g": 38,
"b": 108
},
"hsl": {
"h": 325.289,
"s": 61.421,
"l": 38.627
},
"oklch": {
"l": 0.48416,
"c": 0.16973,
"h": 350
},
"luminance": 0.0984
}Semantic roles & 50–950 ramp
primary
#9F266C
secondary
#61C089
accent
#E58743
background
#FCF6F9
surface
#F8ECF1
border
#D1C7CB
text
#13080D
muted
#827A7E