#B04781#B04781
#B04781 is a mid, vivid pink. Relative luminance 0.153; OKLCH L 55.5% C 0.151 H 348.9°. Best body text is #FFFFFF at 5.17:1 contrast (WCAG AA passes).
Color values
| HEX | #B04781 |
|---|---|
| RGB | rgb(176, 71, 129) |
| HSL | hsl(327, 43%, 48%) |
| HSV | hsv(327, 60%, 69%) |
| CMYK | cmyk(0%, 59.7%, 26.7%, 31%) |
| CIE-LAB | lab(46.07, 49.00, -11.13) |
| CIE-LCH | lch(46.07, 50.25, 347.20°) |
| OKLab | oklab(55.49% 0.1482 -0.0291) |
| OKLCH | oklch(55.49% 0.151 348.9) |
| XYZ | xyz(24.1211, 15.3239, 22.4521) |
| Luminance | 0.1532 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Light Plum
#9D5783
ΔE00 5.11
Mediumvioletred
#C71585
ΔE00 6.08
Purpleish
#98568D
ΔE00 6.88
Magenta (survey)
#C20078
ΔE00 6.91
Purplish
#94568C
ΔE00 7.57
Ugly Purple
#A442A0
ΔE00 8.95
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B04781 #47B076
analogous
#AA47B0 #B04781 #B0474C
triadic
#B04781 #81B047 #4781B0
tetradic
#B04781 #B0AA47 #47B076 #474CB0
square
#B04781 #B0AA47 #47B076 #474CB0
split-complementary
#B04781 #4CB047 #47B0AA
monochromatic
#592441 #843561 #B04781 #C56F9F #D79BBC
Accessibility & contrast
On white
5.17
#B04781 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.06
#B04781 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #B04781
5.17:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B04781 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B04781 | 1.00 | 5.17 | 4.06 | 5.17 |
| #FFFFFF | 5.17 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.06 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.17 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#536283
Deuteranopia (green-blind)
#71747E
Tritanopia (blue-blind)
#BC445E
Achromatopsia (no color)
#6D6D6D
Design tokens & code
CSS
--color: #b04781; /* rgb */ color: rgb(176, 71, 129); /* oklch */ color: oklch(55.5% 0.151 348.9);
Tailwind
colors: {
custom: {
50: '#cb80a5',
500: '#b04781',
950: '#000000',
},
}SCSS
$custom: #b04781; $custom-light: #cb80a5; $custom-dark: #000000;
JSON
{
"hex": "#b04781",
"rgb": {
"r": 176,
"g": 71,
"b": 129
},
"hsl": {
"h": 326.857,
"s": 42.51,
"l": 48.431
},
"oklch": {
"l": 0.55493,
"c": 0.15101,
"h": 348.9
},
"luminance": 0.15322
}Semantic roles & 50–950 ramp
primary
#B04781
secondary
#90C3A7
accent
#D28D56
background
#FCF8FA
surface
#F9EFF4
border
#D2CACE
text
#140A0F
muted
#827C7F