#B5305F#B5305F
#B5305F is a mid, vivid pink. Relative luminance 0.128; OKLCH L 52.6% C 0.172 H 4.0°. Best body text is #FFFFFF at 5.91:1 contrast (WCAG AA passes).
Color values
| HEX | #B5305F |
|---|---|
| RGB | rgb(181, 48, 95) |
| HSL | hsl(339, 58%, 45%) |
| HSV | hsv(339, 73%, 71%) |
| CMYK | cmyk(0%, 73.5%, 47.5%, 29%) |
| CIE-LAB | lab(42.41, 56.07, 4.50) |
| CIE-LCH | lch(42.41, 56.25, 4.59°) |
| OKLab | oklab(52.59% 0.1715 0.0121) |
| OKLCH | oklch(52.59% 0.172 4) |
| XYZ | xyz(22.1804, 12.7668, 12.1205) |
| Luminance | 0.1276 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Light Burgundy
#A8415B
ΔE00 3.89
Deep Pink
#CB0162
ΔE00 4.02
Purplish Red
#B0054B
ΔE00 5.24
Raspberry (survey)
#B00149
ΔE00 5.63
Dark Rose
#B5485D
ΔE00 5.91
Dark Hot Pink
#D90166
ΔE00 6.14
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B5305F #30B586
analogous
#B530A2 #B5305F #B54330
triadic
#B5305F #5FB530 #305FB5
tetradic
#B5305F #A2B530 #30B586 #4330B5
square
#B5305F #A2B530 #30B586 #4330B5
split-complementary
#B5305F #30B543 #30A2B5
monochromatic
#54162C #852346 #B5305F #D1517E #DE82A2
Accessibility & contrast
On white
5.91
#B5305F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.55
#B5305F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #B5305F
5.91:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B5305F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B5305F | 1.00 | 5.91 | 3.55 | 5.91 |
| #FFFFFF | 5.91 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.55 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.91 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4F5360
Deuteranopia (green-blind)
#726E5C
Tritanopia (blue-blind)
#C51644
Achromatopsia (no color)
#646464
Design tokens & code
CSS
--color: #b5305f; /* rgb */ color: rgb(181, 48, 95); /* oklch */ color: oklch(52.6% 0.172 4.0);
Tailwind
colors: {
custom: {
50: '#d1738c',
500: '#b5305f',
950: '#000000',
},
}SCSS
$custom: #b5305f; $custom-light: #d1738c; $custom-dark: #000000;
JSON
{
"hex": "#b5305f",
"rgb": {
"r": 181,
"g": 48,
"b": 95
},
"hsl": {
"h": 338.797,
"s": 58.079,
"l": 44.902
},
"oklch": {
"l": 0.52588,
"c": 0.17196,
"h": 4
},
"luminance": 0.12764
}Semantic roles & 50–950 ramp
primary
#B5305F
secondary
#7AC7AC
accent
#E1AB46
background
#FDF7F8
surface
#FBEDF0
border
#D4C8CB
text
#15090C
muted
#837B7D