#B45F7C#B45F7C
#B45F7C is a mid, moderate pink. Relative luminance 0.193; OKLCH L 59.3% C 0.114 H 359.4°. Best body text is #000000 at 4.87:1 contrast (WCAG AA passes).
Color values
| HEX | #B45F7C |
|---|---|
| RGB | rgb(180, 95, 124) |
| HSL | hsl(340, 36%, 54%) |
| HSV | hsv(340, 47%, 71%) |
| CMYK | cmyk(0%, 47.2%, 31.1%, 29.4%) |
| CIE-LAB | lab(51.09, 37.69, -0.61) |
| CIE-LCH | lch(51.09, 37.69, 359.07°) |
| OKLab | oklab(59.31% 0.1142 -0.0011) |
| OKLCH | oklch(59.31% 0.114 359.4) |
| XYZ | xyz(26.5537, 19.3452, 21.4004) |
| Luminance | 0.1934 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Mauve (survey)
#AE7181
ΔE00 5.86
Dusky Rose
#BA6873
ΔE00 6.22
Deep Rose
#C74767
ΔE00 7.39
Dark Pink
#CB416B
ΔE00 7.53
Rose (survey)
#CF6275
ΔE00 7.57
Darkish Pink
#DA467D
ΔE00 7.66
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B45F7C #5FB497
analogous
#B45FA7 #B45F7C #B46D5F
triadic
#B45F7C #7CB45F #5F7CB4
tetradic
#B45F7C #A7B45F #5FB497 #6D5FB4
square
#B45F7C #A7B45F #5FB497 #6D5FB4
split-complementary
#B45F7C #5FB46D #5FA7B4
monochromatic
#683144 #92445F #B45F7C #C8899E #DBB2C0
Accessibility & contrast
On white
4.31
#B45F7C on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.87
#B45F7C on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #B45F7C
4.87:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B45F7C | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B45F7C | 1.00 | 4.31 | 4.87 | 4.87 |
| #FFFFFF | 4.31 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.87 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.87 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6C707D
Deuteranopia (green-blind)
#81807A
Tritanopia (blue-blind)
#C05969
Achromatopsia (no color)
#7A7A7A
Design tokens & code
CSS
--color: #b45f7c; /* rgb */ color: rgb(180, 95, 124); /* oklch */ color: oklch(59.3% 0.114 359.4);
Tailwind
colors: {
custom: {
50: '#cd8ea1',
500: '#b45f7c',
950: '#000000',
},
}SCSS
$custom: #b45f7c; $custom-light: #cd8ea1; $custom-dark: #000000;
JSON
{
"hex": "#b45f7c",
"rgb": {
"r": 180,
"g": 95,
"b": 124
},
"hsl": {
"h": 339.529,
"s": 36.17,
"l": 53.922
},
"oklch": {
"l": 0.59312,
"c": 0.11425,
"h": 359.4
},
"luminance": 0.19343
}Semantic roles & 50–950 ramp
primary
#B45F7C
secondary
#A5CABD
accent
#CCA65C
background
#FCF8F9
surface
#F9F0F2
border
#D2CBCC
text
#140C0F
muted
#827D7E