#B5349E#B5349E
#B5349E is a mid, vivid pink. Relative luminance 0.147; OKLCH L 55.5% C 0.200 H 336.1°. Best body text is #FFFFFF at 5.32:1 contrast (WCAG AA passes).
Color values
| HEX | #B5349E |
|---|---|
| RGB | rgb(181, 52, 158) |
| HSL | hsl(311, 55%, 46%) |
| HSV | hsv(311, 71%, 71%) |
| CMYK | cmyk(0%, 71.3%, 12.7%, 29%) |
| CIE-LAB | lab(45.29, 62.28, -29.74) |
| CIE-LCH | lch(45.29, 69.01, 334.47°) |
| OKLab | oklab(55.47% 0.1825 -0.081) |
| OKLCH | oklch(55.47% 0.2 336.1) |
| XYZ | xyz(26.4560, 14.7507, 33.7949) |
| Luminance | 0.1475 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Ugly Purple
#A442A0
ΔE00 3.49
Medium Purple
#9E43A2
ΔE00 4.80
Purpley Pink
#C83CB9
ΔE00 5.91
Barney
#AC1DB8
ΔE00 6.66
Mediumvioletred
#C71585
ΔE00 6.66
Warm Purple
#952E8F
ΔE00 6.83
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B5349E #34B54B
analogous
#8B34B5 #B5349E #B5345D
triadic
#B5349E #9EB534 #349EB5
tetradic
#B5349E #B58B34 #34B54B #345DB5
square
#B5349E #B58B34 #34B54B #345DB5
split-complementary
#B5349E #5DB534 #34B58B
monochromatic
#56194B #852674 #B5349E #CF57BA #DC87CD
Accessibility & contrast
On white
5.32
#B5349E on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.95
#B5349E on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #B5349E
5.32:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B5349E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B5349E | 1.00 | 5.32 | 3.95 | 5.32 |
| #FFFFFF | 5.32 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.95 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.32 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#365FA1
Deuteranopia (green-blind)
#62729B
Tritanopia (blue-blind)
#BE3D65
Achromatopsia (no color)
#6B6B6B
Design tokens & code
CSS
--color: #b5349e; /* rgb */ color: rgb(181, 52, 158); /* oklch */ color: oklch(55.5% 0.200 336.1);
Tailwind
colors: {
custom: {
50: '#cf77bb',
500: '#b5349e',
950: '#000000',
},
}SCSS
$custom: #b5349e; $custom-light: #cf77bb; $custom-dark: #000000;
JSON
{
"hex": "#b5349e",
"rgb": {
"r": 181,
"g": 52,
"b": 158
},
"hsl": {
"h": 310.698,
"s": 55.365,
"l": 45.686
},
"oklch": {
"l": 0.55471,
"c": 0.19967,
"h": 336.1
},
"luminance": 0.14748
}Semantic roles & 50–950 ramp
primary
#B5349E
secondary
#7FC68B
accent
#DF6449
background
#FDF7FB
surface
#FAEEF6
border
#D3C9D0
text
#140A12
muted
#837C81