#BA254E#BA254E
#BA254E is a mid, vivid pink. Relative luminance 0.123; OKLCH L 52.1% C 0.184 H 11.2°. Best body text is #FFFFFF at 6.07:1 contrast (WCAG AA passes).
Color values
| HEX | #BA254E |
|---|---|
| RGB | rgb(186, 37, 78) |
| HSL | hsl(343, 67%, 44%) |
| HSV | hsv(343, 80%, 73%) |
| CMYK | cmyk(0%, 80.1%, 58.1%, 27.1%) |
| CIE-LAB | lab(41.71, 59.57, 14.33) |
| CIE-LCH | lch(41.71, 61.27, 13.53°) |
| OKLab | oklab(52.11% 0.1803 0.0357) |
| OKLCH | oklch(52.11% 0.184 11.2) |
| XYZ | xyz(22.2887, 12.3156, 8.4098) |
| Luminance | 0.1231 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Ruby
#CA0147
ΔE00 3.41
Raspberry (survey)
#B00149
ΔE00 4.28
Purplish Red
#B0054B
ΔE00 4.32
Rose Red
#BE013C
ΔE00 4.45
Lipstick
#D5174E
ΔE00 5.30
Light Burgundy
#A8415B
ΔE00 5.33
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BA254E #25BA91
analogous
#BA2598 #BA254E #BA4625
triadic
#BA254E #4EBA25 #254EBA
tetradic
#BA254E #98BA25 #25BA91 #4625BA
square
#BA254E #98BA25 #25BA91 #4625BA
split-complementary
#BA254E #25BA46 #2598BA
monochromatic
#541123 #871B39 #BA254E #DA436C #E47694
Accessibility & contrast
On white
6.07
#BA254E on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.46
#BA254E on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #BA254E
6.07:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BA254E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##BA254E | 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)
#4F4F4F
Deuteranopia (green-blind)
#756D4A
Tritanopia (blue-blind)
#CC0037
Achromatopsia (no color)
#626262
Design tokens & code
CSS
--color: #ba254e; /* rgb */ color: rgb(186, 37, 78); /* oklch */ color: oklch(52.1% 0.184 11.2);
Tailwind
colors: {
custom: {
50: '#d66f7f',
500: '#ba254e',
950: '#000000',
},
}SCSS
$custom: #ba254e; $custom-light: #d66f7f; $custom-dark: #000000;
JSON
{
"hex": "#ba254e",
"rgb": {
"r": 186,
"g": 37,
"b": 78
},
"hsl": {
"h": 343.49,
"s": 66.816,
"l": 43.725
},
"oklch": {
"l": 0.52108,
"c": 0.18377,
"h": 11.2
},
"luminance": 0.12312
}Semantic roles & 50–950 ramp
primary
#BA254E
secondary
#70CBB2
accent
#EABA3E
background
#FEF7F7
surface
#FCEDEE
border
#D5C8C9
text
#16080A
muted
#847B7C