#AF2F7D#AF2F7D
#AF2F7D es un color medio y vivo de la familia rosa. Luminancia relativa 0.126; OKLCH L 52.6% C 0.181 H 347.7°. El mejor color de texto es #FFFFFF con contraste 5.96:1 (cumple WCAG AA).
Valores del color
| HEX | #AF2F7D |
|---|---|
| RGB | rgb(175, 47, 125) |
| HSL | hsl(323, 58%, 44%) |
| HSV | hsv(323, 73%, 69%) |
| CMYK | cmyk(0%, 73.1%, 28.6%, 31.4%) |
| CIE-LAB | lab(42.20, 57.97, -14.57) |
| CIE-LCH | lch(42.20, 59.78, 345.89°) |
| OKLab | oklab(52.56% 0.1764 -0.0384) |
| OKLCH | oklch(52.56% 0.181 347.7) |
| XYZ | xyz(22.3985, 12.6301, 20.6564) |
| Luminance | 0.1263 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Colores con nombre más cercanos
Magenta (survey)
#C20078
ΔE00 4.00
Mediumvioletred
#C71585
ΔE00 4.12
Red Violet
#9E0168
ΔE00 6.66
Deep Magenta
#A0025C
ΔE00 7.72
Dark Fuchsia
#9D0759
ΔE00 8.29
Warm Purple
#952E8F
ΔE00 8.33
Escalas perceptuales
Sombras
Matices
Tonos
OKLCH scale
Armonías de color
complementary
#AF2F7D #2FAF61
analogous
#A12FAF #AF2F7D #AF2F3D
triadic
#AF2F7D #7DAF2F #2F7DAF
tetradic
#AF2F7D #AFA12F #2FAF61 #2F3DAF
square
#AF2F7D #AFA12F #2FAF61 #2F3DAF
split-complementary
#AF2F7D #3DAF2F #2FAFA1
monochromatic
#4F1538 #7F225B #AF2F7D #CF4C9C #DC7CB7
Accesibilidad y contraste
On white
5.96
#AF2F7D on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.53
#AF2F7D on #000000
AA ✗AA large ✓AAA ✗
Mejor color de texto
#FFFFFF on #AF2F7D
5.96:1 — WCAG AA (texto normal) cumple
Matriz de contraste
| fg \ bg | ##AF2F7D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AF2F7D | 1.00 | 5.96 | 3.53 | 5.96 |
| #FFFFFF | 5.96 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.53 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.96 | 1.00 | 21.00 | 1.00 |
Vista previa de daltonismo
Protanopia (red-blind)
#41557F
Deuteranopia (green-blind)
#676C7A
Tritanopia (blue-blind)
#BB2A52
Achromatopsia (no color)
#646464
Tokens de diseño y código
CSS
--color: #af2f7d; /* rgb */ color: rgb(175, 47, 125); /* oklch */ color: oklch(52.6% 0.181 347.7);
Tailwind
colors: {
custom: {
50: '#cb73a2',
500: '#af2f7d',
950: '#000000',
},
}SCSS
$custom: #af2f7d; $custom-light: #cb73a2; $custom-dark: #000000;
JSON
{
"hex": "#af2f7d",
"rgb": {
"r": 175,
"g": 47,
"b": 125
},
"hsl": {
"h": 323.438,
"s": 57.658,
"l": 43.529
},
"oklch": {
"l": 0.52561,
"c": 0.18053,
"h": 347.7
},
"luminance": 0.12628
}Semantic roles & 50–950 ramp
primary
#AF2F7D
secondary
#75C494
accent
#E18347
background
#FDF7FA
surface
#FAEDF3
border
#D3C8CD
text
#14090F
muted
#837B7F
Laboratorio de vista previa
Laboratorio de vista previa → · Comprobador de contraste → · Generador de paletas →