#B42C7E#B42C7E
#B42C7E is a mid, vivid pink. Relative luminance 0.130; OKLCH L 53.2% C 0.188 H 348.5°. Best body text is #FFFFFF at 5.83:1 contrast (WCAG AA passes).
Color values
| HEX | #B42C7E |
|---|---|
| RGB | rgb(180, 44, 126) |
| HSL | hsl(324, 61%, 44%) |
| HSV | hsv(324, 76%, 71%) |
| CMYK | cmyk(0%, 75.6%, 30%, 29.4%) |
| CIE-LAB | lab(42.78, 60.40, -14.22) |
| CIE-LCH | lch(42.78, 62.05, 346.75°) |
| OKLab | oklab(53.17% 0.1843 -0.0373) |
| OKLCH | oklch(53.17% 0.188 348.5) |
| XYZ | xyz(23.4902, 13.0137, 21.0095) |
| Luminance | 0.1301 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Mediumvioletred
#C71585
ΔE00 3.25
Magenta (survey)
#C20078
ΔE00 3.29
Red Violet
#9E0168
ΔE00 7.10
Deep Magenta
#A0025C
ΔE00 8.00
Dark Fuchsia
#9D0759
ΔE00 8.59
Ugly Purple
#A442A0
ΔE00 8.64
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B42C7E #2CB462
analogous
#A62CB4 #B42C7E #B42C3A
triadic
#B42C7E #7EB42C #2C7EB4
tetradic
#B42C7E #B4A62C #2CB462 #2C3AB4
square
#B42C7E #B4A62C #2CB462 #2C3AB4
split-complementary
#B42C7E #3AB42C #2CB4A6
monochromatic
#521439 #83205C #B42C7E #D34A9D #DF7CB7
Accessibility & contrast
On white
5.83
#B42C7E on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.60
#B42C7E on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #B42C7E
5.83:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B42C7E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B42C7E | 1.00 | 5.83 | 3.60 | 5.83 |
| #FFFFFF | 5.83 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.60 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.83 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#415680
Deuteranopia (green-blind)
#696E7B
Tritanopia (blue-blind)
#C12551
Achromatopsia (no color)
#656565
Design tokens & code
CSS
--color: #b42c7e; /* rgb */ color: rgb(180, 44, 126); /* oklch */ color: oklch(53.2% 0.188 348.5);
Tailwind
colors: {
custom: {
50: '#cf73a3',
500: '#b42c7e',
950: '#000000',
},
}SCSS
$custom: #b42c7e; $custom-light: #cf73a3; $custom-dark: #000000;
JSON
{
"hex": "#b42c7e",
"rgb": {
"r": 180,
"g": 44,
"b": 126
},
"hsl": {
"h": 323.824,
"s": 60.714,
"l": 43.922
},
"oklch": {
"l": 0.53166,
"c": 0.18802,
"h": 348.5
},
"luminance": 0.13011
}Semantic roles & 50–950 ramp
primary
#B42C7E
secondary
#75C795
accent
#E48344
background
#FDF7FA
surface
#FAEDF3
border
#D3C8CD
text
#14090F
muted
#837B7F