#BA4EA8#BA4EA8

#BA4EA8 es un color medio y vivo de la familia rosa. Luminancia relativa 0.187; OKLCH L 59.5% C 0.175 H 334.5°. El mejor color de texto es #000000 con contraste 4.74:1 (cumple WCAG AA).

Valores del color

HEX#BA4EA8
RGBrgb(186, 78, 168)
HSLhsl(310, 44%, 52%)
HSVhsv(310, 58%, 73%)
CMYKcmyk(0%, 58.1%, 9.7%, 27.1%)
CIE-LABlab(50.35, 54.58, -27.71)
CIE-LCHlch(50.35, 61.21, 333.08°)
OKLaboklab(59.47% 0.158 -0.0754)
OKLCHoklch(59.47% 0.175 334.5)
XYZxyz(30.0421, 18.7173, 39.0687)
Luminance0.1872 (WCAG relative)
Temperatureneutral
Familypink

Colores con nombre más cercanos

Escalas perceptuales

Sombras

Matices

Tonos

OKLCH scale

Armonías de color

complementary
#BA4EA8 #4EBA60
analogous
#964EBA #BA4EA8 #BA4E72
triadic
#BA4EA8 #A8BA4E #4EA8BA
tetradic
#BA4EA8 #BA964E #4EBA60 #4E72BA
square
#BA4EA8 #BA964E #4EBA60 #4E72BA
split-complementary
#BA4EA8 #72BA4E #4EBA96
monochromatic
#66285C #923983 #BA4EA8 #CB7ABE #DCA6D3

Accesibilidad y contraste

On white

4.43
#BA4EA8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.74
#BA4EA8 on #000000
AA ✓AA large ✓AAA ✗

Mejor color de texto

#000000 on #BA4EA8
4.74:1 — WCAG AA (texto normal) cumple

Matriz de contraste

fg \ bg##BA4EA8#FFFFFF#000000##000000
##BA4EA81.004.434.744.74
#FFFFFF4.431.0021.0021.00
#0000004.7421.001.001.00
##0000004.7421.001.001.00

Vista previa de daltonismo

Protanopia (red-blind)
#4D6EAB
Deuteranopia (green-blind)
#6E7EA5
Tritanopia (blue-blind)
#C25574
Achromatopsia (no color)
#787878

Tokens de diseño y código

CSS
--color: #ba4ea8;
/* rgb */ color: rgb(186, 78, 168);
/* oklch */ color: oklch(59.5% 0.175 334.5);
Tailwind
colors: {
  custom: {
    50: '#d185c2',
    500: '#ba4ea8',
    950: '#000000',
  },
}
SCSS
$custom: #ba4ea8;
$custom-light: #d185c2;
$custom-dark: #000000;
JSON
{
  "hex": "#ba4ea8",
  "rgb": {
    "r": 186,
    "g": 78,
    "b": 168
  },
  "hsl": {
    "h": 310,
    "s": 43.902,
    "l": 51.765
  },
  "oklch": {
    "l": 0.59468,
    "c": 0.17506,
    "h": 334.5
  },
  "luminance": 0.18715
}

Semantic roles & 50–950 ramp

primary
#BA4EA8
secondary
#9ACAA2
accent
#D46954
background
#FDF8FB
surface
#FAF0F7
border
#D3CBD0
text
#140B12
muted
#837C81

Laboratorio de vista previa

Vista previa con #BA4EA8

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

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

#BA4EA8 — Tintiva