#B5307F#B5307F
#B5307F is a mid, vivid pink. Relative luminance 0.135; OKLCH L 53.7% C 0.185 H 348.7°. Best body text is #FFFFFF at 5.68:1 contrast (WCAG AA passes).
Color values
| HEX | #B5307F |
|---|---|
| RGB | rgb(181, 48, 127) |
| HSL | hsl(324, 58%, 45%) |
| HSV | hsv(324, 73%, 71%) |
| CMYK | cmyk(0%, 73.5%, 29.8%, 29%) |
| CIE-LAB | lab(43.47, 59.46, -13.78) |
| CIE-LCH | lch(43.47, 61.04, 346.95°) |
| OKLab | oklab(53.71% 0.1813 -0.0361) |
| OKLCH | oklch(53.71% 0.185 348.7) |
| XYZ | xyz(23.9450, 13.4727, 21.4140) |
| Luminance | 0.1347 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Mediumvioletred
#C71585
ΔE00 3.16
Magenta (survey)
#C20078
ΔE00 3.53
Red Violet
#9E0168
ΔE00 7.73
Light Plum
#9D5783
ΔE00 8.40
Deep Magenta
#A0025C
ΔE00 8.51
Ugly Purple
#A442A0
ΔE00 8.60
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B5307F #30B566
analogous
#A930B5 #B5307F #B5303C
triadic
#B5307F #7FB530 #307FB5
tetradic
#B5307F #B5A930 #30B566 #303CB5
square
#B5307F #B5A930 #30B566 #303CB5
split-complementary
#B5307F #3CB530 #30B5A9
monochromatic
#54163B #85235D #B5307F #D1519D #DE82B8
Accessibility & contrast
On white
5.68
#B5307F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.69
#B5307F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #B5307F
5.68:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B5307F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B5307F | 1.00 | 5.68 | 3.69 | 5.68 |
| #FFFFFF | 5.68 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.69 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.68 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#445881
Deuteranopia (green-blind)
#6B6F7C
Tritanopia (blue-blind)
#C22953
Achromatopsia (no color)
#676767
Design tokens & code
CSS
--color: #b5307f; /* rgb */ color: rgb(181, 48, 127); /* oklch */ color: oklch(53.7% 0.185 348.7);
Tailwind
colors: {
custom: {
50: '#cf74a4',
500: '#b5307f',
950: '#000000',
},
}SCSS
$custom: #b5307f; $custom-light: #cf74a4; $custom-dark: #000000;
JSON
{
"hex": "#b5307f",
"rgb": {
"r": 181,
"g": 48,
"b": 127
},
"hsl": {
"h": 324.361,
"s": 58.079,
"l": 44.902
},
"oklch": {
"l": 0.5371,
"c": 0.18487,
"h": 348.7
},
"luminance": 0.1347
}Semantic roles & 50–950 ramp
primary
#B5307F
secondary
#7AC799
accent
#E18546
background
#FDF7FA
surface
#FAEDF4
border
#D3C8CE
text
#14090F
muted
#837B7F