#B5407F#B5407F
#B5407F is a mid, vivid pink. Relative luminance 0.150; OKLCH L 55.3% C 0.165 H 350.5°. Best body text is #FFFFFF at 5.24:1 contrast (WCAG AA passes).
Color values
| HEX | #B5407F |
|---|---|
| RGB | rgb(181, 64, 127) |
| HSL | hsl(328, 48%, 48%) |
| HSV | hsv(328, 65%, 71%) |
| CMYK | cmyk(0%, 64.6%, 29.8%, 29%) |
| CIE-LAB | lab(45.67, 53.35, -10.45) |
| CIE-LCH | lch(45.67, 54.36, 348.92°) |
| OKLab | oklab(55.33% 0.1623 -0.0272) |
| OKLCH | oklch(55.33% 0.165 350.5) |
| XYZ | xyz(24.7214, 15.0254, 21.6728) |
| Luminance | 0.1502 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Mediumvioletred
#C71585
ΔE00 4.83
Magenta (survey)
#C20078
ΔE00 5.52
Light Plum
#9D5783
ΔE00 6.55
Purpleish
#98568D
ΔE00 8.18
Deep Pink
#CB0162
ΔE00 8.58
Purplish
#94568C
ΔE00 8.85
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B5407F #40B576
analogous
#B040B5 #B5407F #B54045
triadic
#B5407F #7FB540 #407FB5
tetradic
#B5407F #B5B040 #40B576 #4045B5
square
#B5407F #B5B040 #40B576 #4045B5
split-complementary
#B5407F #45B540 #40B5B0
monochromatic
#5B2040 #88305F #B5407F #CA689D #DA96BA
Accessibility & contrast
On white
5.24
#B5407F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.00
#B5407F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #B5407F
5.24:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B5407F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B5407F | 1.00 | 5.24 | 4.00 | 5.24 |
| #FFFFFF | 5.24 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.00 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.24 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#505F81
Deuteranopia (green-blind)
#71747C
Tritanopia (blue-blind)
#C23A5A
Achromatopsia (no color)
#6C6C6C
Design tokens & code
CSS
--color: #b5407f; /* rgb */ color: rgb(181, 64, 127); /* oklch */ color: oklch(55.3% 0.165 350.5);
Tailwind
colors: {
custom: {
50: '#cf7ca4',
500: '#b5407f',
950: '#000000',
},
}SCSS
$custom: #b5407f; $custom-light: #cf7ca4; $custom-dark: #000000;
JSON
{
"hex": "#b5407f",
"rgb": {
"r": 181,
"g": 64,
"b": 127
},
"hsl": {
"h": 327.692,
"s": 47.755,
"l": 48.039
},
"oklch": {
"l": 0.55326,
"c": 0.16452,
"h": 350.5
},
"luminance": 0.15023
}Semantic roles & 50–950 ramp
primary
#B5407F
secondary
#8BC5A6
accent
#D78F50
background
#FDF7FA
surface
#FAEEF4
border
#D3C9CE
text
#140A0F
muted
#837C7F