#B04795#B04795
#B04795 is a mid, vivid pink. Relative luminance 0.159; OKLCH L 56.3% C 0.164 H 338.8°. Best body text is #FFFFFF at 5.02:1 contrast (WCAG AA passes).
Color values
| HEX | #B04795 |
|---|---|
| RGB | rgb(176, 71, 149) |
| HSL | hsl(315, 43%, 48%) |
| HSV | hsv(315, 60%, 69%) |
| CMYK | cmyk(0%, 59.7%, 15.3%, 31%) |
| CIE-LAB | lab(46.85, 51.91, -21.99) |
| CIE-LCH | lch(46.85, 56.37, 337.04°) |
| OKLab | oklab(56.32% 0.1531 -0.0593) |
| OKLCH | oklch(56.32% 0.164 338.8) |
| XYZ | xyz(25.5830, 15.9086, 30.1512) |
| Luminance | 0.1591 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Ugly Purple
#A442A0
ΔE00 4.70
Purpleish
#98568D
ΔE00 5.57
Medium Purple
#9E43A2
ΔE00 6.04
Purplish
#94568C
ΔE00 6.28
Light Plum
#9D5783
ΔE00 6.49
Mediumvioletred
#C71585
ΔE00 6.86
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B04795 #47B062
analogous
#9647B0 #B04795 #B04760
triadic
#B04795 #95B047 #4795B0
tetradic
#B04795 #B09647 #47B062 #4760B0
square
#B04795 #B09647 #47B062 #4760B0
split-complementary
#B04795 #60B047 #47B096
monochromatic
#59244B #843570 #B04795 #C56FAF #D79BC7
Accessibility & contrast
On white
5.02
#B04795 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.18
#B04795 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #B04795
5.02:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B04795 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B04795 | 1.00 | 5.02 | 4.18 | 5.02 |
| #FFFFFF | 5.02 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.18 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.02 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4B6597
Deuteranopia (green-blind)
#6A7592
Tritanopia (blue-blind)
#B94A67
Achromatopsia (no color)
#6F6F6F
Design tokens & code
CSS
--color: #b04795; /* rgb */ color: rgb(176, 71, 149); /* oklch */ color: oklch(56.3% 0.164 338.8);
Tailwind
colors: {
custom: {
50: '#ca80b4',
500: '#b04795',
950: '#000000',
},
}SCSS
$custom: #b04795; $custom-light: #ca80b4; $custom-dark: #000000;
JSON
{
"hex": "#b04795",
"rgb": {
"r": 176,
"g": 71,
"b": 149
},
"hsl": {
"h": 315.429,
"s": 42.51,
"l": 48.431
},
"oklch": {
"l": 0.56324,
"c": 0.16413,
"h": 338.8
},
"luminance": 0.15907
}Semantic roles & 50–950 ramp
primary
#B04795
secondary
#90C39D
accent
#D27656
background
#FCF8FB
surface
#F9EFF6
border
#D2CAD0
text
#140B11
muted
#827C80