#B04172#B04172
#B04172 is a mid, vivid pink. Relative luminance 0.142; OKLCH L 54.2% C 0.152 H 356.0°. Best body text is #FFFFFF at 5.46:1 contrast (WCAG AA passes).
Color values
| HEX | #B04172 |
|---|---|
| RGB | rgb(176, 65, 114) |
| HSL | hsl(334, 46%, 47%) |
| HSV | hsv(334, 63%, 69%) |
| CMYK | cmyk(0%, 63.1%, 35.2%, 31%) |
| CIE-LAB | lab(44.56, 49.80, -4.25) |
| CIE-LCH | lch(44.56, 49.98, 355.13°) |
| OKLab | oklab(54.2% 0.152 -0.0105) |
| OKLCH | oklch(54.2% 0.152 356) |
| XYZ | xyz(22.8333, 14.2281, 17.4602) |
| Luminance | 0.1423 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Magenta (survey)
#C20078
ΔE00 6.34
Light Burgundy
#A8415B
ΔE00 6.35
Mediumvioletred
#C71585
ΔE00 6.85
Deep Pink
#CB0162
ΔE00 7.10
Dark Pink
#CB416B
ΔE00 7.22
Light Plum
#9D5783
ΔE00 7.24
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B04172 #41B07F
analogous
#B041A9 #B04172 #B04841
triadic
#B04172 #72B041 #4172B0
tetradic
#B04172 #A9B041 #41B07F #4841B0
square
#B04172 #A9B041 #41B07F #4841B0
split-complementary
#B04172 #41B048 #41A9B0
monochromatic
#572038 #833055 #B04172 #C76791 #D794B2
Accessibility & contrast
On white
5.46
#B04172 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.85
#B04172 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #B04172
5.46:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B04172 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B04172 | 1.00 | 5.46 | 3.85 | 5.46 |
| #FFFFFF | 5.46 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.85 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.46 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#535C73
Deuteranopia (green-blind)
#71716F
Tritanopia (blue-blind)
#BD3854
Achromatopsia (no color)
#696969
Design tokens & code
CSS
--color: #b04172; /* rgb */ color: rgb(176, 65, 114); /* oklch */ color: oklch(54.2% 0.152 356.0);
Tailwind
colors: {
custom: {
50: '#cb7c9a',
500: '#b04172',
950: '#000000',
},
}SCSS
$custom: #b04172; $custom-light: #cb7c9a; $custom-dark: #000000;
JSON
{
"hex": "#b04172",
"rgb": {
"r": 176,
"g": 65,
"b": 114
},
"hsl": {
"h": 333.514,
"s": 46.058,
"l": 47.255
},
"oklch": {
"l": 0.542,
"c": 0.15239,
"h": 356
},
"luminance": 0.14226
}Semantic roles & 50–950 ramp
primary
#B04172
secondary
#8AC3AA
accent
#D69C52
background
#FDF7F9
surface
#FAEEF2
border
#D3C9CC
text
#140A0E
muted
#837C7E