#B45F8D#B45F8D
#B45F8D is a mid, vivid pink. Relative luminance 0.198; OKLCH L 59.9% C 0.123 H 347.8°. Best body text is #000000 at 4.96:1 contrast (WCAG AA passes).
Color values
| HEX | #B45F8D |
|---|---|
| RGB | rgb(180, 95, 141) |
| HSL | hsl(328, 36%, 54%) |
| HSV | hsv(328, 47%, 71%) |
| CMYK | cmyk(0%, 47.2%, 21.7%, 29.4%) |
| CIE-LAB | lab(51.63, 40.10, -9.92) |
| CIE-LCH | lch(51.63, 41.31, 346.11°) |
| OKLab | oklab(59.89% 0.12 -0.026) |
| OKLCH | oklch(59.89% 0.123 347.8) |
| XYZ | xyz(27.7230, 19.8129, 27.5583) |
| Luminance | 0.1981 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Light Plum
#9D5783
ΔE00 5.69
Purplish Pink
#CE5DAE
ΔE00 7.67
Purpleish
#98568D
ΔE00 7.75
Pale Magenta
#D767AD
ΔE00 8.41
Purplish
#94568C
ΔE00 8.53
Mauve (survey)
#AE7181
ΔE00 8.57
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B45F8D #5FB486
analogous
#B05FB4 #B45F8D #B45F63
triadic
#B45F8D #8DB45F #5F8DB4
tetradic
#B45F8D #B4B05F #5FB486 #5F63B4
square
#B45F8D #B4B05F #5FB486 #5F63B4
split-complementary
#B45F8D #63B45F #5FB4B0
monochromatic
#68314F #92446E #B45F8D #C889AB #DBB2C8
Accessibility & contrast
On white
4.23
#B45F8D on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.96
#B45F8D on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #B45F8D
4.96:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B45F8D | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B45F8D | 1.00 | 4.23 | 4.96 | 4.96 |
| #FFFFFF | 4.23 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.96 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.96 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#67728F
Deuteranopia (green-blind)
#7D808B
Tritanopia (blue-blind)
#BE5D70
Achromatopsia (no color)
#7B7B7B
Design tokens & code
CSS
--color: #b45f8d; /* rgb */ color: rgb(180, 95, 141); /* oklch */ color: oklch(59.9% 0.123 347.8);
Tailwind
colors: {
custom: {
50: '#cc8fae',
500: '#b45f8d',
950: '#000000',
},
}SCSS
$custom: #b45f8d; $custom-light: #cc8fae; $custom-dark: #000000;
JSON
{
"hex": "#b45f8d",
"rgb": {
"r": 180,
"g": 95,
"b": 141
},
"hsl": {
"h": 327.529,
"s": 36.17,
"l": 53.922
},
"oklch": {
"l": 0.59893,
"c": 0.12276,
"h": 347.8
},
"luminance": 0.19811
}Semantic roles & 50–950 ramp
primary
#B45F8D
secondary
#A5CAB6
accent
#CC8F5C
background
#FCF8FA
surface
#F9F0F4
border
#D2CBCE
text
#140C10
muted
#827D7F