#9F284F#9F284F
#9F284F is a mid, vivid pink. Relative luminance 0.095; OKLCH L 47.6% C 0.156 H 5.9°. Best body text is #FFFFFF at 7.26:1 contrast (WCAG AA passes).
Color values
| HEX | #9F284F |
|---|---|
| RGB | rgb(159, 40, 79) |
| HSL | hsl(340, 60%, 39%) |
| HSV | hsv(340, 75%, 62%) |
| CMYK | cmyk(0%, 74.8%, 50.3%, 37.6%) |
| CIE-LAB | lab(36.85, 50.97, 6.13) |
| CIE-LCH | lch(36.85, 51.33, 6.86°) |
| OKLab | oklab(47.58% 0.1556 0.0161) |
| OKLCH | oklch(47.58% 0.156 5.9) |
| XYZ | xyz(16.4696, 9.4553, 8.3534) |
| Luminance | 0.0945 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purplish Red
#B0054B
ΔE00 3.64
Berry
#990F4B
ΔE00 3.65
Raspberry (survey)
#B00149
ΔE00 3.89
Purple Red
#990147
ΔE00 4.20
Violet Red
#A50055
ΔE00 4.44
Cranberry
#9E003A
ΔE00 5.32
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9F284F #289F78
analogous
#9F288B #9F284F #9F3D28
triadic
#9F284F #4F9F28 #284F9F
tetradic
#9F284F #8B9F28 #289F78 #3D289F
square
#9F284F #8B9F28 #289F78 #3D289F
split-complementary
#9F284F #289F3D #288B9F
monochromatic
#3D0F1E #6E1C37 #9F284F #CD3768 #D9688D
Accessibility & contrast
On white
7.26
#9F284F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.89
#9F284F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9F284F
7.26:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9F284F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9F284F | 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)
#454850
Deuteranopia (green-blind)
#645F4C
Tritanopia (blue-blind)
#AD0D38
Achromatopsia (no color)
#575757
Design tokens & code
CSS
--color: #9f284f; /* rgb */ color: rgb(159, 40, 79); /* oklch */ color: oklch(47.6% 0.156 5.9);
Tailwind
colors: {
custom: {
50: '#c16c80',
500: '#9f284f',
950: '#000000',
},
}SCSS
$custom: #9f284f; $custom-light: #c16c80; $custom-dark: #000000;
JSON
{
"hex": "#9f284f",
"rgb": {
"r": 159,
"g": 40,
"b": 79
},
"hsl": {
"h": 340.336,
"s": 59.799,
"l": 39.02
},
"oklch": {
"l": 0.47583,
"c": 0.15645,
"h": 5.9
},
"luminance": 0.09453
}Semantic roles & 50–950 ramp
primary
#9F284F
secondary
#64BFA1
accent
#E3AF45
background
#FCF6F7
surface
#F8ECEE
border
#D1C7C9
text
#13080A
muted
#827B7C