#B4245A#B4245A
#B4245A is a mid, vivid pink. Relative luminance 0.117; OKLCH L 51.3% C 0.182 H 4.4°. Best body text is #FFFFFF at 6.29:1 contrast (WCAG AA passes).
Color values
| HEX | #B4245A |
|---|---|
| RGB | rgb(180, 36, 90) |
| HSL | hsl(338, 67%, 42%) |
| HSV | hsv(338, 80%, 71%) |
| CMYK | cmyk(0%, 80%, 50%, 29.4%) |
| CIE-LAB | lab(40.75, 59.11, 5.23) |
| CIE-LCH | lch(40.75, 59.35, 5.06°) |
| OKLab | oklab(51.28% 0.181 0.0139) |
| OKLCH | oklch(51.28% 0.182 4.4) |
| XYZ | xyz(21.3006, 11.7062, 10.8088) |
| Luminance | 0.1170 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purplish Red
#B0054B
ΔE00 3.66
Deep Pink
#CB0162
ΔE00 4.02
Raspberry (survey)
#B00149
ΔE00 4.10
Light Burgundy
#A8415B
ΔE00 4.85
Violet Red
#A50055
ΔE00 5.25
Berry
#990F4B
ΔE00 6.50
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B4245A #24B47E
analogous
#B424A2 #B4245A #B43624
triadic
#B4245A #5AB424 #245AB4
tetradic
#B4245A #A2B424 #24B47E #3624B4
square
#B4245A #A2B424 #24B47E #3624B4
split-complementary
#B4245A #24B436 #24A2B4
monochromatic
#4E1027 #811A41 #B4245A #D83D77 #E2709B
Accessibility & contrast
On white
6.29
#B4245A on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.34
#B4245A on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #B4245A
6.29:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B4245A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B4245A | 1.00 | 6.29 | 3.34 | 6.29 |
| #FFFFFF | 6.29 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.34 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.29 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#494E5B
Deuteranopia (green-blind)
#6F6A57
Tritanopia (blue-blind)
#C4003C
Achromatopsia (no color)
#606060
Design tokens & code
CSS
--color: #b4245a; /* rgb */ color: rgb(180, 36, 90); /* oklch */ color: oklch(51.3% 0.182 4.4);
Tailwind
colors: {
custom: {
50: '#d16e88',
500: '#b4245a',
950: '#000000',
},
}SCSS
$custom: #b4245a; $custom-light: #d16e88; $custom-dark: #000000;
JSON
{
"hex": "#b4245a",
"rgb": {
"r": 180,
"g": 36,
"b": 90
},
"hsl": {
"h": 337.5,
"s": 66.667,
"l": 42.353
},
"oklch": {
"l": 0.51283,
"c": 0.18156,
"h": 4.4
},
"luminance": 0.11703
}Semantic roles & 50–950 ramp
primary
#B4245A
secondary
#6BC9A6
accent
#EAA93E
background
#FDF7F8
surface
#FBEDEF
border
#D4C8CA
text
#15080B
muted
#837B7C