#B9408B#B9408B
#B9408B is a mid, vivid pink. Relative luminance 0.158; OKLCH L 56.4% C 0.175 H 346.0°. Best body text is #FFFFFF at 5.04:1 contrast (WCAG AA passes).
Color values
| HEX | #B9408B |
|---|---|
| RGB | rgb(185, 64, 139) |
| HSL | hsl(323, 49%, 49%) |
| HSV | hsv(323, 65%, 73%) |
| CMYK | cmyk(0%, 65.4%, 24.9%, 27.5%) |
| CIE-LAB | lab(46.77, 56.07, -15.98) |
| CIE-LCH | lch(46.77, 58.31, 344.09°) |
| OKLab | oklab(56.41% 0.1693 -0.0423) |
| OKLCH | oklch(56.41% 0.175 346) |
| XYZ | xyz(26.5022, 15.8478, 26.0843) |
| Luminance | 0.1585 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Mediumvioletred
#C71585
ΔE00 4.48
Magenta (survey)
#C20078
ΔE00 6.30
Light Plum
#9D5783
ΔE00 6.92
Ugly Purple
#A442A0
ΔE00 7.50
Purpleish
#98568D
ΔE00 7.55
Purplish
#94568C
ΔE00 8.30
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B9408B #40B96E
analogous
#AB40B9 #B9408B #B9404F
triadic
#B9408B #8BB940 #408BB9
tetradic
#B9408B #B9AB40 #40B96E #404FB9
square
#B9408B #B9AB40 #40B96E #404FB9
split-complementary
#B9408B #4FB940 #40B9AB
monochromatic
#5E2147 #8C3069 #B9408B #CC6BA7 #DB98C2
Accessibility & contrast
On white
5.04
#B9408B on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.17
#B9408B on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #B9408B
5.04:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B9408B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B9408B | 1.00 | 5.04 | 4.17 | 5.04 |
| #FFFFFF | 5.04 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.17 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.04 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4D628D
Deuteranopia (green-blind)
#707688
Tritanopia (blue-blind)
#C53E60
Achromatopsia (no color)
#6F6F6F
Design tokens & code
CSS
--color: #b9408b; /* rgb */ color: rgb(185, 64, 139); /* oklch */ color: oklch(56.4% 0.175 346.0);
Tailwind
colors: {
custom: {
50: '#d27dad',
500: '#b9408b',
950: '#000000',
},
}SCSS
$custom: #b9408b; $custom-light: #d27dad; $custom-dark: #000000;
JSON
{
"hex": "#b9408b",
"rgb": {
"r": 185,
"g": 64,
"b": 139
},
"hsl": {
"h": 322.81,
"s": 48.594,
"l": 48.824
},
"oklch": {
"l": 0.56413,
"c": 0.17453,
"h": 346
},
"luminance": 0.15845
}Semantic roles & 50–950 ramp
primary
#B9408B
secondary
#8EC7A4
accent
#D88450
background
#FDF7FA
surface
#FAEEF4
border
#D3C9CE
text
#140A10
muted
#837C7F