#B42C7D#B42C7D
#B42C7D is a mid, vivid pink. Relative luminance 0.130; OKLCH L 53.1% C 0.187 H 349.0°. Best body text is #FFFFFF at 5.84:1 contrast (WCAG AA passes).
Color values
| HEX | #B42C7D |
|---|---|
| RGB | rgb(180, 44, 125) |
| HSL | hsl(324, 61%, 44%) |
| HSV | hsv(324, 76%, 71%) |
| CMYK | cmyk(0%, 75.6%, 30.6%, 29.4%) |
| CIE-LAB | lab(42.75, 60.28, -13.66) |
| CIE-LCH | lch(42.75, 61.81, 347.23°) |
| OKLab | oklab(53.13% 0.184 -0.0358) |
| OKLCH | oklch(53.13% 0.187 349) |
| XYZ | xyz(23.4260, 12.9880, 20.6713) |
| Luminance | 0.1298 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Magenta (survey)
#C20078
ΔE00 3.19
Mediumvioletred
#C71585
ΔE00 3.29
Red Violet
#9E0168
ΔE00 7.06
Deep Magenta
#A0025C
ΔE00 7.87
Dark Fuchsia
#9D0759
ΔE00 8.45
Deep Pink
#CB0162
ΔE00 8.51
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B42C7D #2CB463
analogous
#A72CB4 #B42C7D #B42C39
triadic
#B42C7D #7DB42C #2C7DB4
tetradic
#B42C7D #B4A72C #2CB463 #2C39B4
square
#B42C7D #B4A72C #2CB463 #2C39B4
split-complementary
#B42C7D #39B42C #2CB4A7
monochromatic
#521439 #83205B #B42C7D #D34A9C #DF7CB7
Accessibility & contrast
On white
5.84
#B42C7D on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.60
#B42C7D on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #B42C7D
5.84:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B42C7D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B42C7D | 1.00 | 5.84 | 3.60 | 5.84 |
| #FFFFFF | 5.84 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.60 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.84 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#42567F
Deuteranopia (green-blind)
#696E7A
Tritanopia (blue-blind)
#C12451
Achromatopsia (no color)
#656565
Design tokens & code
CSS
--color: #b42c7d; /* rgb */ color: rgb(180, 44, 125); /* oklch */ color: oklch(53.1% 0.187 349.0);
Tailwind
colors: {
custom: {
50: '#cf73a2',
500: '#b42c7d',
950: '#000000',
},
}SCSS
$custom: #b42c7d; $custom-light: #cf73a2; $custom-dark: #000000;
JSON
{
"hex": "#b42c7d",
"rgb": {
"r": 180,
"g": 44,
"b": 125
},
"hsl": {
"h": 324.265,
"s": 60.714,
"l": 43.922
},
"oklch": {
"l": 0.53125,
"c": 0.18748,
"h": 349
},
"luminance": 0.12985
}Semantic roles & 50–950 ramp
primary
#B42C7D
secondary
#75C796
accent
#E48544
background
#FDF7FA
surface
#FAEDF3
border
#D3C8CD
text
#14090F
muted
#837B7F