#B4336A#B4336A
#B4336A is a mid, vivid pink. Relative luminance 0.131; OKLCH L 53.0% C 0.171 H 358.8°. Best body text is #FFFFFF at 5.80:1 contrast (WCAG AA passes).
Color values
| HEX | #B4336A |
|---|---|
| RGB | rgb(180, 51, 106) |
| HSL | hsl(334, 56%, 45%) |
| HSV | hsv(334, 72%, 71%) |
| CMYK | cmyk(0%, 71.7%, 41.1%, 29.4%) |
| CIE-LAB | lab(42.94, 55.77, -1.62) |
| CIE-LCH | lch(42.94, 55.80, 358.34°) |
| OKLab | oklab(53.05% 0.1711 -0.0036) |
| OKLCH | oklch(53.05% 0.171 358.8) |
| XYZ | xyz(22.6093, 13.1144, 14.9736) |
| Luminance | 0.1311 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Deep Pink
#CB0162
ΔE00 4.89
Magenta (survey)
#C20078
ΔE00 5.27
Light Burgundy
#A8415B
ΔE00 5.70
Mediumvioletred
#C71585
ΔE00 6.75
Violet Red
#A50055
ΔE00 6.85
Dark Hot Pink
#D90166
ΔE00 6.91
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B4336A #33B47D
analogous
#B433AA #B4336A #B43D33
triadic
#B4336A #6AB433 #336AB4
tetradic
#B4336A #AAB433 #33B47D #3D33B4
square
#B4336A #AAB433 #33B47D #3D33B4
split-complementary
#B4336A #33B43D #33AAB4
monochromatic
#551832 #84254E #B4336A #CF5589 #DC85AA
Accessibility & contrast
On white
5.80
#B4336A on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.62
#B4336A on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #B4336A
5.80:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B4336A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B4336A | 1.00 | 5.80 | 3.62 | 5.80 |
| #FFFFFF | 5.80 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.62 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.80 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4D566B
Deuteranopia (green-blind)
#706E67
Tritanopia (blue-blind)
#C3224A
Achromatopsia (no color)
#656565
Design tokens & code
CSS
--color: #b4336a; /* rgb */ color: rgb(180, 51, 106); /* oklch */ color: oklch(53.0% 0.171 358.8);
Tailwind
colors: {
custom: {
50: '#cf7594',
500: '#b4336a',
950: '#000000',
},
}SCSS
$custom: #b4336a; $custom-light: #cf7594; $custom-dark: #000000;
JSON
{
"hex": "#b4336a",
"rgb": {
"r": 180,
"g": 51,
"b": 106
},
"hsl": {
"h": 334.419,
"s": 55.844,
"l": 45.294
},
"oklch": {
"l": 0.53048,
"c": 0.17109,
"h": 358.8
},
"luminance": 0.13112
}Semantic roles & 50–950 ramp
primary
#B4336A
secondary
#7DC6A7
accent
#DF9F49
background
#FDF7F9
surface
#FAEDF1
border
#D3C8CB
text
#15090D
muted
#837B7E