#9F225F#9F225F
#9F225F is a mid, vivid pink. Relative luminance 0.093; OKLCH L 47.6% C 0.168 H 356.3°. Best body text is #FFFFFF at 7.32:1 contrast (WCAG AA passes).
Color values
| HEX | #9F225F |
|---|---|
| RGB | rgb(159, 34, 95) |
| HSL | hsl(331, 65%, 38%) |
| HSV | hsv(331, 79%, 62%) |
| CMYK | cmyk(0%, 78.6%, 40.3%, 37.6%) |
| CIE-LAB | lab(36.64, 54.48, -4.43) |
| CIE-LCH | lch(36.64, 54.66, 355.35°) |
| OKLab | oklab(47.59% 0.1675 -0.011) |
| OKLCH | oklch(47.59% 0.168 356.3) |
| XYZ | xyz(16.9369, 9.3434, 11.7358) |
| Luminance | 0.0934 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Deep Magenta
#A0025C
ΔE00 2.44
Dark Fuchsia
#9D0759
ΔE00 2.47
Violet Red
#A50055
ΔE00 3.12
Dark Magenta
#960056
ΔE00 3.81
Reddish Purple
#910951
ΔE00 4.31
Mulberry
#920A4E
ΔE00 4.42
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9F225F #229F62
analogous
#9F229D #9F225F #9F2322
triadic
#9F225F #5F9F22 #225F9F
tetradic
#9F225F #9D9F22 #229F62 #23229F
square
#9F225F #9D9F22 #229F62 #23229F
split-complementary
#9F225F #229F23 #229D9F
monochromatic
#3A0C23 #6D1741 #9F225F #D12D7D #DD5F9C
Accessibility & contrast
On white
7.32
#9F225F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.87
#9F225F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9F225F
7.32:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9F225F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9F225F | 1.00 | 7.32 | 2.87 | 7.32 |
| #FFFFFF | 7.32 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.87 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.32 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3D4761
Deuteranopia (green-blind)
#5F5F5C
Tritanopia (blue-blind)
#AC0F3E
Achromatopsia (no color)
#565656
Design tokens & code
CSS
--color: #9f225f; /* rgb */ color: rgb(159, 34, 95); /* oklch */ color: oklch(47.6% 0.168 356.3);
Tailwind
colors: {
custom: {
50: '#c06b8c',
500: '#9f225f',
950: '#000000',
},
}SCSS
$custom: #9f225f; $custom-light: #c06b8c; $custom-dark: #000000;
JSON
{
"hex": "#9f225f",
"rgb": {
"r": 159,
"g": 34,
"b": 95
},
"hsl": {
"h": 330.72,
"s": 64.767,
"l": 37.843
},
"oklch": {
"l": 0.47589,
"c": 0.16785,
"h": 356.3
},
"luminance": 0.09341
}Semantic roles & 50–950 ramp
primary
#9F225F
secondary
#5BC190
accent
#E89640
background
#FCF6F8
surface
#F8ECF0
border
#D1C7CB
text
#13070C
muted
#827A7D