#BA2A98#BA2A98
#BA2A98 es un color medio y muy saturado de la familia rosa. Luminancia relativa 0.144; OKLCH L 55.2% C 0.209 H 339.6°. El mejor color de texto es #FFFFFF con contraste 5.42:1 (cumple WCAG AA).
Valores del color
| HEX | #BA2A98 |
|---|---|
| RGB | rgb(186, 42, 152) |
| HSL | hsl(314, 63%, 45%) |
| HSV | hsv(314, 77%, 73%) |
| CMYK | cmyk(0%, 77.4%, 18.3%, 27.1%) |
| CIE-LAB | lab(44.75, 65.79, -26.92) |
| CIE-LCH | lch(44.75, 71.08, 337.75°) |
| OKLab | oklab(55.15% 0.1962 -0.0728) |
| OKLCH | oklch(55.15% 0.209 339.6) |
| XYZ | xyz(26.7459, 14.3647, 31.0638) |
| Luminance | 0.1436 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Colores con nombre más cercanos
Mediumvioletred
#C71585
ΔE00 5.01
Ugly Purple
#A442A0
ΔE00 5.08
Medium Purple
#9E43A2
ΔE00 6.36
Purpley Pink
#C83CB9
ΔE00 6.85
Magenta (survey)
#C20078
ΔE00 7.00
Warm Purple
#952E8F
ΔE00 7.27
Escalas perceptuales
Sombras
Matices
Tonos
OKLCH scale
Armonías de color
complementary
#BA2A98 #2ABA4C
analogous
#942ABA #BA2A98 #BA2A50
triadic
#BA2A98 #98BA2A #2A98BA
tetradic
#BA2A98 #BA942A #2ABA4C #2A50BA
square
#BA2A98 #BA942A #2ABA4C #2A50BA
split-complementary
#BA2A98 #50BA2A #2ABA94
monochromatic
#561346 #881F6F #BA2A98 #D64BB5 #E27DCA
Accesibilidad y contraste
On white
5.42
#BA2A98 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.87
#BA2A98 on #000000
AA ✗AA large ✓AAA ✗
Mejor color de texto
#FFFFFF on #BA2A98
5.42:1 — WCAG AA (texto normal) cumple
Matriz de contraste
| fg \ bg | ##BA2A98 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##BA2A98 | 1.00 | 5.42 | 3.87 | 5.42 |
| #FFFFFF | 5.42 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.87 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.42 | 1.00 | 21.00 | 1.00 |
Vista previa de daltonismo
Protanopia (red-blind)
#345B9B
Deuteranopia (green-blind)
#647295
Tritanopia (blue-blind)
#C5305F
Achromatopsia (no color)
#6A6A6A
Tokens de diseño y código
CSS
--color: #ba2a98; /* rgb */ color: rgb(186, 42, 152); /* oklch */ color: oklch(55.2% 0.209 339.6);
Tailwind
colors: {
custom: {
50: '#d374b6',
500: '#ba2a98',
950: '#000000',
},
}SCSS
$custom: #ba2a98; $custom-light: #d374b6; $custom-dark: #000000;
JSON
{
"hex": "#ba2a98",
"rgb": {
"r": 186,
"g": 42,
"b": 152
},
"hsl": {
"h": 314.167,
"s": 63.158,
"l": 44.706
},
"oklch": {
"l": 0.55152,
"c": 0.20925,
"h": 339.6
},
"luminance": 0.14362
}Semantic roles & 50–950 ramp
primary
#BA2A98
secondary
#76CA8A
accent
#E66842
background
#FDF7FB
surface
#FBEDF6
border
#D4C8D0
text
#150911
muted
#837B80
Laboratorio de vista previa
Laboratorio de vista previa → · Comprobador de contraste → · Generador de paletas →