#B4305F#B4305F
#B4305F is a mid, vivid pink. Relative luminance 0.126; OKLCH L 52.4% C 0.171 H 3.8°. Best body text is #FFFFFF at 5.95:1 contrast (WCAG AA passes).
Color values
| HEX | #B4305F |
|---|---|
| RGB | rgb(180, 48, 95) |
| HSL | hsl(339, 58%, 45%) |
| HSV | hsv(339, 73%, 71%) |
| CMYK | cmyk(0%, 73.3%, 47.2%, 29.4%) |
| CIE-LAB | lab(42.23, 55.78, 4.21) |
| CIE-LCH | lch(42.23, 55.93, 4.31°) |
| OKLab | oklab(52.42% 0.1707 0.0114) |
| OKLCH | oklch(52.42% 0.171 3.8) |
| XYZ | xyz(21.9467, 12.6463, 12.1096) |
| Luminance | 0.1264 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Light Burgundy
#A8415B
ΔE00 3.88
Deep Pink
#CB0162
ΔE00 4.14
Purplish Red
#B0054B
ΔE00 5.20
Raspberry (survey)
#B00149
ΔE00 5.60
Dark Rose
#B5485D
ΔE00 6.05
Dark Hot Pink
#D90166
ΔE00 6.33
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B4305F #30B485
analogous
#B430A1 #B4305F #B44330
triadic
#B4305F #5FB430 #305FB4
tetradic
#B4305F #A1B430 #30B485 #4330B4
square
#B4305F #A1B430 #30B485 #4330B4
split-complementary
#B4305F #30B443 #30A1B4
monochromatic
#53162C #842346 #B4305F #D1517E #DD81A2
Accessibility & contrast
On white
5.95
#B4305F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.53
#B4305F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #B4305F
5.95:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B4305F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B4305F | 1.00 | 5.95 | 3.53 | 5.95 |
| #FFFFFF | 5.95 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.53 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.95 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4E5360
Deuteranopia (green-blind)
#726D5C
Tritanopia (blue-blind)
#C41744
Achromatopsia (no color)
#646464
Design tokens & code
CSS
--color: #b4305f; /* rgb */ color: rgb(180, 48, 95); /* oklch */ color: oklch(52.4% 0.171 3.8);
Tailwind
colors: {
custom: {
50: '#d0738c',
500: '#b4305f',
950: '#000000',
},
}SCSS
$custom: #b4305f; $custom-light: #d0738c; $custom-dark: #000000;
JSON
{
"hex": "#b4305f",
"rgb": {
"r": 180,
"g": 48,
"b": 95
},
"hsl": {
"h": 338.636,
"s": 57.895,
"l": 44.706
},
"oklch": {
"l": 0.52418,
"c": 0.17106,
"h": 3.8
},
"luminance": 0.12643
}Semantic roles & 50–950 ramp
primary
#B4305F
secondary
#79C6AB
accent
#E1AA47
background
#FDF7F8
surface
#FBEDF0
border
#D4C8CB
text
#15090C
muted
#837B7D