#B9306F#B9306F
#B9306F is a mid, vivid pink. Relative luminance 0.136; OKLCH L 53.8% C 0.181 H 357.2°. Best body text is #FFFFFF at 5.65:1 contrast (WCAG AA passes).
Color values
| HEX | #B9306F |
|---|---|
| RGB | rgb(185, 48, 111) |
| HSL | hsl(332, 59%, 46%) |
| HSV | hsv(332, 74%, 73%) |
| CMYK | cmyk(0%, 74.1%, 40%, 27.5%) |
| CIE-LAB | lab(43.62, 58.75, -3.61) |
| CIE-LCH | lch(43.62, 58.86, 356.49°) |
| OKLab | oklab(53.77% 0.1804 -0.0087) |
| OKLCH | oklch(53.77% 0.181 357.2) |
| XYZ | xyz(23.9355, 13.5789, 16.3964) |
| Luminance | 0.1358 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Magenta (survey)
#C20078
ΔE00 4.19
Deep Pink
#CB0162
ΔE00 4.85
Mediumvioletred
#C71585
ΔE00 5.45
Dark Hot Pink
#D90166
ΔE00 6.63
Light Burgundy
#A8415B
ΔE00 6.95
Dark Pink
#CB416B
ΔE00 7.15
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B9306F #30B97A
analogous
#B930B3 #B9306F #B93630
triadic
#B9306F #6FB930 #306FB9
tetradic
#B9306F #B3B930 #30B97A #3630B9
square
#B9306F #B3B930 #30B97A #3630B9
split-complementary
#B9306F #30B936 #30B3B9
monochromatic
#581735 #882352 #B9306F #D3548E #DF84AE
Accessibility & contrast
On white
5.65
#B9306F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.72
#B9306F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #B9306F
5.65:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B9306F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B9306F | 1.00 | 5.65 | 3.72 | 5.65 |
| #FFFFFF | 5.65 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.72 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.65 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4C5771
Deuteranopia (green-blind)
#72706C
Tritanopia (blue-blind)
#C81E4B
Achromatopsia (no color)
#676767
Design tokens & code
CSS
--color: #b9306f; /* rgb */ color: rgb(185, 48, 111); /* oklch */ color: oklch(53.8% 0.181 357.2);
Tailwind
colors: {
custom: {
50: '#d37498',
500: '#b9306f',
950: '#000000',
},
}SCSS
$custom: #b9306f; $custom-light: #d37498; $custom-dark: #000000;
JSON
{
"hex": "#b9306f",
"rgb": {
"r": 185,
"g": 48,
"b": 111
},
"hsl": {
"h": 332.409,
"s": 58.798,
"l": 45.686
},
"oklch": {
"l": 0.53773,
"c": 0.18059,
"h": 357.2
},
"luminance": 0.13576
}Semantic roles & 50–950 ramp
primary
#B9306F
secondary
#7CC9A5
accent
#E29A46
background
#FDF7F9
surface
#FBEDF2
border
#D4C8CC
text
#15090D
muted
#837B7E