#AFA8C2#AFA8C2

#AFA8C2 es un color claro y apagado de la familia violeta. Luminancia relativa 0.410; OKLCH L 74.6% C 0.038 H 297.8°. El mejor color de texto es #000000 con contraste 9.20:1 (cumple WCAG AA).

Valores del color

HEX#AFA8C2
RGBrgb(175, 168, 194)
HSLhsl(256, 18%, 71%)
HSVhsv(256, 13%, 76%)
CMYKcmyk(9.8%, 13.4%, 0%, 23.9%)
CIE-LABlab(70.19, 7.58, -12.37)
CIE-LCHlch(70.19, 14.51, 301.50°)
OKLaboklab(74.58% 0.0176 -0.0333)
OKLCHoklch(74.58% 0.038 297.8)
XYZxyz(41.4175, 41.0142, 56.7630)
Luminance0.4101 (WCAG relative)
Temperaturecool
Familyviolet

Colores con nombre más cercanos

Escalas perceptuales

Sombras

Matices

Tonos

OKLCH scale

Armonías de color

complementary
#AFA8C2 #BBC2A8
analogous
#A8AEC2 #AFA8C2 #BCA8C2
triadic
#AFA8C2 #C2AFA8 #A8C2AF
tetradic
#AFA8C2 #C2A8AE #BBC2A8 #A8C2BC
square
#AFA8C2 #C2A8AE #BBC2A8 #A8C2BC
split-complementary
#AFA8C2 #C2BCA8 #AEC2A8
monochromatic
#6E638D #8E84A9 #AFA8C2 #D0CCDB #EEEDF2

Accesibilidad y contraste

On white

2.28
#AFA8C2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.20
#AFA8C2 on #000000
AA ✓AA large ✓AAA ✓

Mejor color de texto

#000000 on #AFA8C2
9.20:1 — WCAG AA (texto normal) cumple

Matriz de contraste

fg \ bg##AFA8C2#FFFFFF#000000##000000
##AFA8C21.002.289.209.20
#FFFFFF2.281.0021.0021.00
#0000009.2021.001.001.00
##0000009.2021.001.001.00

Vista previa de daltonismo

Protanopia (red-blind)
#A3ACC3
Deuteranopia (green-blind)
#A4ABC1
Tritanopia (blue-blind)
#ACACB0
Achromatopsia (no color)
#ACACAC

Tokens de diseño y código

CSS
--color: #afa8c2;
/* rgb */ color: rgb(175, 168, 194);
/* oklch */ color: oklch(74.6% 0.038 297.8);
Tailwind
colors: {
  custom: {
    50: '#c7c1d4',
    500: '#afa8c2',
    950: '#000000',
  },
}
SCSS
$custom: #afa8c2;
$custom-light: #c7c1d4;
$custom-dark: #000000;
JSON
{
  "hex": "#afa8c2",
  "rgb": {
    "r": 175,
    "g": 168,
    "b": 194
  },
  "hsl": {
    "h": 256.154,
    "s": 17.568,
    "l": 70.98
  },
  "oklch": {
    "l": 0.74582,
    "c": 0.03769,
    "h": 297.8
  },
  "luminance": 0.41014
}

Semantic roles & 50–950 ramp

primary
#AFA8C2
secondary
#E4E6DF
accent
#9C4A86
background
#FCFBFD
surface
#F8F7FA
border
#D1D0D3
text
#131214
muted
#828183

Laboratorio de vista previa

Vista previa con #AFA8C2

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

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

#AFA8C2 — Tintiva