#B04791#B04791
#B04791 is a mid, vivid pink. Relative luminance 0.158; OKLCH L 56.1% C 0.161 H 340.7°. Best body text is #FFFFFF at 5.05:1 contrast (WCAG AA passes).
Color values
| HEX | #B04791 |
|---|---|
| RGB | rgb(176, 71, 145) |
| HSL | hsl(318, 43%, 48%) |
| HSV | hsv(318, 60%, 69%) |
| CMYK | cmyk(0%, 59.7%, 17.6%, 31%) |
| CIE-LAB | lab(46.69, 51.30, -19.85) |
| CIE-LCH | lch(46.69, 55.00, 338.85°) |
| OKLab | oklab(56.15% 0.1522 -0.0532) |
| OKLCH | oklch(56.15% 0.161 340.7) |
| XYZ | xyz(25.2691, 15.7831, 28.4982) |
| Luminance | 0.1578 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Ugly Purple
#A442A0
ΔE00 5.44
Purpleish
#98568D
ΔE00 5.53
Light Plum
#9D5783
ΔE00 5.96
Purplish
#94568C
ΔE00 6.27
Mediumvioletred
#C71585
ΔE00 6.46
Medium Purple
#9E43A2
ΔE00 6.75
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B04791 #47B066
analogous
#9A47B0 #B04791 #B0475C
triadic
#B04791 #91B047 #4791B0
tetradic
#B04791 #B09A47 #47B066 #475CB0
square
#B04791 #B09A47 #47B066 #475CB0
split-complementary
#B04791 #5CB047 #47B09A
monochromatic
#592449 #84356D #B04791 #C56FAC #D79BC5
Accessibility & contrast
On white
5.05
#B04791 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.16
#B04791 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #B04791
5.05:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B04791 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B04791 | 1.00 | 5.05 | 4.16 | 5.05 |
| #FFFFFF | 5.05 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.16 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.05 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4D6493
Deuteranopia (green-blind)
#6C758E
Tritanopia (blue-blind)
#BA4966
Achromatopsia (no color)
#6F6F6F
Design tokens & code
CSS
--color: #b04791; /* rgb */ color: rgb(176, 71, 145); /* oklch */ color: oklch(56.1% 0.161 340.7);
Tailwind
colors: {
custom: {
50: '#ca80b1',
500: '#b04791',
950: '#000000',
},
}SCSS
$custom: #b04791; $custom-light: #ca80b1; $custom-dark: #000000;
JSON
{
"hex": "#b04791",
"rgb": {
"r": 176,
"g": 71,
"b": 145
},
"hsl": {
"h": 317.714,
"s": 42.51,
"l": 48.431
},
"oklch": {
"l": 0.56148,
"c": 0.16126,
"h": 340.7
},
"luminance": 0.15781
}Semantic roles & 50–950 ramp
primary
#B04791
secondary
#90C39F
accent
#D27A56
background
#FCF8FA
surface
#F9EFF5
border
#D2CACF
text
#140B10
muted
#827C7F