#BA2AB2#BA2AB2

#BA2AB2 es un color medio y muy saturado de la familia purple. Luminancia relativa 0.153; OKLCH L 56.5% C 0.227 H 330.6°. El mejor color de texto es #FFFFFF con contraste 5.17:1 (cumple WCAG AA).

Valores del color

HEX#BA2AB2
RGBrgb(186, 42, 178)
HSLhsl(303, 63%, 45%)
HSVhsv(303, 77%, 73%)
CMYKcmyk(0%, 77.4%, 4.3%, 27.1%)
CIE-LABlab(46.06, 69.55, -40.34)
CIE-LCHlch(46.06, 80.41, 329.89°)
OKLaboklab(56.51% 0.1978 -0.1114)
OKLCHoklch(56.51% 0.227 330.6)
XYZxyz(29.1135, 15.3117, 43.5330)
Luminance0.1531 (WCAG relative)
Temperatureneutral
Familypurple

Colores con nombre más cercanos

Escalas perceptuales

Sombras

Matices

Tonos

OKLCH scale

Armonías de color

complementary
#BA2AB2 #2ABA32
analogous
#7A2ABA #BA2AB2 #BA2A6A
triadic
#BA2AB2 #B2BA2A #2AB2BA
tetradic
#BA2AB2 #BA7A2A #2ABA32 #2A6ABA
square
#BA2AB2 #BA7A2A #2ABA32 #2A6ABA
split-complementary
#BA2AB2 #6ABA2A #2ABA7A
monochromatic
#561352 #881F82 #BA2AB2 #D64BCF #E27DDC

Accesibilidad y contraste

On white

5.17
#BA2AB2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.06
#BA2AB2 on #000000
AA ✗AA large ✓AAA ✗

Mejor color de texto

#FFFFFF on #BA2AB2
5.17:1 — WCAG AA (texto normal) cumple

Matriz de contraste

fg \ bg##BA2AB2#FFFFFF#000000##FFFFFF
##BA2AB21.005.174.065.17
#FFFFFF5.171.0021.001.00
#0000004.0621.001.0021.00
##FFFFFF5.171.0021.001.00

Vista previa de daltonismo

Protanopia (red-blind)
#1661B6
Deuteranopia (green-blind)
#5974AF
Tritanopia (blue-blind)
#C13E6D
Achromatopsia (no color)
#6D6D6D

Tokens de diseño y código

CSS
--color: #ba2ab2;
/* rgb */ color: rgb(186, 42, 178);
/* oklch */ color: oklch(56.5% 0.227 330.6);
Tailwind
colors: {
  custom: {
    50: '#d375c9',
    500: '#ba2ab2',
    950: '#000000',
  },
}
SCSS
$custom: #ba2ab2;
$custom-light: #d375c9;
$custom-dark: #000000;
JSON
{
  "hex": "#ba2ab2",
  "rgb": {
    "r": 186,
    "g": 42,
    "b": 178
  },
  "hsl": {
    "h": 303.333,
    "s": 63.158,
    "l": 44.706
  },
  "oklch": {
    "l": 0.56514,
    "c": 0.22698,
    "h": 330.6
  },
  "luminance": 0.15309
}

Semantic roles & 50–950 ramp

primary
#BA2AB2
secondary
#76CA7B
accent
#E64B42
background
#FDF7FC
surface
#FBEEF8
border
#D4C9D1
text
#150913
muted
#837B82

Laboratorio de vista previa

Vista previa con #BA2AB2

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

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

#BA2AB2 — Tintiva