#B42E70#B42E70
#B42E70 is a mid, vivid pink. Relative luminance 0.128; OKLCH L 52.8% C 0.179 H 355.2°. Best body text is #FFFFFF at 5.89:1 contrast (WCAG AA passes).
Color values
| HEX | #B42E70 |
|---|---|
| RGB | rgb(180, 46, 112) |
| HSL | hsl(330, 59%, 44%) |
| HSV | hsv(330, 74%, 71%) |
| CMYK | cmyk(0%, 74.4%, 37.8%, 29.4%) |
| CIE-LAB | lab(42.51, 58.15, -5.98) |
| CIE-LCH | lch(42.51, 58.46, 354.13°) |
| OKLab | oklab(52.8% 0.1785 -0.015) |
| OKLCH | oklch(52.8% 0.179 355.2) |
| XYZ | xyz(22.7255, 12.8299, 16.6058) |
| Luminance | 0.1283 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Magenta (survey)
#C20078
ΔE00 3.60
Mediumvioletred
#C71585
ΔE00 5.08
Deep Pink
#CB0162
ΔE00 5.91
Deep Magenta
#A0025C
ΔE00 6.87
Violet Red
#A50055
ΔE00 6.90
Dark Fuchsia
#9D0759
ΔE00 7.28
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B42E70 #2EB472
analogous
#B42EB3 #B42E70 #B42F2E
triadic
#B42E70 #70B42E #2E70B4
tetradic
#B42E70 #B3B42E #2EB472 #2F2EB4
square
#B42E70 #B3B42E #2EB472 #2F2EB4
split-complementary
#B42E70 #2EB42F #2EB3B4
monochromatic
#531533 #832252 #B42E70 #D24E8F #DE7EAD
Accessibility & contrast
On white
5.89
#B42E70 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.57
#B42E70 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #B42E70
5.89:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B42E70 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B42E70 | 1.00 | 5.89 | 3.57 | 5.89 |
| #FFFFFF | 5.89 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.57 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.89 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#485572
Deuteranopia (green-blind)
#6D6D6D
Tritanopia (blue-blind)
#C21F4B
Achromatopsia (no color)
#646464
Design tokens & code
CSS
--color: #b42e70; /* rgb */ color: rgb(180, 46, 112); /* oklch */ color: oklch(52.8% 0.179 355.2);
Tailwind
colors: {
custom: {
50: '#cf7399',
500: '#b42e70',
950: '#000000',
},
}SCSS
$custom: #b42e70; $custom-light: #cf7399; $custom-dark: #000000;
JSON
{
"hex": "#b42e70",
"rgb": {
"r": 180,
"g": 46,
"b": 112
},
"hsl": {
"h": 330.448,
"s": 59.292,
"l": 44.314
},
"oklch": {
"l": 0.52796,
"c": 0.17912,
"h": 355.2
},
"luminance": 0.12827
}Semantic roles & 50–950 ramp
primary
#B42E70
secondary
#77C79F
accent
#E29545
background
#FDF7F9
surface
#FAEDF2
border
#D3C8CC
text
#15090D
muted
#837B7E