#B4285A#B4285A
#B4285A is a mid, vivid pink. Relative luminance 0.120; OKLCH L 51.6% C 0.178 H 5.0°. Best body text is #FFFFFF at 6.19:1 contrast (WCAG AA passes).
Color values
| HEX | #B4285A |
|---|---|
| RGB | rgb(180, 40, 90) |
| HSL | hsl(339, 64%, 43%) |
| HSV | hsv(339, 78%, 71%) |
| CMYK | cmyk(0%, 77.8%, 50%, 29.4%) |
| CIE-LAB | lab(41.16, 57.95, 5.82) |
| CIE-LCH | lch(41.16, 58.24, 5.73°) |
| OKLab | oklab(51.59% 0.1773 0.0154) |
| OKLCH | oklch(51.59% 0.178 5) |
| XYZ | xyz(21.4285, 11.9620, 10.8514) |
| Luminance | 0.1196 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purplish Red
#B0054B
ΔE00 3.87
Deep Pink
#CB0162
ΔE00 4.09
Raspberry (survey)
#B00149
ΔE00 4.27
Light Burgundy
#A8415B
ΔE00 4.37
Violet Red
#A50055
ΔE00 5.76
Dark Hot Pink
#D90166
ΔE00 6.55
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B4285A #28B482
analogous
#B428A0 #B4285A #B43C28
triadic
#B4285A #5AB428 #285AB4
tetradic
#B4285A #A0B428 #28B482 #3C28B4
square
#B4285A #A0B428 #28B482 #3C28B4
split-complementary
#B4285A #28B43C #28A0B4
monochromatic
#501228 #821D41 #B4285A #D54478 #E1769C
Accessibility & contrast
On white
6.19
#B4285A on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.39
#B4285A on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #B4285A
6.19:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B4285A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B4285A | 1.00 | 6.19 | 3.39 | 6.19 |
| #FFFFFF | 6.19 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.39 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.19 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4B4F5B
Deuteranopia (green-blind)
#706B57
Tritanopia (blue-blind)
#C4003E
Achromatopsia (no color)
#616161
Design tokens & code
CSS
--color: #b4285a; /* rgb */ color: rgb(180, 40, 90); /* oklch */ color: oklch(51.6% 0.178 5.0);
Tailwind
colors: {
custom: {
50: '#d17088',
500: '#b4285a',
950: '#000000',
},
}SCSS
$custom: #b4285a; $custom-light: #d17088; $custom-dark: #000000;
JSON
{
"hex": "#b4285a",
"rgb": {
"r": 180,
"g": 40,
"b": 90
},
"hsl": {
"h": 338.571,
"s": 63.636,
"l": 43.137
},
"oklch": {
"l": 0.51585,
"c": 0.17795,
"h": 5
},
"luminance": 0.11959
}Semantic roles & 50–950 ramp
primary
#B4285A
secondary
#70C8A9
accent
#E7AC41
background
#FDF7F8
surface
#FBEDEF
border
#D4C8CA
text
#15080B
muted
#837B7C