#BA254B#BA254B
#BA254B is a mid, vivid pink. Relative luminance 0.123; OKLCH L 52.0% C 0.183 H 12.5°. Best body text is #FFFFFF at 6.08:1 contrast (WCAG AA passes).
Color values
| HEX | #BA254B |
|---|---|
| RGB | rgb(186, 37, 75) |
| HSL | hsl(345, 67%, 44%) |
| HSV | hsv(345, 80%, 73%) |
| CMYK | cmyk(0%, 80.1%, 59.7%, 27.1%) |
| CIE-LAB | lab(41.65, 59.37, 16.13) |
| CIE-LCH | lch(41.65, 61.52, 15.20°) |
| OKLab | oklab(52.04% 0.1791 0.0398) |
| OKLCH | oklch(52.04% 0.183 12.5) |
| XYZ | xyz(22.1836, 12.2736, 7.8562) |
| Luminance | 0.1227 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Ruby
#CA0147
ΔE00 2.98
Rose Red
#BE013C
ΔE00 3.67
Raspberry (survey)
#B00149
ΔE00 4.69
Purplish Red
#B0054B
ΔE00 4.81
Rouge
#AB1239
ΔE00 4.86
Lipstick
#D5174E
ΔE00 5.05
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BA254B #25BA94
analogous
#BA2595 #BA254B #BA4925
triadic
#BA254B #4BBA25 #254BBA
tetradic
#BA254B #95BA25 #25BA94 #4925BA
square
#BA254B #95BA25 #25BA94 #4925BA
split-complementary
#BA254B #25BA49 #2595BA
monochromatic
#541122 #871B36 #BA254B #DA4369 #E47692
Accessibility & contrast
On white
6.08
#BA254B on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.45
#BA254B on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #BA254B
6.08:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BA254B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##BA254B | 1.00 | 6.08 | 3.45 | 6.08 |
| #FFFFFF | 6.08 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.45 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.08 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#504F4B
Deuteranopia (green-blind)
#766D47
Tritanopia (blue-blind)
#CC0036
Achromatopsia (no color)
#626262
Design tokens & code
CSS
--color: #ba254b; /* rgb */ color: rgb(186, 37, 75); /* oklch */ color: oklch(52.0% 0.183 12.5);
Tailwind
colors: {
custom: {
50: '#d66f7c',
500: '#ba254b',
950: '#000000',
},
}SCSS
$custom: #ba254b; $custom-light: #d66f7c; $custom-dark: #000000;
JSON
{
"hex": "#ba254b",
"rgb": {
"r": 186,
"g": 37,
"b": 75
},
"hsl": {
"h": 344.698,
"s": 66.816,
"l": 43.725
},
"oklch": {
"l": 0.52038,
"c": 0.18347,
"h": 12.5
},
"luminance": 0.1227
}Semantic roles & 50–950 ramp
primary
#BA254B
secondary
#70CBB4
accent
#EABE3E
background
#FEF7F7
surface
#FCEDEE
border
#D5C8C9
text
#160809
muted
#847B7B