#9F284B#9F284B
#9F284B is a mid, vivid pink. Relative luminance 0.094; OKLCH L 47.5% C 0.156 H 8.1°. Best body text is #FFFFFF at 7.29:1 contrast (WCAG AA passes).
Color values
| HEX | #9F284B |
|---|---|
| RGB | rgb(159, 40, 75) |
| HSL | hsl(342, 60%, 39%) |
| HSV | hsv(342, 75%, 62%) |
| CMYK | cmyk(0%, 74.8%, 52.8%, 37.6%) |
| CIE-LAB | lab(36.74, 50.62, 8.55) |
| CIE-LCH | lch(36.74, 51.34, 9.59°) |
| OKLab | oklab(47.47% 0.1541 0.022) |
| OKLCH | oklch(47.47% 0.156 8.1) |
| XYZ | xyz(16.3283, 9.3988, 7.6096) |
| Luminance | 0.0940 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purplish Red
#B0054B
ΔE00 3.46
Raspberry (survey)
#B00149
ΔE00 3.56
Berry
#990F4B
ΔE00 4.32
Cranberry
#9E003A
ΔE00 4.46
Purple Red
#990147
ΔE00 4.62
Violet Red
#A50055
ΔE00 5.45
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9F284B #289F7C
analogous
#9F2887 #9F284B #9F4128
triadic
#9F284B #4B9F28 #284B9F
tetradic
#9F284B #879F28 #289F7C #41289F
square
#9F284B #879F28 #289F7C #41289F
split-complementary
#9F284B #289F41 #28879F
monochromatic
#3D0F1D #6E1C34 #9F284B #CD3763 #D96889
Accessibility & contrast
On white
7.29
#9F284B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.88
#9F284B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9F284B
7.29:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9F284B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9F284B | 1.00 | 7.29 | 2.88 | 7.29 |
| #FFFFFF | 7.29 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.88 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.29 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#46474C
Deuteranopia (green-blind)
#655F48
Tritanopia (blue-blind)
#AE0A37
Achromatopsia (no color)
#565656
Design tokens & code
CSS
--color: #9f284b; /* rgb */ color: rgb(159, 40, 75); /* oklch */ color: oklch(47.5% 0.156 8.1);
Tailwind
colors: {
custom: {
50: '#c16c7d',
500: '#9f284b',
950: '#000000',
},
}SCSS
$custom: #9f284b; $custom-light: #c16c7d; $custom-dark: #000000;
JSON
{
"hex": "#9f284b",
"rgb": {
"r": 159,
"g": 40,
"b": 75
},
"hsl": {
"h": 342.353,
"s": 59.799,
"l": 39.02
},
"oklch": {
"l": 0.47471,
"c": 0.15564,
"h": 8.1
},
"luminance": 0.09397
}Semantic roles & 50–950 ramp
primary
#9F284B
secondary
#64BFA4
accent
#E3B445
background
#FCF6F7
surface
#F8ECEE
border
#D1C7C9
text
#130709
muted
#827A7B