#BA2867#BA2867
#BA2867 is a mid, vivid pink. Relative luminance 0.129; OKLCH L 53.0% C 0.187 H 0.2°. Best body text is #FFFFFF at 5.85:1 contrast (WCAG AA passes).
Color values
| HEX | #BA2867 |
|---|---|
| RGB | rgb(186, 40, 103) |
| HSL | hsl(334, 65%, 44%) |
| HSV | hsv(334, 78%, 73%) |
| CMYK | cmyk(0%, 78.5%, 44.6%, 27.1%) |
| CIE-LAB | lab(42.67, 60.74, -0.01) |
| CIE-LCH | lch(42.67, 60.74, 359.99°) |
| OKLab | oklab(53.03% 0.1866 0.0007) |
| OKLCH | oklch(53.03% 0.187 0.2) |
| XYZ | xyz(23.4585, 12.9391, 14.0915) |
| Luminance | 0.1294 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Deep Pink
#CB0162
ΔE00 3.43
Magenta (survey)
#C20078
ΔE00 4.99
Dark Hot Pink
#D90166
ΔE00 5.79
Light Burgundy
#A8415B
ΔE00 6.12
Violet Red
#A50055
ΔE00 6.38
Purplish Red
#B0054B
ΔE00 6.51
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BA2867 #28BA7B
analogous
#BA28B0 #BA2867 #BA3228
triadic
#BA2867 #67BA28 #2867BA
tetradic
#BA2867 #B0BA28 #28BA7B #3228BA
square
#BA2867 #B0BA28 #28BA7B #3228BA
split-complementary
#BA2867 #28BA32 #28B0BA
monochromatic
#55122F #881D4B #BA2867 #D84886 #E27AA7
Accessibility & contrast
On white
5.85
#BA2867 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.59
#BA2867 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #BA2867
5.85:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BA2867 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##BA2867 | 1.00 | 5.85 | 3.59 | 5.85 |
| #FFFFFF | 5.85 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.59 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.85 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4A5368
Deuteranopia (green-blind)
#726F64
Tritanopia (blue-blind)
#CA0444
Achromatopsia (no color)
#656565
Design tokens & code
CSS
--color: #ba2867; /* rgb */ color: rgb(186, 40, 103); /* oklch */ color: oklch(53.0% 0.187 0.2);
Tailwind
colors: {
custom: {
50: '#d47192',
500: '#ba2867',
950: '#000000',
},
}SCSS
$custom: #ba2867; $custom-light: #d47192; $custom-dark: #000000;
JSON
{
"hex": "#ba2867",
"rgb": {
"r": 186,
"g": 40,
"b": 103
},
"hsl": {
"h": 334.11,
"s": 64.602,
"l": 44.314
},
"oklch": {
"l": 0.53027,
"c": 0.18664,
"h": 0.2
},
"luminance": 0.12936
}Semantic roles & 50–950 ramp
primary
#BA2867
secondary
#73CAA5
accent
#E89F40
background
#FDF7F8
surface
#FBEDF0
border
#D4C8CB
text
#15090C
muted
#837B7D