#9D304B#9D304B
#9D304B is a mid, vivid red. Relative luminance 0.098; OKLCH L 47.9% C 0.145 H 9.7°. Best body text is #FFFFFF at 7.10:1 contrast (WCAG AA passes).
Color values
| HEX | #9D304B |
|---|---|
| RGB | rgb(157, 48, 75) |
| HSL | hsl(345, 53%, 40%) |
| HSV | hsv(345, 69%, 62%) |
| CMYK | cmyk(0%, 69.4%, 52.2%, 38.4%) |
| CIE-LAB | lab(37.47, 46.95, 9.51) |
| CIE-LCH | lch(37.47, 47.90, 11.45°) |
| OKLab | oklab(47.94% 0.1425 0.0244) |
| OKLCH | oklch(47.94% 0.145 9.7) |
| XYZ | xyz(16.2330, 9.7921, 7.6905) |
| Luminance | 0.0979 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Purplish Red
#B0054B
ΔE00 4.57
Raspberry (survey)
#B00149
ΔE00 4.61
Light Burgundy
#A8415B
ΔE00 4.72
Cranberry
#9E003A
ΔE00 5.16
Light Maroon
#A24857
ΔE00 5.50
Berry
#990F4B
ΔE00 5.67
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9D304B #309D82
analogous
#9D3081 #9D304B #9D4C30
triadic
#9D304B #4B9D30 #304B9D
tetradic
#9D304B #819D30 #309D82 #4C309D
square
#9D304B #819D30 #309D82 #4C309D
split-complementary
#9D304B #309D4C #30819D
monochromatic
#3F131E #6E2235 #9D304B #C64464 #D4738B
Accessibility & contrast
On white
7.10
#9D304B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.96
#9D304B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9D304B
7.10:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9D304B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9D304B | 1.00 | 7.10 | 2.96 | 7.10 |
| #FFFFFF | 7.10 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.96 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.10 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4A4A4B
Deuteranopia (green-blind)
#666048
Tritanopia (blue-blind)
#AB1C3B
Achromatopsia (no color)
#585858
Design tokens & code
CSS
--color: #9d304b; /* rgb */ color: rgb(157, 48, 75); /* oklch */ color: oklch(47.9% 0.145 9.7);
Tailwind
colors: {
custom: {
50: '#bf707d',
500: '#9d304b',
950: '#000000',
},
}SCSS
$custom: #9d304b; $custom-light: #bf707d; $custom-dark: #000000;
JSON
{
"hex": "#9d304b",
"rgb": {
"r": 157,
"g": 48,
"b": 75
},
"hsl": {
"h": 345.138,
"s": 53.171,
"l": 40.196
},
"oklch": {
"l": 0.4794,
"c": 0.14459,
"h": 9.7
},
"luminance": 0.0979
}Semantic roles & 50–950 ramp
primary
#9D304B
secondary
#6DBCA8
accent
#DDB94B
background
#FCF7F7
surface
#F8EDEE
border
#D1C8C9
text
#130809
muted
#827B7B