#B42E5F#B42E5F
#B42E5F is a mid, vivid pink. Relative luminance 0.125; OKLCH L 52.2% C 0.173 H 3.5°. Best body text is #FFFFFF at 6.01:1 contrast (WCAG AA passes).
Color values
| HEX | #B42E5F |
|---|---|
| RGB | rgb(180, 46, 95) |
| HSL | hsl(338, 59%, 44%) |
| HSV | hsv(338, 74%, 71%) |
| CMYK | cmyk(0%, 74.4%, 47.2%, 29.4%) |
| CIE-LAB | lab(41.98, 56.46, 3.85) |
| CIE-LCH | lch(41.98, 56.60, 3.90°) |
| OKLab | oklab(52.24% 0.1729 0.0105) |
| OKLCH | oklch(52.24% 0.173 3.5) |
| XYZ | xyz(21.8667, 12.4864, 12.0829) |
| Luminance | 0.1248 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Deep Pink
#CB0162
ΔE00 4.05
Light Burgundy
#A8415B
ΔE00 4.16
Purplish Red
#B0054B
ΔE00 5.06
Raspberry (survey)
#B00149
ΔE00 5.48
Violet Red
#A50055
ΔE00 6.16
Dark Hot Pink
#D90166
ΔE00 6.36
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B42E5F #2EB483
analogous
#B42EA2 #B42E5F #B4402E
triadic
#B42E5F #5FB42E #2E5FB4
tetradic
#B42E5F #A2B42E #2EB483 #402EB4
square
#B42E5F #A2B42E #2EB483 #402EB4
split-complementary
#B42E5F #2EB440 #2EA2B4
monochromatic
#53152C #832245 #B42E5F #D24E7E #DE7EA1
Accessibility & contrast
On white
6.01
#B42E5F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.50
#B42E5F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #B42E5F
6.01:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B42E5F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B42E5F | 1.00 | 6.01 | 3.50 | 6.01 |
| #FFFFFF | 6.01 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.50 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.01 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4D5260
Deuteranopia (green-blind)
#716D5C
Tritanopia (blue-blind)
#C41343
Achromatopsia (no color)
#636363
Design tokens & code
CSS
--color: #b42e5f; /* rgb */ color: rgb(180, 46, 95); /* oklch */ color: oklch(52.2% 0.173 3.5);
Tailwind
colors: {
custom: {
50: '#d0728c',
500: '#b42e5f',
950: '#000000',
},
}SCSS
$custom: #b42e5f; $custom-light: #d0728c; $custom-dark: #000000;
JSON
{
"hex": "#b42e5f",
"rgb": {
"r": 180,
"g": 46,
"b": 95
},
"hsl": {
"h": 338.06,
"s": 59.292,
"l": 44.314
},
"oklch": {
"l": 0.52237,
"c": 0.17321,
"h": 3.5
},
"luminance": 0.12484
}Semantic roles & 50–950 ramp
primary
#B42E5F
secondary
#77C7AA
accent
#E2A945
background
#FDF7F8
surface
#FBEDF0
border
#D4C8CB
text
#15090C
muted
#837B7D