#B5307E#B5307E
#B5307E is a mid, vivid pink. Relative luminance 0.134; OKLCH L 53.7% C 0.184 H 349.2°. Best body text is #FFFFFF at 5.69:1 contrast (WCAG AA passes).
Color values
| HEX | #B5307E |
|---|---|
| RGB | rgb(181, 48, 126) |
| HSL | hsl(325, 58%, 45%) |
| HSV | hsv(325, 73%, 71%) |
| CMYK | cmyk(0%, 73.5%, 30.4%, 29%) |
| CIE-LAB | lab(43.43, 59.34, -13.22) |
| CIE-LCH | lch(43.43, 60.80, 347.44°) |
| OKLab | oklab(53.67% 0.1811 -0.0346) |
| OKLCH | oklch(53.67% 0.184 349.2) |
| XYZ | xyz(23.8801, 13.4467, 21.0725) |
| Luminance | 0.1344 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Mediumvioletred
#C71585
ΔE00 3.21
Magenta (survey)
#C20078
ΔE00 3.44
Red Violet
#9E0168
ΔE00 7.69
Deep Magenta
#A0025C
ΔE00 8.39
Light Plum
#9D5783
ΔE00 8.41
Deep Pink
#CB0162
ΔE00 8.42
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B5307E #30B567
analogous
#AA30B5 #B5307E #B5303B
triadic
#B5307E #7EB530 #307EB5
tetradic
#B5307E #B5AA30 #30B567 #303BB5
square
#B5307E #B5AA30 #30B567 #303BB5
split-complementary
#B5307E #3BB530 #30B5AA
monochromatic
#54163B #85235C #B5307E #D1519C #DE82B8
Accessibility & contrast
On white
5.69
#B5307E on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.69
#B5307E on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #B5307E
5.69:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B5307E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B5307E | 1.00 | 5.69 | 3.69 | 5.69 |
| #FFFFFF | 5.69 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.69 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.69 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#455880
Deuteranopia (green-blind)
#6B6F7B
Tritanopia (blue-blind)
#C22953
Achromatopsia (no color)
#676767
Design tokens & code
CSS
--color: #b5307e; /* rgb */ color: rgb(181, 48, 126); /* oklch */ color: oklch(53.7% 0.184 349.2);
Tailwind
colors: {
custom: {
50: '#d074a3',
500: '#b5307e',
950: '#000000',
},
}SCSS
$custom: #b5307e; $custom-light: #d074a3; $custom-dark: #000000;
JSON
{
"hex": "#b5307e",
"rgb": {
"r": 181,
"g": 48,
"b": 126
},
"hsl": {
"h": 324.812,
"s": 58.079,
"l": 44.902
},
"oklch": {
"l": 0.5367,
"c": 0.18433,
"h": 349.2
},
"luminance": 0.13444
}Semantic roles & 50–950 ramp
primary
#B5307E
secondary
#7AC79A
accent
#E18746
background
#FDF7FA
surface
#FAEDF3
border
#D3C8CD
text
#14090F
muted
#837B7F