#B2407F#B2407F
#B2407F is a mid, vivid pink. Relative luminance 0.147; OKLCH L 54.9% C 0.162 H 349.6°. Best body text is #FFFFFF at 5.34:1 contrast (WCAG AA passes).
Color values
| HEX | #B2407F |
|---|---|
| RGB | rgb(178, 64, 127) |
| HSL | hsl(327, 47%, 47%) |
| HSV | hsv(327, 64%, 70%) |
| CMYK | cmyk(0%, 64%, 28.7%, 30.2%) |
| CIE-LAB | lab(45.17, 52.46, -11.24) |
| CIE-LCH | lch(45.17, 53.65, 347.90°) |
| OKLab | oklab(54.87% 0.1593 -0.0293) |
| OKLCH | oklch(54.87% 0.162 349.6) |
| XYZ | xyz(24.0253, 14.6665, 21.6402) |
| Luminance | 0.1466 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Mediumvioletred
#C71585
ΔE00 4.95
Magenta (survey)
#C20078
ΔE00 5.58
Light Plum
#9D5783
ΔE00 6.26
Purpleish
#98568D
ΔE00 7.75
Purplish
#94568C
ΔE00 8.39
Deep Pink
#CB0162
ΔE00 8.95
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B2407F #40B273
analogous
#AC40B2 #B2407F #B24046
triadic
#B2407F #7FB240 #407FB2
tetradic
#B2407F #B2AC40 #40B273 #4046B2
square
#B2407F #B2AC40 #40B273 #4046B2
split-complementary
#B2407F #46B240 #40B2AC
monochromatic
#58203F #85305F #B2407F #C8679D #D894BA
Accessibility & contrast
On white
5.34
#B2407F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.93
#B2407F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #B2407F
5.34:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B2407F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B2407F | 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)
#4F5E81
Deuteranopia (green-blind)
#6F727C
Tritanopia (blue-blind)
#BE3B5A
Achromatopsia (no color)
#6B6B6B
Design tokens & code
CSS
--color: #b2407f; /* rgb */ color: rgb(178, 64, 127); /* oklch */ color: oklch(54.9% 0.162 349.6);
Tailwind
colors: {
custom: {
50: '#cd7ca4',
500: '#b2407f',
950: '#000000',
},
}SCSS
$custom: #b2407f; $custom-light: #cd7ca4; $custom-dark: #000000;
JSON
{
"hex": "#b2407f",
"rgb": {
"r": 178,
"g": 64,
"b": 127
},
"hsl": {
"h": 326.842,
"s": 47.107,
"l": 47.451
},
"oklch": {
"l": 0.54866,
"c": 0.16195,
"h": 349.6
},
"luminance": 0.14664
}Semantic roles & 50–950 ramp
primary
#B2407F
secondary
#8AC4A4
accent
#D78D51
background
#FDF7FA
surface
#FAEEF4
border
#D3C9CE
text
#140A0F
muted
#837C7F