#AF2E7E#AF2E7E
#AF2E7E es un color medio y vivo de la familia rosa. Luminancia relativa 0.126; OKLCH L 52.5% C 0.182 H 347.2°. El mejor color de texto es #FFFFFF con contraste 5.97:1 (cumple WCAG AA).
Valores del color
| HEX | #AF2E7E |
|---|---|
| RGB | rgb(175, 46, 126) |
| HSL | hsl(323, 58%, 43%) |
| HSV | hsv(323, 74%, 69%) |
| CMYK | cmyk(0%, 73.7%, 28%, 31.4%) |
| CIE-LAB | lab(42.12, 58.44, -15.31) |
| CIE-LCH | lch(42.12, 60.41, 345.32°) |
| OKLab | oklab(52.51% 0.1777 -0.0404) |
| OKLCH | oklch(52.51% 0.182 347.2) |
| XYZ | xyz(22.4231, 12.5768, 20.9813) |
| Luminance | 0.1257 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Colores con nombre más cercanos
Magenta (survey)
#C20078
ΔE00 4.07
Mediumvioletred
#C71585
ΔE00 4.10
Red Violet
#9E0168
ΔE00 6.61
Deep Magenta
#A0025C
ΔE00 7.80
Warm Purple
#952E8F
ΔE00 8.07
Ugly Purple
#A442A0
ΔE00 8.14
Escalas perceptuales
Sombras
Matices
Tonos
OKLCH scale
Armonías de color
complementary
#AF2E7E #2EAF5F
analogous
#9F2EAF #AF2E7E #AF2E3D
triadic
#AF2E7E #7EAF2E #2E7EAF
tetradic
#AF2E7E #AF9F2E #2EAF5F #2E3DAF
square
#AF2E7E #AF9F2E #2EAF5F #2E3DAF
split-complementary
#AF2E7E #3DAF2E #2EAF9F
monochromatic
#4E1538 #7F215B #AF2E7E #D04B9D #DC7BB7
Accesibilidad y contraste
On white
5.97
#AF2E7E on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.51
#AF2E7E on #000000
AA ✗AA large ✓AAA ✗
Mejor color de texto
#FFFFFF on #AF2E7E
5.97:1 — WCAG AA (texto normal) cumple
Matriz de contraste
| fg \ bg | ##AF2E7E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AF2E7E | 1.00 | 5.97 | 3.51 | 5.97 |
| #FFFFFF | 5.97 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.51 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.97 | 1.00 | 21.00 | 1.00 |
Vista previa de daltonismo
Protanopia (red-blind)
#405580
Deuteranopia (green-blind)
#666B7B
Tritanopia (blue-blind)
#BB2952
Achromatopsia (no color)
#636363
Tokens de diseño y código
CSS
--color: #af2e7e; /* rgb */ color: rgb(175, 46, 126); /* oklch */ color: oklch(52.5% 0.182 347.2);
Tailwind
colors: {
custom: {
50: '#cb73a3',
500: '#af2e7e',
950: '#000000',
},
}SCSS
$custom: #af2e7e; $custom-light: #cb73a3; $custom-dark: #000000;
JSON
{
"hex": "#af2e7e",
"rgb": {
"r": 175,
"g": 46,
"b": 126
},
"hsl": {
"h": 322.791,
"s": 58.371,
"l": 43.333
},
"oklch": {
"l": 0.52514,
"c": 0.18224,
"h": 347.2
},
"luminance": 0.12574
}Semantic roles & 50–950 ramp
primary
#AF2E7E
secondary
#74C593
accent
#E28146
background
#FDF7FA
surface
#FAEDF3
border
#D3C8CD
text
#14090F
muted
#837B7F
Laboratorio de vista previa
Laboratorio de vista previa → · Comprobador de contraste → · Generador de paletas →