#9F2562#9F2562
#9F2562 is a mid, vivid pink. Relative luminance 0.096; OKLCH L 47.9% C 0.166 H 355.0°. Best body text is #FFFFFF at 7.20:1 contrast (WCAG AA passes).
Color values
| HEX | #9F2562 |
|---|---|
| RGB | rgb(159, 37, 98) |
| HSL | hsl(330, 62%, 38%) |
| HSV | hsv(330, 77%, 62%) |
| CMYK | cmyk(0%, 76.7%, 38.4%, 37.6%) |
| CIE-LAB | lab(37.07, 53.86, -5.69) |
| CIE-LCH | lch(37.07, 54.16, 353.97°) |
| OKLab | oklab(47.94% 0.1654 -0.0143) |
| OKLCH | oklch(47.94% 0.166 355) |
| XYZ | xyz(17.1654, 9.5780, 12.4977) |
| Luminance | 0.0958 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Deep Magenta
#A0025C
ΔE00 2.82
Dark Fuchsia
#9D0759
ΔE00 2.97
Violet Red
#A50055
ΔE00 3.80
Dark Magenta
#960056
ΔE00 4.20
Red Violet
#9E0168
ΔE00 4.23
Reddish Purple
#910951
ΔE00 4.78
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9F2562 #259F62
analogous
#9F259F #9F2562 #9F2525
triadic
#9F2562 #629F25 #25629F
tetradic
#9F2562 #9F9F25 #259F62 #25259F
square
#9F2562 #9F9F25 #259F62 #25259F
split-complementary
#9F2562 #259F25 #259F9F
monochromatic
#3C0E25 #6D1943 #9F2562 #CF3281 #DB649F
Accessibility & contrast
On white
7.20
#9F2562 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.92
#9F2562 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9F2562
7.20:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9F2562 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9F2562 | 1.00 | 7.20 | 2.92 | 7.20 |
| #FFFFFF | 7.20 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.92 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.20 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3D4964
Deuteranopia (green-blind)
#5F5F5F
Tritanopia (blue-blind)
#AC1640
Achromatopsia (no color)
#575757
Design tokens & code
CSS
--color: #9f2562; /* rgb */ color: rgb(159, 37, 98); /* oklch */ color: oklch(47.9% 0.166 355.0);
Tailwind
colors: {
custom: {
50: '#c06c8e',
500: '#9f2562',
950: '#000000',
},
}SCSS
$custom: #9f2562; $custom-light: #c06c8e; $custom-dark: #000000;
JSON
{
"hex": "#9f2562",
"rgb": {
"r": 159,
"g": 37,
"b": 98
},
"hsl": {
"h": 330,
"s": 62.245,
"l": 38.431
},
"oklch": {
"l": 0.47943,
"c": 0.16602,
"h": 355
},
"luminance": 0.09576
}Semantic roles & 50–950 ramp
primary
#9F2562
secondary
#5FC090
accent
#E59442
background
#FCF6F8
surface
#F8ECF0
border
#D1C7CB
text
#13070C
muted
#827A7D