#9D304C#9D304C
#9D304C is a mid, vivid pink. Relative luminance 0.098; OKLCH L 48.0% C 0.145 H 9.1°. Best body text is #FFFFFF at 7.09:1 contrast (WCAG AA passes).
Color values
| HEX | #9D304C |
|---|---|
| RGB | rgb(157, 48, 76) |
| HSL | hsl(345, 53%, 40%) |
| HSV | hsv(345, 69%, 62%) |
| CMYK | cmyk(0%, 69.4%, 51.6%, 38.4%) |
| CIE-LAB | lab(37.49, 47.04, 8.91) |
| CIE-LCH | lch(37.49, 47.88, 10.72°) |
| OKLab | oklab(47.97% 0.1429 0.0229) |
| OKLCH | oklch(47.97% 0.145 9.1) |
| XYZ | xyz(16.2675, 9.8059, 7.8722) |
| Luminance | 0.0980 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purplish Red
#B0054B
ΔE00 4.50
Raspberry (survey)
#B00149
ΔE00 4.58
Light Burgundy
#A8415B
ΔE00 4.62
Cranberry
#9E003A
ΔE00 5.28
Berry
#990F4B
ΔE00 5.46
Light Maroon
#A24857
ΔE00 5.55
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9D304C #309D81
analogous
#9D3083 #9D304C #9D4A30
triadic
#9D304C #4C9D30 #304C9D
tetradic
#9D304C #839D30 #309D81 #4A309D
square
#9D304C #839D30 #309D81 #4A309D
split-complementary
#9D304C #309D4A #30839D
monochromatic
#3F131F #6E2235 #9D304C #C64466 #D4738C
Accessibility & contrast
On white
7.09
#9D304C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.96
#9D304C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9D304C
7.09:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9D304C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9D304C | 1.00 | 7.09 | 2.96 | 7.09 |
| #FFFFFF | 7.09 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.96 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.09 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4A4A4D
Deuteranopia (green-blind)
#666049
Tritanopia (blue-blind)
#AB1C3B
Achromatopsia (no color)
#585858
Design tokens & code
CSS
--color: #9d304c; /* rgb */ color: rgb(157, 48, 76); /* oklch */ color: oklch(48.0% 0.145 9.1);
Tailwind
colors: {
custom: {
50: '#bf707d',
500: '#9d304c',
950: '#000000',
},
}SCSS
$custom: #9d304c; $custom-light: #bf707d; $custom-dark: #000000;
JSON
{
"hex": "#9d304c",
"rgb": {
"r": 157,
"g": 48,
"b": 76
},
"hsl": {
"h": 344.587,
"s": 53.171,
"l": 40.196
},
"oklch": {
"l": 0.47966,
"c": 0.14473,
"h": 9.1
},
"luminance": 0.09804
}Semantic roles & 50–950 ramp
primary
#9D304C
secondary
#6DBCA8
accent
#DDB74B
background
#FCF7F7
surface
#F8EDEE
border
#D1C8C9
text
#130809
muted
#827B7B