#9F236F#9F236F
#9F236F is a mid, vivid pink. Relative luminance 0.097; OKLCH L 48.3% C 0.175 H 348.2°. Best body text is #FFFFFF at 7.13:1 contrast (WCAG AA passes).
Color values
| HEX | #9F236F |
|---|---|
| RGB | rgb(159, 35, 111) |
| HSL | hsl(323, 64%, 38%) |
| HSV | hsv(323, 78%, 62%) |
| CMYK | cmyk(0%, 78%, 30.2%, 37.6%) |
| CIE-LAB | lab(37.34, 55.99, -13.52) |
| CIE-LCH | lch(37.34, 57.60, 346.42°) |
| OKLab | oklab(48.3% 0.1709 -0.0356) |
| OKLCH | oklch(48.3% 0.175 348.2) |
| XYZ | xyz(17.7693, 9.7227, 15.9768) |
| Luminance | 0.0972 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Violet
#9E0168
ΔE00 2.78
Deep Magenta
#A0025C
ΔE00 4.53
Dark Fuchsia
#9D0759
ΔE00 5.03
Dark Magenta
#960056
ΔE00 5.63
Magenta (survey)
#C20078
ΔE00 6.25
Violet Red
#A50055
ΔE00 6.63
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9F236F #239F53
analogous
#91239F #9F236F #9F2331
triadic
#9F236F #6F9F23 #236F9F
tetradic
#9F236F #9F9123 #239F53 #23319F
square
#9F236F #9F9123 #239F53 #23319F
split-complementary
#9F236F #319F23 #239F91
monochromatic
#3B0D29 #6D184C #9F236F #D12E92 #DC60AC
Accessibility & contrast
On white
7.13
#9F236F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.94
#9F236F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9F236F
7.13:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9F236F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9F236F | 1.00 | 7.13 | 2.94 | 7.13 |
| #FFFFFF | 7.13 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.94 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.13 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#374A71
Deuteranopia (green-blind)
#5B606C
Tritanopia (blue-blind)
#AB1C46
Achromatopsia (no color)
#585858
Design tokens & code
CSS
--color: #9f236f; /* rgb */ color: rgb(159, 35, 111); /* oklch */ color: oklch(48.3% 0.175 348.2);
Tailwind
colors: {
custom: {
50: '#c06b98',
500: '#9f236f',
950: '#000000',
},
}SCSS
$custom: #9f236f; $custom-light: #c06b98; $custom-dark: #000000;
JSON
{
"hex": "#9f236f",
"rgb": {
"r": 159,
"g": 35,
"b": 111
},
"hsl": {
"h": 323.226,
"s": 63.918,
"l": 38.039
},
"oklch": {
"l": 0.48297,
"c": 0.17452,
"h": 348.2
},
"luminance": 0.09721
}Semantic roles & 50–950 ramp
primary
#9F236F
secondary
#5DC184
accent
#E78141
background
#FCF6F9
surface
#F8ECF2
border
#D1C7CC
text
#13080D
muted
#827A7E