#BA2AB4#BA2AB4

#BA2AB4 es un color medio y muy saturado de la familia purple. Luminancia relativa 0.154; OKLCH L 56.6% C 0.228 H 330.0°. El mejor color de texto es #FFFFFF con contraste 5.15:1 (cumple WCAG AA).

Valores del color

HEX#BA2AB4
RGBrgb(186, 42, 180)
HSLhsl(303, 63%, 45%)
HSVhsv(303, 77%, 73%)
CMYKcmyk(0%, 77.4%, 3.2%, 27.1%)
CIE-LABlab(46.17, 69.86, -41.35)
CIE-LCHlch(46.17, 81.18, 329.38°)
OKLaboklab(56.63% 0.1978 -0.1143)
OKLCHoklch(56.63% 0.228 330)
XYZxyz(29.3157, 15.3926, 44.5982)
Luminance0.1539 (WCAG relative)
Temperatureneutral
Familypurple

Colores con nombre más cercanos

Escalas perceptuales

Sombras

Matices

Tonos

OKLCH scale

Armonías de color

complementary
#BA2AB4 #2ABA30
analogous
#782ABA #BA2AB4 #BA2A6C
triadic
#BA2AB4 #B4BA2A #2AB4BA
tetradic
#BA2AB4 #BA782A #2ABA30 #2A6CBA
square
#BA2AB4 #BA782A #2ABA30 #2A6CBA
split-complementary
#BA2AB4 #6CBA2A #2ABA78
monochromatic
#561353 #881F84 #BA2AB4 #D64BD1 #E27DDD

Accesibilidad y contraste

On white

5.15
#BA2AB4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.08
#BA2AB4 on #000000
AA ✗AA large ✓AAA ✗

Mejor color de texto

#FFFFFF on #BA2AB4
5.15:1 — WCAG AA (texto normal) cumple

Matriz de contraste

fg \ bg##BA2AB4#FFFFFF#000000##FFFFFF
##BA2AB41.005.154.085.15
#FFFFFF5.151.0021.001.00
#0000004.0821.001.0021.00
##FFFFFF5.151.0021.001.00

Vista previa de daltonismo

Protanopia (red-blind)
#1161B8
Deuteranopia (green-blind)
#5774B1
Tritanopia (blue-blind)
#C13F6E
Achromatopsia (no color)
#6D6D6D

Tokens de diseño y código

CSS
--color: #ba2ab4;
/* rgb */ color: rgb(186, 42, 180);
/* oklch */ color: oklch(56.6% 0.228 330.0);
Tailwind
colors: {
  custom: {
    50: '#d375cb',
    500: '#ba2ab4',
    950: '#000000',
  },
}
SCSS
$custom: #ba2ab4;
$custom-light: #d375cb;
$custom-dark: #000000;
JSON
{
  "hex": "#ba2ab4",
  "rgb": {
    "r": 186,
    "g": 42,
    "b": 180
  },
  "hsl": {
    "h": 302.5,
    "s": 63.158,
    "l": 44.706
  },
  "oklch": {
    "l": 0.56627,
    "c": 0.22841,
    "h": 330
  },
  "luminance": 0.1539
}

Semantic roles & 50–950 ramp

primary
#BA2AB4
secondary
#76CA79
accent
#E64842
background
#FDF7FC
surface
#FBEEF8
border
#D4C9D1
text
#150913
muted
#837B82

Laboratorio de vista previa

Vista previa con #BA2AB4

Body copy rendered with the generated semantic roles for this colour.

Laboratorio de vista previa → · Comprobador de contraste → · Generador de paletas →

#BA2AB4 — Tintiva