#BA254F#BA254F
#BA254F is a mid, vivid pink. Relative luminance 0.123; OKLCH L 52.1% C 0.184 H 10.8°. Best body text is #FFFFFF at 6.06:1 contrast (WCAG AA passes).
Color values
| HEX | #BA254F |
|---|---|
| RGB | rgb(186, 37, 79) |
| HSL | hsl(343, 67%, 44%) |
| HSV | hsv(343, 80%, 73%) |
| CMYK | cmyk(0%, 80.1%, 57.5%, 27.1%) |
| CIE-LAB | lab(41.74, 59.64, 13.73) |
| CIE-LCH | lch(41.74, 61.20, 12.97°) |
| OKLab | oklab(52.13% 0.1806 0.0344) |
| OKLCH | oklch(52.13% 0.184 10.8) |
| XYZ | xyz(22.3248, 12.3300, 8.6000) |
| Luminance | 0.1233 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Ruby
#CA0147
ΔE00 3.60
Raspberry (survey)
#B00149
ΔE00 4.18
Purplish Red
#B0054B
ΔE00 4.18
Rose Red
#BE013C
ΔE00 4.72
Light Burgundy
#A8415B
ΔE00 5.19
Lipstick
#D5174E
ΔE00 5.42
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BA254F #25BA90
analogous
#BA2599 #BA254F #BA4525
triadic
#BA254F #4FBA25 #254FBA
tetradic
#BA254F #99BA25 #25BA90 #4525BA
square
#BA254F #99BA25 #25BA90 #4525BA
split-complementary
#BA254F #25BA45 #2599BA
monochromatic
#541124 #871B39 #BA254F #DA436D #E47695
Accessibility & contrast
On white
6.06
#BA254F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.47
#BA254F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #BA254F
6.06:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BA254F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##BA254F | 1.00 | 6.06 | 3.47 | 6.06 |
| #FFFFFF | 6.06 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.47 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.06 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4F4F50
Deuteranopia (green-blind)
#756D4B
Tritanopia (blue-blind)
#CC0038
Achromatopsia (no color)
#626262
Design tokens & code
CSS
--color: #ba254f; /* rgb */ color: rgb(186, 37, 79); /* oklch */ color: oklch(52.1% 0.184 10.8);
Tailwind
colors: {
custom: {
50: '#d66f80',
500: '#ba254f',
950: '#000000',
},
}SCSS
$custom: #ba254f; $custom-light: #d66f80; $custom-dark: #000000;
JSON
{
"hex": "#ba254f",
"rgb": {
"r": 186,
"g": 37,
"b": 79
},
"hsl": {
"h": 343.087,
"s": 66.816,
"l": 43.725
},
"oklch": {
"l": 0.52132,
"c": 0.18388,
"h": 10.8
},
"luminance": 0.12327
}Semantic roles & 50–950 ramp
primary
#BA254F
secondary
#70CBB1
accent
#EAB93E
background
#FEF7F7
surface
#FCEDEE
border
#D5C8C9
text
#16080A
muted
#847B7C