#B9517F#B9517F
#B9517F is a mid, vivid pink. Relative luminance 0.177; OKLCH L 58.1% C 0.143 H 354.8°. Best body text is #FFFFFF at 4.62:1 contrast (WCAG AA passes).
Color values
| HEX | #B9517F |
|---|---|
| RGB | rgb(185, 81, 127) |
| HSL | hsl(333, 43%, 52%) |
| HSV | hsv(333, 56%, 73%) |
| CMYK | cmyk(0%, 56.2%, 31.4%, 27.5%) |
| CIE-LAB | lab(49.17, 46.88, -5.15) |
| CIE-LCH | lch(49.17, 47.16, 353.73°) |
| OKLab | oklab(58.05% 0.1425 -0.013) |
| OKLCH | oklch(58.05% 0.143 354.8) |
| XYZ | xyz(26.7820, 17.7341, 22.0871) |
| Luminance | 0.1773 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Darkish Pink
#DA467D
ΔE00 6.53
Light Plum
#9D5783
ΔE00 6.55
Dark Pink
#CB416B
ΔE00 6.69
Deep Rose
#C74767
ΔE00 7.54
Mediumvioletred
#C71585
ΔE00 8.52
Dark Rose
#B5485D
ΔE00 8.98
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B9517F #51B98B
analogous
#B951B3 #B9517F #B95751
triadic
#B9517F #7FB951 #517FB9
tetradic
#B9517F #B3B951 #51B98B #5751B9
square
#B9517F #B3B951 #51B98B #5751B9
split-complementary
#B9517F #51B957 #51B3B9
monochromatic
#662944 #923B61 #B9517F #CB7D9F #DCA8BF
Accessibility & contrast
On white
4.62
#B9517F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.55
#B9517F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#FFFFFF on #B9517F
4.62:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B9517F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B9517F | 1.00 | 4.62 | 4.55 | 4.62 |
| #FFFFFF | 4.62 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.55 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.62 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#606980
Deuteranopia (green-blind)
#7C7C7D
Tritanopia (blue-blind)
#C64B63
Achromatopsia (no color)
#757575
Design tokens & code
CSS
--color: #b9517f; /* rgb */ color: rgb(185, 81, 127); /* oklch */ color: oklch(58.1% 0.143 354.8);
Tailwind
colors: {
custom: {
50: '#d186a4',
500: '#b9517f',
950: '#000000',
},
}SCSS
$custom: #b9517f; $custom-light: #d186a4; $custom-dark: #000000;
JSON
{
"hex": "#b9517f",
"rgb": {
"r": 185,
"g": 81,
"b": 127
},
"hsl": {
"h": 333.462,
"s": 42.623,
"l": 52.157
},
"oklch": {
"l": 0.58051,
"c": 0.14305,
"h": 354.8
},
"luminance": 0.17731
}Semantic roles & 50–950 ramp
primary
#B9517F
secondary
#9CCAB6
accent
#D29B55
background
#FDF8FA
surface
#FAF0F4
border
#D3CBCE
text
#140B0F
muted
#837C7F