#BA284D#BA284D
#BA284D is a mid, vivid pink. Relative luminance 0.125; OKLCH L 52.3% C 0.181 H 12.1°. Best body text is #FFFFFF at 6.00:1 contrast (WCAG AA passes).
Color values
| HEX | #BA284D |
|---|---|
| RGB | rgb(186, 40, 77) |
| HSL | hsl(345, 65%, 44%) |
| HSV | hsv(345, 78%, 73%) |
| CMYK | cmyk(0%, 78.5%, 58.6%, 27.1%) |
| CIE-LAB | lab(41.99, 58.64, 15.34) |
| CIE-LCH | lch(41.99, 60.62, 14.66°) |
| OKLab | oklab(52.31% 0.1771 0.0381) |
| OKLCH | oklch(52.31% 0.181 12.1) |
| XYZ | xyz(22.3503, 12.4958, 8.2548) |
| Luminance | 0.1249 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Ruby
#CA0147
ΔE00 3.20
Rose Red
#BE013C
ΔE00 4.14
Raspberry (survey)
#B00149
ΔE00 4.81
Purplish Red
#B0054B
ΔE00 4.89
Lipstick
#D5174E
ΔE00 5.01
Rouge
#AB1239
ΔE00 5.28
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BA284D #28BA95
analogous
#BA2896 #BA284D #BA4C28
triadic
#BA284D #4DBA28 #284DBA
tetradic
#BA284D #96BA28 #28BA95 #4C28BA
square
#BA284D #96BA28 #28BA95 #4C28BA
split-complementary
#BA284D #28BA4C #2896BA
monochromatic
#551223 #881D38 #BA284D #D8486C #E27A94
Accessibility & contrast
On white
6.00
#BA284D on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.50
#BA284D on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #BA284D
6.00:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BA284D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##BA284D | 1.00 | 6.00 | 3.50 | 6.00 |
| #FFFFFF | 6.00 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.50 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.00 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#51504D
Deuteranopia (green-blind)
#766E49
Tritanopia (blue-blind)
#CC0038
Achromatopsia (no color)
#636363
Design tokens & code
CSS
--color: #ba284d; /* rgb */ color: rgb(186, 40, 77); /* oklch */ color: oklch(52.3% 0.181 12.1);
Tailwind
colors: {
custom: {
50: '#d6707e',
500: '#ba284d',
950: '#000000',
},
}SCSS
$custom: #ba284d; $custom-light: #d6707e; $custom-dark: #000000;
JSON
{
"hex": "#ba284d",
"rgb": {
"r": 186,
"g": 40,
"b": 77
},
"hsl": {
"h": 344.795,
"s": 64.602,
"l": 44.314
},
"oklch": {
"l": 0.52307,
"c": 0.18116,
"h": 12.1
},
"luminance": 0.12493
}Semantic roles & 50–950 ramp
primary
#BA284D
secondary
#73CAB4
accent
#E8BD40
background
#FEF7F7
surface
#FCEDEE
border
#D5C8C9
text
#160809
muted
#847B7B