#B7428F#B7428F
#B7428F is a mid, vivid pink. Relative luminance 0.159; OKLCH L 56.5% C 0.173 H 343.7°. Best body text is #FFFFFF at 5.01:1 contrast (WCAG AA passes).
Color values
| HEX | #B7428F |
|---|---|
| RGB | rgb(183, 66, 143) |
| HSL | hsl(321, 47%, 49%) |
| HSV | hsv(321, 64%, 72%) |
| CMYK | cmyk(0%, 63.9%, 21.9%, 28.2%) |
| CIE-LAB | lab(46.91, 55.22, -18.22) |
| CIE-LCH | lch(46.91, 58.15, 341.74°) |
| OKLab | oklab(56.5% 0.1657 -0.0486) |
| OKLCH | oklch(56.5% 0.173 343.7) |
| XYZ | xyz(26.4354, 15.9494, 27.6676) |
| Luminance | 0.1595 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Mediumvioletred
#C71585
ΔE00 5.11
Ugly Purple
#A442A0
ΔE00 6.55
Light Plum
#9D5783
ΔE00 6.78
Purpleish
#98568D
ΔE00 6.94
Magenta (survey)
#C20078
ΔE00 7.05
Purplish
#94568C
ΔE00 7.70
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B7428F #42B76A
analogous
#A542B7 #B7428F #B74255
triadic
#B7428F #8FB742 #428FB7
tetradic
#B7428F #B7A542 #42B76A #4255B7
square
#B7428F #B7A542 #42B76A #4255B7
split-complementary
#B7428F #55B742 #42B7A5
monochromatic
#5D2249 #8A326C #B7428F #CA6CAA #DA99C4
Accessibility & contrast
On white
5.01
#B7428F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.19
#B7428F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #B7428F
5.01:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B7428F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B7428F | 1.00 | 5.01 | 4.19 | 5.01 |
| #FFFFFF | 5.01 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.19 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.01 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4C6391
Deuteranopia (green-blind)
#6F768C
Tritanopia (blue-blind)
#C24262
Achromatopsia (no color)
#6F6F6F
Design tokens & code
CSS
--color: #b7428f; /* rgb */ color: rgb(183, 66, 143); /* oklch */ color: oklch(56.5% 0.173 343.7);
Tailwind
colors: {
custom: {
50: '#d07eb0',
500: '#b7428f',
950: '#000000',
},
}SCSS
$custom: #b7428f; $custom-light: #d07eb0; $custom-dark: #000000;
JSON
{
"hex": "#b7428f",
"rgb": {
"r": 183,
"g": 66,
"b": 143
},
"hsl": {
"h": 320.513,
"s": 46.988,
"l": 48.824
},
"oklch": {
"l": 0.565,
"c": 0.17267,
"h": 343.7
},
"luminance": 0.15947
}Semantic roles & 50–950 ramp
primary
#B7428F
secondary
#8FC6A2
accent
#D77F51
background
#FDF8FA
surface
#FAEFF4
border
#D3CACE
text
#140A10
muted
#837C7F