#B7478D#B7478D
#B7478D is a mid, vivid pink. Relative luminance 0.165; OKLCH L 57.0% C 0.164 H 345.1°. Best body text is #FFFFFF at 4.88:1 contrast (WCAG AA passes).
Color values
| HEX | #B7478D |
|---|---|
| RGB | rgb(183, 71, 141) |
| HSL | hsl(323, 44%, 50%) |
| HSV | hsv(323, 61%, 72%) |
| CMYK | cmyk(0%, 61.2%, 23%, 28.2%) |
| CIE-LAB | lab(47.62, 52.78, -15.92) |
| CIE-LCH | lch(47.62, 55.13, 343.21°) |
| OKLab | oklab(57% 0.1586 -0.0422) |
| OKLCH | oklch(57% 0.164 345.1) |
| XYZ | xyz(26.5903, 16.4993, 26.9784) |
| Luminance | 0.1650 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Mediumvioletred
#C71585
ΔE00 5.72
Light Plum
#9D5783
ΔE00 6.10
Purpleish
#98568D
ΔE00 6.78
Ugly Purple
#A442A0
ΔE00 7.48
Magenta (survey)
#C20078
ΔE00 7.51
Purplish
#94568C
ΔE00 7.58
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B7478D #47B771
analogous
#A947B7 #B7478D #B74755
triadic
#B7478D #8DB747 #478DB7
tetradic
#B7478D #B7A947 #47B771 #4755B7
square
#B7478D #B7A947 #47B771 #4755B7
split-complementary
#B7478D #55B747 #47B7A9
monochromatic
#5F2549 #8B366B #B7478D #C973A8 #DA9FC4
Accessibility & contrast
On white
4.88
#B7478D on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.30
#B7478D on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #B7478D
4.88:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B7478D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B7478D | 1.00 | 4.88 | 4.30 | 4.88 |
| #FFFFFF | 4.88 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.30 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.88 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#52658F
Deuteranopia (green-blind)
#72788A
Tritanopia (blue-blind)
#C24664
Achromatopsia (no color)
#717171
Design tokens & code
CSS
--color: #b7478d; /* rgb */ color: rgb(183, 71, 141); /* oklch */ color: oklch(57.0% 0.164 345.1);
Tailwind
colors: {
custom: {
50: '#d080ae',
500: '#b7478d',
950: '#000000',
},
}SCSS
$custom: #b7478d; $custom-light: #d080ae; $custom-dark: #000000;
JSON
{
"hex": "#b7478d",
"rgb": {
"r": 183,
"g": 71,
"b": 141
},
"hsl": {
"h": 322.5,
"s": 44.094,
"l": 49.804
},
"oklch": {
"l": 0.57001,
"c": 0.16415,
"h": 345.1
},
"luminance": 0.16497
}Semantic roles & 50–950 ramp
primary
#B7478D
secondary
#94C6A7
accent
#D48454
background
#FDF8FA
surface
#FAEFF4
border
#D3CACE
text
#140B10
muted
#837C7F