#B9477C#B9477C
#B9477C is a mid, vivid pink. Relative luminance 0.163; OKLCH L 56.7% C 0.157 H 354.4°. Best body text is #FFFFFF at 4.94:1 contrast (WCAG AA passes).
Color values
| HEX | #B9477C |
|---|---|
| RGB | rgb(185, 71, 124) |
| HSL | hsl(332, 45%, 50%) |
| HSV | hsv(332, 62%, 73%) |
| CMYK | cmyk(0%, 61.6%, 33%, 27.5%) |
| CIE-LAB | lab(47.34, 51.15, -6.06) |
| CIE-LCH | lch(47.34, 51.51, 353.24°) |
| OKLab | oklab(56.65% 0.1559 -0.0154) |
| OKLCH | oklch(56.65% 0.157 354.4) |
| XYZ | xyz(25.9002, 16.2787, 20.8430) |
| Luminance | 0.1628 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Mediumvioletred
#C71585
ΔE00 6.55
Dark Pink
#CB416B
ΔE00 6.69
Light Plum
#9D5783
ΔE00 6.85
Magenta (survey)
#C20078
ΔE00 7.09
Darkish Pink
#DA467D
ΔE00 7.20
Deep Rose
#C74767
ΔE00 7.84
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B9477C #47B984
analogous
#B947B5 #B9477C #B94B47
triadic
#B9477C #7CB947 #477CB9
tetradic
#B9477C #B5B947 #47B984 #4B47B9
square
#B9477C #B5B947 #47B984 #4B47B9
split-complementary
#B9477C #47B94B #47B5B9
monochromatic
#612541 #8D365E #B9477C #CA739C #DBA0BB
Accessibility & contrast
On white
4.94
#B9477C on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.26
#B9477C on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #B9477C
4.94:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B9477C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B9477C | 1.00 | 4.94 | 4.26 | 4.94 |
| #FFFFFF | 4.94 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.26 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.94 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#59637E
Deuteranopia (green-blind)
#787879
Tritanopia (blue-blind)
#C73F5C
Achromatopsia (no color)
#707070
Design tokens & code
CSS
--color: #b9477c; /* rgb */ color: rgb(185, 71, 124); /* oklch */ color: oklch(56.7% 0.157 354.4);
Tailwind
colors: {
custom: {
50: '#d280a1',
500: '#b9477c',
950: '#000000',
},
}SCSS
$custom: #b9477c; $custom-light: #d280a1; $custom-dark: #000000;
JSON
{
"hex": "#b9477c",
"rgb": {
"r": 185,
"g": 71,
"b": 124
},
"hsl": {
"h": 332.105,
"s": 44.882,
"l": 50.196
},
"oklch": {
"l": 0.56654,
"c": 0.15664,
"h": 354.4
},
"luminance": 0.16276
}Semantic roles & 50–950 ramp
primary
#B9477C
secondary
#94C7B0
accent
#D59853
background
#FDF8F9
surface
#FAEFF2
border
#D3CACC
text
#150B0F
muted
#837C7E