#9F2046#9F2046
#9F2046 is a mid, vivid pink. Relative luminance 0.088; OKLCH L 46.7% C 0.163 H 9.2°. Best body text is #FFFFFF at 7.58:1 contrast (WCAG AA passes).
Color values
| HEX | #9F2046 |
|---|---|
| RGB | rgb(159, 32, 70) |
| HSL | hsl(342, 66%, 37%) |
| HSV | hsv(342, 80%, 62%) |
| CMYK | cmyk(0%, 79.9%, 56%, 37.6%) |
| CIE-LAB | lab(35.69, 52.82, 10.31) |
| CIE-LCH | lch(35.69, 53.82, 11.04°) |
| OKLab | oklab(46.66% 0.1605 0.0261) |
| OKLCH | oklch(46.66% 0.163 9.2) |
| XYZ | xyz(15.9216, 8.8485, 6.6627) |
| Luminance | 0.0885 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Cranberry
#9E003A
ΔE00 3.12
Raspberry (survey)
#B00149
ΔE00 3.15
Purplish Red
#B0054B
ΔE00 3.21
Purple Red
#990147
ΔE00 4.21
Berry
#990F4B
ΔE00 4.24
Rouge
#AB1239
ΔE00 5.00
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9F2046 #209F79
analogous
#9F2086 #9F2046 #9F3920
triadic
#9F2046 #469F20 #20469F
tetradic
#9F2046 #869F20 #209F79 #39209F
square
#9F2046 #869F20 #209F79 #39209F
split-complementary
#9F2046 #209F39 #20869F
monochromatic
#390B19 #6C1630 #9F2046 #D22A5C #DE5B82
Accessibility & contrast
On white
7.58
#9F2046 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.77
#9F2046 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9F2046
7.58:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9F2046 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9F2046 | 1.00 | 7.58 | 2.77 | 7.58 |
| #FFFFFF | 7.58 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.77 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.58 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#434447
Deuteranopia (green-blind)
#635D43
Tritanopia (blue-blind)
#AE0031
Achromatopsia (no color)
#545454
Design tokens & code
CSS
--color: #9f2046; /* rgb */ color: rgb(159, 32, 70); /* oklch */ color: oklch(46.7% 0.163 9.2);
Tailwind
colors: {
custom: {
50: '#c26979',
500: '#9f2046',
950: '#000000',
},
}SCSS
$custom: #9f2046; $custom-light: #c26979; $custom-dark: #000000;
JSON
{
"hex": "#9f2046",
"rgb": {
"r": 159,
"g": 32,
"b": 70
},
"hsl": {
"h": 342.047,
"s": 66.492,
"l": 37.451
},
"oklch": {
"l": 0.46655,
"c": 0.16261,
"h": 9.2
},
"luminance": 0.08846
}Semantic roles & 50–950 ramp
primary
#9F2046
secondary
#59C2A3
accent
#E9B63E
background
#FCF6F7
surface
#F9ECED
border
#D2C7C8
text
#140709
muted
#827A7B