#BA254C#BA254C
#BA254C is a mid, vivid pink. Relative luminance 0.123; OKLCH L 52.1% C 0.184 H 12.1°. Best body text is #FFFFFF at 6.07:1 contrast (WCAG AA passes).
Color values
| HEX | #BA254C |
|---|---|
| RGB | rgb(186, 37, 76) |
| HSL | hsl(344, 67%, 44%) |
| HSV | hsv(344, 80%, 73%) |
| CMYK | cmyk(0%, 80.1%, 59.1%, 27.1%) |
| CIE-LAB | lab(41.67, 59.43, 15.53) |
| CIE-LCH | lch(41.67, 61.43, 14.65°) |
| OKLab | oklab(52.06% 0.1795 0.0385) |
| OKLCH | oklch(52.06% 0.184 12.1) |
| XYZ | xyz(22.2180, 12.2874, 8.0379) |
| Luminance | 0.1228 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Ruby
#CA0147
ΔE00 3.10
Rose Red
#BE013C
ΔE00 3.93
Raspberry (survey)
#B00149
ΔE00 4.53
Purplish Red
#B0054B
ΔE00 4.63
Rouge
#AB1239
ΔE00 5.03
Lipstick
#D5174E
ΔE00 5.12
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BA254C #25BA93
analogous
#BA2596 #BA254C #BA4825
triadic
#BA254C #4CBA25 #254CBA
tetradic
#BA254C #96BA25 #25BA93 #4825BA
square
#BA254C #96BA25 #25BA93 #4825BA
split-complementary
#BA254C #25BA48 #2596BA
monochromatic
#541122 #871B37 #BA254C #DA436A #E47692
Accessibility & contrast
On white
6.07
#BA254C on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.46
#BA254C on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #BA254C
6.07:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BA254C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##BA254C | 1.00 | 6.07 | 3.46 | 6.07 |
| #FFFFFF | 6.07 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.46 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.07 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#504F4C
Deuteranopia (green-blind)
#766D48
Tritanopia (blue-blind)
#CC0036
Achromatopsia (no color)
#626262
Design tokens & code
CSS
--color: #ba254c; /* rgb */ color: rgb(186, 37, 76); /* oklch */ color: oklch(52.1% 0.184 12.1);
Tailwind
colors: {
custom: {
50: '#d66f7d',
500: '#ba254c',
950: '#000000',
},
}SCSS
$custom: #ba254c; $custom-light: #d66f7d; $custom-dark: #000000;
JSON
{
"hex": "#ba254c",
"rgb": {
"r": 186,
"g": 37,
"b": 76
},
"hsl": {
"h": 344.295,
"s": 66.816,
"l": 43.725
},
"oklch": {
"l": 0.52061,
"c": 0.18356,
"h": 12.1
},
"luminance": 0.12284
}Semantic roles & 50–950 ramp
primary
#BA254C
secondary
#70CBB3
accent
#EABD3E
background
#FEF7F7
surface
#FCEDEE
border
#D5C8C9
text
#160809
muted
#847B7B