#BA627C#BA627C
#BA627C is a mid, moderate pink. Relative luminance 0.206; OKLCH L 60.6% C 0.116 H 2.3°. Best body text is #000000 at 5.13:1 contrast (WCAG AA passes).
Color values
| HEX | #BA627C |
|---|---|
| RGB | rgb(186, 98, 124) |
| HSL | hsl(342, 39%, 56%) |
| HSV | hsv(342, 47%, 73%) |
| CMYK | cmyk(0%, 47.3%, 33.3%, 27.1%) |
| CIE-LAB | lab(52.54, 38.26, 1.61) |
| CIE-LCH | lch(52.54, 38.29, 2.41°) |
| OKLab | oklab(60.59% 0.1161 0.0047) |
| OKLCH | oklch(60.59% 0.116 2.3) |
| XYZ | xyz(28.2567, 20.6322, 21.5591) |
| Luminance | 0.2063 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Dusky Rose
#BA6873
ΔE00 4.72
Mauve (survey)
#AE7181
ΔE00 5.25
Rose (survey)
#CF6275
ΔE00 5.77
Pinkish
#D46A7E
ΔE00 6.52
Blush
#DE5D83
ΔE00 6.77
Deep Rose
#C74767
ΔE00 7.04
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BA627C #62BAA0
analogous
#BA62A8 #BA627C #BA7462
triadic
#BA627C #7CBA62 #627CBA
tetradic
#BA627C #A8BA62 #62BAA0 #7462BA
square
#BA627C #A8BA62 #62BAA0 #7462BA
split-complementary
#BA627C #62BA74 #62A8BA
monochromatic
#703144 #9B445E #BA627C #CD8D9F #DFB7C3
Accessibility & contrast
On white
4.10
#BA627C on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.13
#BA627C on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #BA627C
5.13:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BA627C | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##BA627C | 1.00 | 4.10 | 5.13 | 5.13 |
| #FFFFFF | 4.10 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.13 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.13 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#70737D
Deuteranopia (green-blind)
#86847A
Tritanopia (blue-blind)
#C75B6B
Achromatopsia (no color)
#7D7D7D
Design tokens & code
CSS
--color: #ba627c; /* rgb */ color: rgb(186, 98, 124); /* oklch */ color: oklch(60.6% 0.116 2.3);
Tailwind
colors: {
custom: {
50: '#d191a1',
500: '#ba627c',
950: '#000000',
},
}SCSS
$custom: #ba627c; $custom-light: #d191a1; $custom-dark: #000000;
JSON
{
"hex": "#ba627c",
"rgb": {
"r": 186,
"g": 98,
"b": 124
},
"hsl": {
"h": 342.273,
"s": 38.938,
"l": 55.686
},
"oklch": {
"l": 0.60585,
"c": 0.1162,
"h": 2.3
},
"luminance": 0.2063
}Semantic roles & 50–950 ramp
primary
#BA627C
secondary
#AACEC3
accent
#CFAC59
background
#FDF9F9
surface
#FAF1F2
border
#D3CBCC
text
#140D0F
muted
#837E7E