#9F2452#9F2452
#9F2452 is a mid, vivid pink. Relative luminance 0.092; OKLCH L 47.3% C 0.161 H 3.5°. Best body text is #FFFFFF at 7.37:1 contrast (WCAG AA passes).
Color values
| HEX | #9F2452 |
|---|---|
| RGB | rgb(159, 36, 82) |
| HSL | hsl(338, 63%, 38%) |
| HSV | hsv(338, 77%, 62%) |
| CMYK | cmyk(0%, 77.4%, 48.4%, 37.6%) |
| CIE-LAB | lab(36.45, 52.58, 3.64) |
| CIE-LCH | lch(36.45, 52.71, 3.96°) |
| OKLab | oklab(47.32% 0.1611 0.0099) |
| OKLCH | oklch(47.32% 0.161 3.5) |
| XYZ | xyz(16.4533, 9.2441, 8.8989) |
| Luminance | 0.0924 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Berry
#990F4B
ΔE00 2.83
Violet Red
#A50055
ΔE00 3.16
Purple Red
#990147
ΔE00 3.63
Purplish Red
#B0054B
ΔE00 4.07
Raspberry (survey)
#B00149
ΔE00 4.41
Dark Fuchsia
#9D0759
ΔE00 4.65
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9F2452 #249F71
analogous
#9F248F #9F2452 #9F3324
triadic
#9F2452 #529F24 #24529F
tetradic
#9F2452 #8F9F24 #249F71 #33249F
square
#9F2452 #8F9F24 #249F71 #33249F
split-complementary
#9F2452 #249F33 #248F9F
monochromatic
#3B0D1F #6D1938 #9F2452 #D0306C #DB628F
Accessibility & contrast
On white
7.37
#9F2452 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.85
#9F2452 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9F2452
7.37:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9F2452 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9F2452 | 1.00 | 7.37 | 2.85 | 7.37 |
| #FFFFFF | 7.37 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.85 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.37 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#424653
Deuteranopia (green-blind)
#625E4F
Tritanopia (blue-blind)
#AD0638
Achromatopsia (no color)
#565656
Design tokens & code
CSS
--color: #9f2452; /* rgb */ color: rgb(159, 36, 82); /* oklch */ color: oklch(47.3% 0.161 3.5);
Tailwind
colors: {
custom: {
50: '#c16b82',
500: '#9f2452',
950: '#000000',
},
}SCSS
$custom: #9f2452; $custom-light: #c16b82; $custom-dark: #000000;
JSON
{
"hex": "#9f2452",
"rgb": {
"r": 159,
"g": 36,
"b": 82
},
"hsl": {
"h": 337.561,
"s": 63.077,
"l": 38.235
},
"oklch": {
"l": 0.47318,
"c": 0.16138,
"h": 3.5
},
"luminance": 0.09242
}Semantic roles & 50–950 ramp
primary
#9F2452
secondary
#5EC19C
accent
#E6A942
background
#FCF6F7
surface
#F8ECEE
border
#D1C7C9
text
#13070A
muted
#827A7C