#9F245F#9F245F
#9F245F is a mid, vivid pink. Relative luminance 0.095; OKLCH L 47.8% C 0.166 H 356.5°. Best body text is #FFFFFF at 7.26:1 contrast (WCAG AA passes).
Color values
| HEX | #9F245F |
|---|---|
| RGB | rgb(159, 36, 95) |
| HSL | hsl(331, 63%, 38%) |
| HSV | hsv(331, 77%, 62%) |
| CMYK | cmyk(0%, 77.4%, 40.3%, 37.6%) |
| CIE-LAB | lab(36.86, 53.86, -4.10) |
| CIE-LCH | lch(36.86, 54.01, 355.65°) |
| OKLab | oklab(47.75% 0.1655 -0.0101) |
| OKLCH | oklch(47.75% 0.166 356.5) |
| XYZ | xyz(16.9957, 9.4611, 11.7554) |
| Luminance | 0.0946 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Deep Magenta
#A0025C
ΔE00 2.72
Dark Fuchsia
#9D0759
ΔE00 2.72
Violet Red
#A50055
ΔE00 3.21
Dark Magenta
#960056
ΔE00 4.05
Reddish Purple
#910951
ΔE00 4.49
Mulberry
#920A4E
ΔE00 4.56
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9F245F #249F64
analogous
#9F249C #9F245F #9F2724
triadic
#9F245F #5F9F24 #245F9F
tetradic
#9F245F #9C9F24 #249F64 #27249F
square
#9F245F #9C9F24 #249F64 #27249F
split-complementary
#9F245F #249F27 #249C9F
monochromatic
#3B0D23 #6D1941 #9F245F #D0307D #DB629C
Accessibility & contrast
On white
7.26
#9F245F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.89
#9F245F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9F245F
7.26:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9F245F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9F245F | 1.00 | 7.26 | 2.89 | 7.26 |
| #FFFFFF | 7.26 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.89 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.26 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3E4860
Deuteranopia (green-blind)
#605F5C
Tritanopia (blue-blind)
#AC123E
Achromatopsia (no color)
#575757
Design tokens & code
CSS
--color: #9f245f; /* rgb */ color: rgb(159, 36, 95); /* oklch */ color: oklch(47.8% 0.166 356.5);
Tailwind
colors: {
custom: {
50: '#c06b8c',
500: '#9f245f',
950: '#000000',
},
}SCSS
$custom: #9f245f; $custom-light: #c06b8c; $custom-dark: #000000;
JSON
{
"hex": "#9f245f",
"rgb": {
"r": 159,
"g": 36,
"b": 95
},
"hsl": {
"h": 331.22,
"s": 63.077,
"l": 38.235
},
"oklch": {
"l": 0.4775,
"c": 0.16581,
"h": 356.5
},
"luminance": 0.09459
}Semantic roles & 50–950 ramp
primary
#9F245F
secondary
#5EC191
accent
#E69742
background
#FCF6F8
surface
#F8ECF0
border
#D1C7CB
text
#13070C
muted
#827A7D