#BA5EA8#BA5EA8

#BA5EA8 es un color medio y vivo de la familia rosa. Luminancia relativa 0.213; OKLCH L 61.6% C 0.149 H 335.1°. El mejor color de texto es #000000 con contraste 5.25:1 (cumple WCAG AA).

Valores del color

HEX#BA5EA8
RGBrgb(186, 94, 168)
HSLhsl(312, 40%, 55%)
HSVhsv(312, 49%, 73%)
CMYKcmyk(0%, 49.5%, 9.7%, 27.1%)
CIE-LABlab(53.25, 46.87, -23.24)
CIE-LCHlch(53.25, 52.32, 333.63°)
OKLaboklab(61.61% 0.1355 -0.0628)
OKLCHoklch(61.61% 0.149 335.1)
XYZxyz(31.3203, 21.2737, 39.4948)
Luminance0.2127 (WCAG relative)
Temperatureneutral
Familypink

Colores con nombre más cercanos

Escalas perceptuales

Sombras

Matices

Tonos

OKLCH scale

Armonías de color

complementary
#BA5EA8 #5EBA70
analogous
#9E5EBA #BA5EA8 #BA5E7A
triadic
#BA5EA8 #A8BA5E #5EA8BA
tetradic
#BA5EA8 #BA9E5E #5EBA70 #5E7ABA
square
#BA5EA8 #BA9E5E #5EBA70 #5E7ABA
split-complementary
#BA5EA8 #7ABA5E #5EBA9E
monochromatic
#6E2F62 #994288 #BA5EA8 #CC89BF #DFB4D6

Accesibilidad y contraste

On white

4.00
#BA5EA8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.25
#BA5EA8 on #000000
AA ✓AA large ✓AAA ✗

Mejor color de texto

#000000 on #BA5EA8
5.25:1 — WCAG AA (texto normal) cumple

Matriz de contraste

fg \ bg##BA5EA8#FFFFFF#000000##000000
##BA5EA81.004.005.255.25
#FFFFFF4.001.0021.0021.00
#0000005.2521.001.001.00
##0000005.2521.001.001.00

Vista previa de daltonismo

Protanopia (red-blind)
#5E77AB
Deuteranopia (green-blind)
#7884A5
Tritanopia (blue-blind)
#C2637B
Achromatopsia (no color)
#7F7F7F

Tokens de diseño y código

CSS
--color: #ba5ea8;
/* rgb */ color: rgb(186, 94, 168);
/* oklch */ color: oklch(61.6% 0.149 335.1);
Tailwind
colors: {
  custom: {
    50: '#d18fc2',
    500: '#ba5ea8',
    950: '#000000',
  },
}
SCSS
$custom: #ba5ea8;
$custom-light: #d18fc2;
$custom-dark: #000000;
JSON
{
  "hex": "#ba5ea8",
  "rgb": {
    "r": 186,
    "g": 94,
    "b": 168
  },
  "hsl": {
    "h": 311.739,
    "s": 40,
    "l": 54.902
  },
  "oklch": {
    "l": 0.61607,
    "c": 0.1494,
    "h": 335.1
  },
  "luminance": 0.21272
}

Semantic roles & 50–950 ramp

primary
#BA5EA8
secondary
#A7CDAE
accent
#D06F58
background
#FDF8FB
surface
#FAF0F7
border
#D3CBD0
text
#140D12
muted
#837D81

Laboratorio de vista previa

Vista previa con #BA5EA8

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

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

#BA5EA8 — Tintiva