#B1387F#B1387F
#B1387F is a mid, vivid pink. Relative luminance 0.137; OKLCH L 53.8% C 0.172 H 348.3°. Best body text is #FFFFFF at 5.61:1 contrast (WCAG AA passes).
Color values
| HEX | #B1387F |
|---|---|
| RGB | rgb(177, 56, 127) |
| HSL | hsl(325, 52%, 46%) |
| HSV | hsv(325, 68%, 69%) |
| CMYK | cmyk(0%, 68.4%, 28.2%, 30.6%) |
| CIE-LAB | lab(43.81, 55.45, -13.32) |
| CIE-LCH | lch(43.81, 57.03, 346.50°) |
| OKLab | oklab(53.83% 0.1685 -0.035) |
| OKLCH | oklch(53.83% 0.172 348.3) |
| XYZ | xyz(23.3775, 13.7102, 21.4898) |
| Luminance | 0.1371 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Mediumvioletred
#C71585
ΔE00 4.13
Magenta (survey)
#C20078
ΔE00 4.58
Light Plum
#9D5783
ΔE00 7.27
Purpleish
#98568D
ΔE00 8.19
Red Violet
#9E0168
ΔE00 8.21
Ugly Purple
#A442A0
ΔE00 8.33
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B1387F #38B16A
analogous
#A638B1 #B1387F #B13843
triadic
#B1387F #7FB138 #387FB1
tetradic
#B1387F #B1A638 #38B16A #3843B1
square
#B1387F #B1A638 #38B16A #3843B1
split-complementary
#B1387F #43B138 #38B1A6
monochromatic
#541B3C #83295E #B1387F #CB5B9D #DA8AB9
Accessibility & contrast
On white
5.61
#B1387F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.74
#B1387F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #B1387F
5.61:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B1387F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B1387F | 1.00 | 5.61 | 3.74 | 5.61 |
| #FFFFFF | 5.61 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.74 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.61 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#485A81
Deuteranopia (green-blind)
#6B6F7C
Tritanopia (blue-blind)
#BD3356
Achromatopsia (no color)
#686868
Design tokens & code
CSS
--color: #b1387f; /* rgb */ color: rgb(177, 56, 127); /* oklch */ color: oklch(53.8% 0.172 348.3);
Tailwind
colors: {
custom: {
50: '#cc78a4',
500: '#b1387f',
950: '#000000',
},
}SCSS
$custom: #b1387f; $custom-light: #cc78a4; $custom-dark: #000000;
JSON
{
"hex": "#b1387f",
"rgb": {
"r": 177,
"g": 56,
"b": 127
},
"hsl": {
"h": 324.793,
"s": 51.931,
"l": 45.686
},
"oklch": {
"l": 0.53833,
"c": 0.17205,
"h": 348.3
},
"luminance": 0.13708
}Semantic roles & 50–950 ramp
primary
#B1387F
secondary
#81C49D
accent
#DB874C
background
#FDF7FA
surface
#FAEEF4
border
#D3C9CE
text
#14090F
muted
#837B7F