#AB4987#AB4987

#AB4987 es un color medio y vivo de la familia rosa. Luminancia relativa 0.152; OKLCH L 55.3% C 0.147 H 344.1°. El mejor color de texto es #FFFFFF con contraste 5.21:1 (cumple WCAG AA).

Valores del color

HEX#AB4987
RGBrgb(171, 73, 135)
HSLhsl(322, 40%, 48%)
HSVhsv(322, 57%, 67%)
CMYKcmyk(0%, 57.3%, 21.1%, 32.9%)
CIE-LABlab(45.87, 47.36, -15.14)
CIE-LCHlch(45.87, 49.72, 342.27°)
OKLaboklab(55.26% 0.1416 -0.0402)
OKLCHoklch(55.26% 0.147 344.1)
XYZxyz(23.5509, 15.1743, 24.6056)
Luminance0.1517 (WCAG relative)
Temperaturewarm
Familypink

Colores con nombre más cercanos

Escalas perceptuales

Sombras

Matices

Tonos

OKLCH scale

Armonías de color

complementary
#AB4987 #49AB6D
analogous
#9E49AB #AB4987 #AB4956
triadic
#AB4987 #87AB49 #4987AB
tetradic
#AB4987 #AB9E49 #49AB6D #4956AB
square
#AB4987 #AB9E49 #49AB6D #4956AB
split-complementary
#AB4987 #56AB49 #49AB9E
monochromatic
#552443 #803765 #AB4987 #C26FA4 #D49ABF

Accesibilidad y contraste

On white

5.21
#AB4987 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.03
#AB4987 on #000000
AA ✗AA large ✓AAA ✗

Mejor color de texto

#FFFFFF on #AB4987
5.21:1 — WCAG AA (texto normal) cumple

Matriz de contraste

fg \ bg##AB4987#FFFFFF#000000##FFFFFF
##AB49871.005.214.035.21
#FFFFFF5.211.0021.001.00
#0000004.0321.001.0021.00
##FFFFFF5.211.0021.001.00

Vista previa de daltonismo

Protanopia (red-blind)
#516289
Deuteranopia (green-blind)
#6D7385
Tritanopia (blue-blind)
#B54962
Achromatopsia (no color)
#6D6D6D

Tokens de diseño y código

CSS
--color: #ab4987;
/* rgb */ color: rgb(171, 73, 135);
/* oklch */ color: oklch(55.3% 0.147 344.1);
Tailwind
colors: {
  custom: {
    50: '#c780aa',
    500: '#ab4987',
    950: '#000000',
  },
}
SCSS
$custom: #ab4987;
$custom-light: #c780aa;
$custom-dark: #000000;
JSON
{
  "hex": "#ab4987",
  "rgb": {
    "r": 171,
    "g": 73,
    "b": 135
  },
  "hsl": {
    "h": 322.041,
    "s": 40.164,
    "l": 47.843
  },
  "oklch": {
    "l": 0.55261,
    "c": 0.14723,
    "h": 344.1
  },
  "luminance": 0.15172
}

Semantic roles & 50–950 ramp

primary
#AB4987
secondary
#8FC0A1
accent
#D08458
background
#FCF8FA
surface
#F8EFF4
border
#D1CACE
text
#130B10
muted
#827C7F

Laboratorio de vista previa

Vista previa con #AB4987

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

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

#AB4987 — Tintiva