#B34792#B34792
#B34792 is a mid, vivid pink. Relative luminance 0.162; OKLCH L 56.6% C 0.164 H 341.3°. Best body text is #FFFFFF at 4.96:1 contrast (WCAG AA passes).
Color values
| HEX | #B34792 |
|---|---|
| RGB | rgb(179, 71, 146) |
| HSL | hsl(318, 43%, 49%) |
| HSV | hsv(318, 60%, 70%) |
| CMYK | cmyk(0%, 60.3%, 18.4%, 29.8%) |
| CIE-LAB | lab(47.19, 52.32, -19.63) |
| CIE-LCH | lch(47.19, 55.88, 339.43°) |
| OKLab | oklab(56.63% 0.1556 -0.0526) |
| OKLCH | oklch(56.63% 0.164 341.3) |
| XYZ | xyz(26.0325, 16.1678, 28.9382) |
| Luminance | 0.1617 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Ugly Purple
#A442A0
ΔE00 5.80
Purpleish
#98568D
ΔE00 5.94
Light Plum
#9D5783
ΔE00 6.22
Mediumvioletred
#C71585
ΔE00 6.28
Purplish
#94568C
ΔE00 6.71
Medium Purple
#9E43A2
ΔE00 7.14
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B34792 #47B368
analogous
#9E47B3 #B34792 #B3475C
triadic
#B34792 #92B347 #4792B3
tetradic
#B34792 #B39E47 #47B368 #475CB3
square
#B34792 #B39E47 #47B368 #475CB3
split-complementary
#B34792 #5CB347 #47B39E
monochromatic
#5B244B #87366E #B34792 #C771AC #D89CC6
Accessibility & contrast
On white
4.96
#B34792 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.23
#B34792 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #B34792
4.96:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B34792 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B34792 | 1.00 | 4.96 | 4.23 | 4.96 |
| #FFFFFF | 4.96 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.23 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.96 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4E6594
Deuteranopia (green-blind)
#6D768F
Tritanopia (blue-blind)
#BD4966
Achromatopsia (no color)
#707070
Design tokens & code
CSS
--color: #b34792; /* rgb */ color: rgb(179, 71, 146); /* oklch */ color: oklch(56.6% 0.164 341.3);
Tailwind
colors: {
custom: {
50: '#cd80b2',
500: '#b34792',
950: '#000000',
},
}SCSS
$custom: #b34792; $custom-light: #cd80b2; $custom-dark: #000000;
JSON
{
"hex": "#b34792",
"rgb": {
"r": 179,
"g": 71,
"b": 146
},
"hsl": {
"h": 318.333,
"s": 43.2,
"l": 49.02
},
"oklch": {
"l": 0.56626,
"c": 0.16427,
"h": 341.3
},
"luminance": 0.16166
}Semantic roles & 50–950 ramp
primary
#B34792
secondary
#91C4A1
accent
#D37B55
background
#FCF8FA
surface
#F9EFF5
border
#D2CACF
text
#140B11
muted
#827C80