#B4254B#B4254B
#B4254B is a mid, vivid pink. Relative luminance 0.115; OKLCH L 51.0% C 0.178 H 11.6°. Best body text is #FFFFFF at 6.35:1 contrast (WCAG AA passes).
Color values
| HEX | #B4254B |
|---|---|
| RGB | rgb(180, 37, 75) |
| HSL | hsl(344, 66%, 43%) |
| HSV | hsv(344, 79%, 71%) |
| CMYK | cmyk(0%, 79.4%, 58.3%, 29.4%) |
| CIE-LAB | lab(40.47, 57.68, 14.34) |
| CIE-LCH | lch(40.47, 59.44, 13.96°) |
| OKLab | oklab(50.96% 0.1744 0.0357) |
| OKLCH | oklch(50.96% 0.178 11.6) |
| XYZ | xyz(20.7560, 11.5375, 7.7893) |
| Luminance | 0.1153 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Raspberry (survey)
#B00149
ΔE00 3.59
Purplish Red
#B0054B
ΔE00 3.69
Ruby
#CA0147
ΔE00 4.14
Rose Red
#BE013C
ΔE00 4.28
Rouge
#AB1239
ΔE00 4.43
Light Burgundy
#A8415B
ΔE00 5.28
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B4254B #25B48E
analogous
#B42593 #B4254B #B44625
triadic
#B4254B #4BB425 #254BB4
tetradic
#B4254B #93B425 #25B48E #4625B4
square
#B4254B #93B425 #25B48E #4625B4
split-complementary
#B4254B #25B446 #2593B4
monochromatic
#4E1021 #811B36 #B4254B #D73F67 #E2718F
Accessibility & contrast
On white
6.35
#B4254B on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.31
#B4254B on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #B4254B
6.35:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B4254B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B4254B | 1.00 | 6.35 | 3.31 | 6.35 |
| #FFFFFF | 6.35 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.31 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.35 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4D4D4C
Deuteranopia (green-blind)
#726A47
Tritanopia (blue-blind)
#C50036
Achromatopsia (no color)
#5F5F5F
Design tokens & code
CSS
--color: #b4254b; /* rgb */ color: rgb(180, 37, 75); /* oklch */ color: oklch(51.0% 0.178 11.6);
Tailwind
colors: {
custom: {
50: '#d16e7d',
500: '#b4254b',
950: '#000000',
},
}SCSS
$custom: #b4254b; $custom-light: #d16e7d; $custom-dark: #000000;
JSON
{
"hex": "#b4254b",
"rgb": {
"r": 180,
"g": 37,
"b": 75
},
"hsl": {
"h": 344.056,
"s": 65.899,
"l": 42.549
},
"oklch": {
"l": 0.5096,
"c": 0.17805,
"h": 11.6
},
"luminance": 0.11534
}Semantic roles & 50–950 ramp
primary
#B4254B
secondary
#6CC9B0
accent
#E9BC3F
background
#FDF7F7
surface
#FBEDEE
border
#D4C8C9
text
#150809
muted
#837B7B