#9D2F58#9D2F58
#9D2F58 is a mid, vivid pink. Relative luminance 0.099; OKLCH L 48.2% C 0.149 H 1.7°. Best body text is #FFFFFF at 7.04:1 contrast (WCAG AA passes).
Color values
| HEX | #9D2F58 |
|---|---|
| RGB | rgb(157, 47, 88) |
| HSL | hsl(338, 54%, 40%) |
| HSV | hsv(338, 70%, 62%) |
| CMYK | cmyk(0%, 70.1%, 43.9%, 38.4%) |
| CIE-LAB | lab(37.68, 48.59, 1.52) |
| CIE-LCH | lch(37.68, 48.62, 1.79°) |
| OKLab | oklab(48.21% 0.1488 0.0045) |
| OKLCH | oklch(48.21% 0.149 1.7) |
| XYZ | xyz(16.6838, 9.9078, 10.2645) |
| Luminance | 0.0991 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Violet Red
#A50055
ΔE00 4.24
Berry
#990F4B
ΔE00 4.34
Dark Fuchsia
#9D0759
ΔE00 5.09
Purple Red
#990147
ΔE00 5.28
Light Burgundy
#A8415B
ΔE00 5.39
Deep Magenta
#A0025C
ΔE00 5.40
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9D2F58 #2F9D74
analogous
#9D2F8F #9D2F58 #9D3D2F
triadic
#9D2F58 #589D2F #2F589D
tetradic
#9D2F58 #8F9D2F #2F9D74 #3D2F9D
square
#9D2F58 #8F9D2F #2F9D74 #3D2F9D
split-complementary
#9D2F58 #2F9D3D #2F8F9D
monochromatic
#3F1323 #6E213E #9D2F58 #C74374 #D57297
Accessibility & contrast
On white
7.04
#9D2F58 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.98
#9D2F58 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9D2F58
7.04:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9D2F58 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9D2F58 | 1.00 | 7.04 | 2.98 | 7.04 |
| #FFFFFF | 7.04 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.98 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.04 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#464B59
Deuteranopia (green-blind)
#636055
Tritanopia (blue-blind)
#AA2040
Achromatopsia (no color)
#595959
Design tokens & code
CSS
--color: #9d2f58; /* rgb */ color: rgb(157, 47, 88); /* oklch */ color: oklch(48.2% 0.149 1.7);
Tailwind
colors: {
custom: {
50: '#bf7087',
500: '#9d2f58',
950: '#000000',
},
}SCSS
$custom: #9d2f58; $custom-light: #bf7087; $custom-dark: #000000;
JSON
{
"hex": "#9d2f58",
"rgb": {
"r": 157,
"g": 47,
"b": 88
},
"hsl": {
"h": 337.636,
"s": 53.922,
"l": 40
},
"oklch": {
"l": 0.48211,
"c": 0.14882,
"h": 1.7
},
"luminance": 0.09906
}Semantic roles & 50–950 ramp
primary
#9D2F58
secondary
#6BBC9E
accent
#DDA74B
background
#FCF7F8
surface
#F8EDEF
border
#D1C8CA
text
#13080B
muted
#827B7C