#B1408F#B1408F
#B1408F is a mid, vivid pink. Relative luminance 0.150; OKLCH L 55.4% C 0.171 H 341.5°. Best body text is #FFFFFF at 5.25:1 contrast (WCAG AA passes).
Color values
| HEX | #B1408F |
|---|---|
| RGB | rgb(177, 64, 143) |
| HSL | hsl(318, 47%, 47%) |
| HSV | hsv(318, 64%, 69%) |
| CMYK | cmyk(0%, 63.8%, 19.2%, 30.6%) |
| CIE-LAB | lab(45.63, 54.37, -20.25) |
| CIE-LCH | lch(45.63, 58.02, 339.57°) |
| OKLab | oklab(55.38% 0.1621 -0.0543) |
| OKLCH | oklch(55.38% 0.171 341.5) |
| XYZ | xyz(24.9234, 14.9993, 27.5638) |
| Luminance | 0.1500 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Ugly Purple
#A442A0
ΔE00 5.31
Mediumvioletred
#C71585
ΔE00 5.46
Purpleish
#98568D
ΔE00 6.38
Medium Purple
#9E43A2
ΔE00 6.65
Light Plum
#9D5783
ΔE00 6.81
Purplish
#94568C
ΔE00 7.03
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B1408F #40B162
analogous
#9B40B1 #B1408F #B14057
triadic
#B1408F #8FB140 #408FB1
tetradic
#B1408F #B19B40 #40B162 #4057B1
square
#B1408F #B19B40 #40B162 #4057B1
split-complementary
#B1408F #57B140 #40B19B
monochromatic
#571F46 #84306B #B1408F #C866AB #D893C3
Accessibility & contrast
On white
5.25
#B1408F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.00
#B1408F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #B1408F
5.25:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B1408F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B1408F | 1.00 | 5.25 | 4.00 | 5.25 |
| #FFFFFF | 5.25 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.00 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.25 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#486091
Deuteranopia (green-blind)
#6A738C
Tritanopia (blue-blind)
#BB4262
Achromatopsia (no color)
#6C6C6C
Design tokens & code
CSS
--color: #b1408f; /* rgb */ color: rgb(177, 64, 143); /* oklch */ color: oklch(55.4% 0.171 341.5);
Tailwind
colors: {
custom: {
50: '#cb7cb0',
500: '#b1408f',
950: '#000000',
},
}SCSS
$custom: #b1408f; $custom-light: #cb7cb0; $custom-dark: #000000;
JSON
{
"hex": "#b1408f",
"rgb": {
"r": 177,
"g": 64,
"b": 143
},
"hsl": {
"h": 318.053,
"s": 46.888,
"l": 47.255
},
"oklch": {
"l": 0.55376,
"c": 0.17097,
"h": 341.5
},
"luminance": 0.14997
}Semantic roles & 50–950 ramp
primary
#B1408F
secondary
#89C39B
accent
#D77951
background
#FCF7FA
surface
#F9EEF4
border
#D2C9CE
text
#140A10
muted
#827C7F