#BA308E#BA308E
#BA308E es un color medio y vivo de la familia rosa. Luminancia relativa 0.145; OKLCH L 55.2% C 0.197 H 343.8°. El mejor color de texto es #FFFFFF con contraste 5.38:1 (cumple WCAG AA).
Valores del color
| HEX | #BA308E |
|---|---|
| RGB | rgb(186, 48, 142) |
| HSL | hsl(319, 59%, 46%) |
| HSV | hsv(319, 74%, 73%) |
| CMYK | cmyk(0%, 74.2%, 23.7%, 27.1%) |
| CIE-LAB | lab(44.95, 62.63, -20.57) |
| CIE-LCH | lch(44.95, 65.92, 341.82°) |
| OKLab | oklab(55.16% 0.1891 -0.0549) |
| OKLCH | oklch(55.16% 0.197 343.8) |
| XYZ | xyz(26.1901, 14.5088, 27.0071) |
| Luminance | 0.1451 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Colores con nombre más cercanos
Mediumvioletred
#C71585
ΔE00 3.37
Magenta (survey)
#C20078
ΔE00 5.34
Ugly Purple
#A442A0
ΔE00 6.43
Medium Purple
#9E43A2
ΔE00 7.76
Purpley Pink
#C83CB9
ΔE00 8.14
Warm Purple
#952E8F
ΔE00 8.35
Escalas perceptuales
Sombras
Matices
Tonos
OKLCH scale
Armonías de color
complementary
#BA308E #30BA5C
analogous
#A130BA #BA308E #BA3049
triadic
#BA308E #8EBA30 #308EBA
tetradic
#BA308E #BAA130 #30BA5C #3049BA
square
#BA308E #BAA130 #30BA5C #3049BA
split-complementary
#BA308E #49BA30 #30BAA1
monochromatic
#591744 #892369 #BA308E #D354AB #DF85C3
Accesibilidad y contraste
On white
5.38
#BA308E on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.90
#BA308E on #000000
AA ✗AA large ✓AAA ✗
Mejor color de texto
#FFFFFF on #BA308E
5.38:1 — WCAG AA (texto normal) cumple
Matriz de contraste
| fg \ bg | ##BA308E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##BA308E | 1.00 | 5.38 | 3.90 | 5.38 |
| #FFFFFF | 5.38 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.90 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.38 | 1.00 | 21.00 | 1.00 |
Vista previa de daltonismo
Protanopia (red-blind)
#3F5C91
Deuteranopia (green-blind)
#6A738B
Tritanopia (blue-blind)
#C62F5B
Achromatopsia (no color)
#6A6A6A
Tokens de diseño y código
CSS
--color: #ba308e; /* rgb */ color: rgb(186, 48, 142); /* oklch */ color: oklch(55.2% 0.197 343.8);
Tailwind
colors: {
custom: {
50: '#d376af',
500: '#ba308e',
950: '#000000',
},
}SCSS
$custom: #ba308e; $custom-light: #d376af; $custom-dark: #000000;
JSON
{
"hex": "#ba308e",
"rgb": {
"r": 186,
"g": 48,
"b": 142
},
"hsl": {
"h": 319.13,
"s": 58.974,
"l": 45.882
},
"oklch": {
"l": 0.55155,
"c": 0.19687,
"h": 343.8
},
"luminance": 0.14506
}Semantic roles & 50–950 ramp
primary
#BA308E
secondary
#7DC995
accent
#E27846
background
#FDF7FA
surface
#FBEEF4
border
#D4C9CE
text
#150910
muted
#837B7F
Laboratorio de vista previa
Laboratorio de vista previa → · Comprobador de contraste → · Generador de paletas →