#B0427F#B0427F
#B0427F is a mid, vivid pink. Relative luminance 0.147; OKLCH L 54.8% C 0.157 H 349.2°. Best body text is #FFFFFF at 5.34:1 contrast (WCAG AA passes).
Color values
| HEX | #B0427F |
|---|---|
| RGB | rgb(176, 66, 127) |
| HSL | hsl(327, 45%, 47%) |
| HSV | hsv(327, 63%, 69%) |
| CMYK | cmyk(0%, 62.5%, 27.8%, 31%) |
| CIE-LAB | lab(45.17, 50.99, -11.29) |
| CIE-LCH | lch(45.17, 52.22, 347.52°) |
| OKLab | oklab(54.8% 0.1546 -0.0295) |
| OKLCH | oklch(54.8% 0.157 349.2) |
| XYZ | xyz(23.6845, 14.6612, 21.6571) |
| Luminance | 0.1466 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Mediumvioletred
#C71585
ΔE00 5.37
Light Plum
#9D5783
ΔE00 5.83
Magenta (survey)
#C20078
ΔE00 5.98
Purpleish
#98568D
ΔE00 7.37
Purplish
#94568C
ΔE00 8.01
Ugly Purple
#A442A0
ΔE00 8.87
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B0427F #42B073
analogous
#AA42B0 #B0427F #B04248
triadic
#B0427F #7FB042 #427FB0
tetradic
#B0427F #B0AA42 #42B073 #4248B0
square
#B0427F #B0AA42 #42B073 #4248B0
split-complementary
#B0427F #48B042 #42B0AA
monochromatic
#57213F #83315F #B0427F #C7699D #D795BA
Accessibility & contrast
On white
5.34
#B0427F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.93
#B0427F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #B0427F
5.34:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B0427F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B0427F | 1.00 | 5.34 | 3.93 | 5.34 |
| #FFFFFF | 5.34 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.93 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.34 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#505F81
Deuteranopia (green-blind)
#6F727C
Tritanopia (blue-blind)
#BC3E5B
Achromatopsia (no color)
#6B6B6B
Design tokens & code
CSS
--color: #b0427f; /* rgb */ color: rgb(176, 66, 127); /* oklch */ color: oklch(54.8% 0.157 349.2);
Tailwind
colors: {
custom: {
50: '#cb7da4',
500: '#b0427f',
950: '#000000',
},
}SCSS
$custom: #b0427f; $custom-light: #cb7da4; $custom-dark: #000000;
JSON
{
"hex": "#b0427f",
"rgb": {
"r": 176,
"g": 66,
"b": 127
},
"hsl": {
"h": 326.727,
"s": 45.455,
"l": 47.451
},
"oklch": {
"l": 0.54797,
"c": 0.15736,
"h": 349.2
},
"luminance": 0.14659
}Semantic roles & 50–950 ramp
primary
#B0427F
secondary
#8BC3A4
accent
#D58D53
background
#FCF7FA
surface
#F9EEF4
border
#D2C9CE
text
#140A0F
muted
#827C7F