#AB2AA2#AB2AA2

#AB2AA2 es un color medio y muy saturado de la familia purple. Luminancia relativa 0.129; OKLCH L 53.3% C 0.208 H 331.2°. El mejor color de texto es #FFFFFF con contraste 5.86:1 (cumple WCAG AA).

Valores del color

HEX#AB2AA2
RGBrgb(171, 42, 162)
HSLhsl(304, 61%, 42%)
HSVhsv(304, 75%, 67%)
CMYKcmyk(0%, 75.4%, 5.3%, 32.9%)
CIE-LABlab(42.65, 63.86, -36.40)
CIE-LCHlch(42.65, 73.51, 330.32°)
OKLaboklab(53.31% 0.1822 -0.1003)
OKLCHoklch(53.31% 0.208 331.2)
XYZxyz(24.1441, 12.9244, 35.3985)
Luminance0.1292 (WCAG relative)
Temperatureneutral
Familypurple

Colores con nombre más cercanos

Escalas perceptuales

Sombras

Matices

Tonos

OKLCH scale

Armonías de color

complementary
#AB2AA2 #2AAB33
analogous
#742AAB #AB2AA2 #AB2A62
triadic
#AB2AA2 #A2AB2A #2AA2AB
tetradic
#AB2AA2 #AB742A #2AAB33 #2A62AB
square
#AB2AA2 #AB742A #2AAB33 #2A62AB
split-complementary
#AB2AA2 #62AB2A #2AAB74
monochromatic
#491245 #7A1E73 #AB2AA2 #D142C7 #DD73D5

Accesibilidad y contraste

On white

5.86
#AB2AA2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.58
#AB2AA2 on #000000
AA ✗AA large ✓AAA ✗

Mejor color de texto

#FFFFFF on #AB2AA2
5.86:1 — WCAG AA (texto normal) cumple

Matriz de contraste

fg \ bg##AB2AA2#FFFFFF#000000##FFFFFF
##AB2AA21.005.863.585.86
#FFFFFF5.861.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.861.0021.001.00

Vista previa de daltonismo

Protanopia (red-blind)
#1D59A5
Deuteranopia (green-blind)
#536B9F
Tritanopia (blue-blind)
#B23A64
Achromatopsia (no color)
#656565

Tokens de diseño y código

CSS
--color: #ab2aa2;
/* rgb */ color: rgb(171, 42, 162);
/* oklch */ color: oklch(53.3% 0.208 331.2);
Tailwind
colors: {
  custom: {
    50: '#c872be',
    500: '#ab2aa2',
    950: '#000000',
  },
}
SCSS
$custom: #ab2aa2;
$custom-light: #c872be;
$custom-dark: #000000;
JSON
{
  "hex": "#ab2aa2",
  "rgb": {
    "r": 171,
    "g": 42,
    "b": 162
  },
  "hsl": {
    "h": 304.186,
    "s": 60.563,
    "l": 41.765
  },
  "oklch": {
    "l": 0.53314,
    "c": 0.20801,
    "h": 331.2
  },
  "luminance": 0.12922
}

Semantic roles & 50–950 ramp

primary
#AB2AA2
secondary
#6DC473
accent
#E44F44
background
#FCF7FB
surface
#F9EDF7
border
#D2C8D0
text
#140912
muted
#827B81

Laboratorio de vista previa

Vista previa con #AB2AA2

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

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

#AB2AA2 — Tintiva