#9A3151#9A3151
#9A3151 is a mid, vivid pink. Relative luminance 0.097; OKLCH L 47.7% C 0.141 H 5.7°. Best body text is #FFFFFF at 7.16:1 contrast (WCAG AA passes).
Color values
| HEX | #9A3151 |
|---|---|
| RGB | rgb(154, 49, 81) |
| HSL | hsl(342, 52%, 40%) |
| HSV | hsv(342, 68%, 60%) |
| CMYK | cmyk(0%, 68.2%, 47.4%, 39.6%) |
| CIE-LAB | lab(37.23, 46.13, 5.27) |
| CIE-LCH | lch(37.23, 46.43, 6.52°) |
| OKLab | oklab(47.71% 0.1407 0.014) |
| OKLCH | oklch(47.71% 0.141 5.7) |
| XYZ | xyz(15.9112, 9.6627, 8.8102) |
| Luminance | 0.0966 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Berry
#990F4B
ΔE00 4.59
Light Burgundy
#A8415B
ΔE00 4.80
Purplish Red
#B0054B
ΔE00 5.09
Purple Red
#990147
ΔE00 5.26
Raspberry (survey)
#B00149
ΔE00 5.32
Violet Red
#A50055
ΔE00 5.49
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9A3151 #319A7A
analogous
#9A3186 #9A3151 #9A4531
triadic
#9A3151 #519A31 #31519A
tetradic
#9A3151 #869A31 #319A7A #45319A
square
#9A3151 #869A31 #319A7A #45319A
split-complementary
#9A3151 #319A45 #31869A
monochromatic
#3D1320 #6C2239 #9A3151 #C4456B #D27390
Accessibility & contrast
On white
7.16
#9A3151 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.93
#9A3151 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9A3151
7.16:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9A3151 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9A3151 | 1.00 | 7.16 | 2.93 | 7.16 |
| #FFFFFF | 7.16 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.93 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.16 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#484A52
Deuteranopia (green-blind)
#645F4F
Tritanopia (blue-blind)
#A7213E
Achromatopsia (no color)
#585858
Design tokens & code
CSS
--color: #9a3151; /* rgb */ color: rgb(154, 49, 81); /* oklch */ color: oklch(47.7% 0.141 5.7);
Tailwind
colors: {
custom: {
50: '#bd7081',
500: '#9a3151',
950: '#000000',
},
}SCSS
$custom: #9a3151; $custom-light: #bd7081; $custom-dark: #000000;
JSON
{
"hex": "#9a3151",
"rgb": {
"r": 154,
"g": 49,
"b": 81
},
"hsl": {
"h": 341.714,
"s": 51.724,
"l": 39.804
},
"oklch": {
"l": 0.47713,
"c": 0.14139,
"h": 5.7
},
"luminance": 0.09661
}Semantic roles & 50–950 ramp
primary
#9A3151
secondary
#6CBAA3
accent
#DBB04D
background
#FCF7F7
surface
#F8EDEE
border
#D1C8C9
text
#13080A
muted
#827B7C