#B4255A#B4255A
#B4255A is a mid, vivid pink. Relative luminance 0.118; OKLCH L 51.4% C 0.181 H 4.5°. Best body text is #FFFFFF at 6.26:1 contrast (WCAG AA passes).
Color values
| HEX | #B4255A |
|---|---|
| RGB | rgb(180, 37, 90) |
| HSL | hsl(338, 66%, 43%) |
| HSV | hsv(338, 79%, 71%) |
| CMYK | cmyk(0%, 79.4%, 50%, 29.4%) |
| CIE-LAB | lab(40.84, 58.83, 5.37) |
| CIE-LCH | lch(40.84, 59.08, 5.22°) |
| OKLab | oklab(51.36% 0.1801 0.0143) |
| OKLCH | oklch(51.36% 0.181 4.5) |
| XYZ | xyz(21.3313, 11.7676, 10.8190) |
| Luminance | 0.1177 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purplish Red
#B0054B
ΔE00 3.70
Deep Pink
#CB0162
ΔE00 4.03
Raspberry (survey)
#B00149
ΔE00 4.13
Light Burgundy
#A8415B
ΔE00 4.73
Violet Red
#A50055
ΔE00 5.37
Berry
#990F4B
ΔE00 6.59
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B4255A #25B47F
analogous
#B425A2 #B4255A #B43725
triadic
#B4255A #5AB425 #255AB4
tetradic
#B4255A #A2B425 #25B47F #3725B4
square
#B4255A #A2B425 #25B47F #3725B4
split-complementary
#B4255A #25B437 #25A2B4
monochromatic
#4E1027 #811B41 #B4255A #D73F77 #E2719B
Accessibility & contrast
On white
6.26
#B4255A on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.35
#B4255A on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #B4255A
6.26:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B4255A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B4255A | 1.00 | 6.26 | 3.35 | 6.26 |
| #FFFFFF | 6.26 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.35 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.26 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4A4E5B
Deuteranopia (green-blind)
#6F6A57
Tritanopia (blue-blind)
#C4003D
Achromatopsia (no color)
#606060
Design tokens & code
CSS
--color: #b4255a; /* rgb */ color: rgb(180, 37, 90); /* oklch */ color: oklch(51.4% 0.181 4.5);
Tailwind
colors: {
custom: {
50: '#d16f88',
500: '#b4255a',
950: '#000000',
},
}SCSS
$custom: #b4255a; $custom-light: #d16f88; $custom-dark: #000000;
JSON
{
"hex": "#b4255a",
"rgb": {
"r": 180,
"g": 37,
"b": 90
},
"hsl": {
"h": 337.762,
"s": 65.899,
"l": 42.549
},
"oklch": {
"l": 0.51356,
"c": 0.18068,
"h": 4.5
},
"luminance": 0.11765
}Semantic roles & 50–950 ramp
primary
#B4255A
secondary
#6CC9A6
accent
#E9AA3F
background
#FDF7F8
surface
#FBEDEF
border
#D4C8CA
text
#15080B
muted
#837B7C