#B9408D#B9408D
#B9408D is a mid, vivid pink. Relative luminance 0.159; OKLCH L 56.5% C 0.176 H 345.1°. Best body text is #FFFFFF at 5.02:1 contrast (WCAG AA passes).
Color values
| HEX | #B9408D |
|---|---|
| RGB | rgb(185, 64, 141) |
| HSL | hsl(322, 49%, 49%) |
| HSV | hsv(322, 65%, 73%) |
| CMYK | cmyk(0%, 65.4%, 23.8%, 27.5%) |
| CIE-LAB | lab(46.85, 56.34, -17.07) |
| CIE-LCH | lch(46.85, 58.87, 343.15°) |
| OKLab | oklab(56.5% 0.1698 -0.0453) |
| OKLCH | oklch(56.5% 0.176 345.1) |
| XYZ | xyz(26.6496, 15.9068, 26.8610) |
| Luminance | 0.1590 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Mediumvioletred
#C71585
ΔE00 4.59
Magenta (survey)
#C20078
ΔE00 6.52
Light Plum
#9D5783
ΔE00 7.02
Ugly Purple
#A442A0
ΔE00 7.11
Purpleish
#98568D
ΔE00 7.44
Purplish
#94568C
ΔE00 8.19
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B9408D #40B96C
analogous
#A940B9 #B9408D #B94051
triadic
#B9408D #8DB940 #408DB9
tetradic
#B9408D #B9A940 #40B96C #4051B9
square
#B9408D #B9A940 #40B96C #4051B9
split-complementary
#B9408D #51B940 #40B9A9
monochromatic
#5E2148 #8C306A #B9408D #CC6BA8 #DB98C3
Accessibility & contrast
On white
5.02
#B9408D on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.18
#B9408D on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #B9408D
5.02:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B9408D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B9408D | 1.00 | 5.02 | 4.18 | 5.02 |
| #FFFFFF | 5.02 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.18 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.02 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4D628F
Deuteranopia (green-blind)
#70778A
Tritanopia (blue-blind)
#C53F61
Achromatopsia (no color)
#6F6F6F
Design tokens & code
CSS
--color: #b9408d; /* rgb */ color: rgb(185, 64, 141); /* oklch */ color: oklch(56.5% 0.176 345.1);
Tailwind
colors: {
custom: {
50: '#d27dae',
500: '#b9408d',
950: '#000000',
},
}SCSS
$custom: #b9408d; $custom-light: #d27dae; $custom-dark: #000000;
JSON
{
"hex": "#b9408d",
"rgb": {
"r": 185,
"g": 64,
"b": 141
},
"hsl": {
"h": 321.818,
"s": 48.594,
"l": 48.824
},
"oklch": {
"l": 0.56496,
"c": 0.17573,
"h": 345.1
},
"luminance": 0.15904
}Semantic roles & 50–950 ramp
primary
#B9408D
secondary
#8EC7A3
accent
#D88150
background
#FDF8FA
surface
#FAEFF4
border
#D3CACE
text
#140A10
muted
#837C7F