#AF2BA2#AF2BA2

#AF2BA2 es un color medio y muy saturado de la familia purple. Luminancia relativa 0.135; OKLCH L 54.0% C 0.209 H 332.5°. El mejor color de texto es #FFFFFF con contraste 5.69:1 (cumple WCAG AA).

Valores del color

HEX#AF2BA2
RGBrgb(175, 43, 162)
HSLhsl(306, 61%, 43%)
HSVhsv(306, 75%, 69%)
CMYKcmyk(0%, 75.4%, 7.4%, 31.4%)
CIE-LABlab(43.44, 64.44, -35.11)
CIE-LCHlch(43.44, 73.39, 331.41°)
OKLaboklab(54.01% 0.1854 -0.0965)
OKLCHoklch(54.01% 0.209 332.5)
XYZxyz(25.0648, 13.4525, 35.4519)
Luminance0.1345 (WCAG relative)
Temperatureneutral
Familypurple

Colores con nombre más cercanos

Escalas perceptuales

Sombras

Matices

Tonos

OKLCH scale

Armonías de color

complementary
#AF2BA2 #2BAF38
analogous
#7A2BAF #AF2BA2 #AF2B60
triadic
#AF2BA2 #A2AF2B #2BA2AF
tetradic
#AF2BA2 #AF7A2B #2BAF38 #2B60AF
square
#AF2BA2 #AF7A2B #2BAF38 #2B60AF
split-complementary
#AF2BA2 #60AF2B #2BAF7A
monochromatic
#4D1347 #7E1F75 #AF2BA2 #D146C4 #DE77D3

Accesibilidad y contraste

On white

5.69
#AF2BA2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.69
#AF2BA2 on #000000
AA ✗AA large ✓AAA ✗

Mejor color de texto

#FFFFFF on #AF2BA2
5.69:1 — WCAG AA (texto normal) cumple

Matriz de contraste

fg \ bg##AF2BA2#FFFFFF#000000##FFFFFF
##AF2BA21.005.693.695.69
#FFFFFF5.691.0021.001.00
#0000003.6921.001.0021.00
##FFFFFF5.691.0021.001.00

Vista previa de daltonismo

Protanopia (red-blind)
#235BA5
Deuteranopia (green-blind)
#576D9F
Tritanopia (blue-blind)
#B73A64
Achromatopsia (no color)
#676767

Tokens de diseño y código

CSS
--color: #af2ba2;
/* rgb */ color: rgb(175, 43, 162);
/* oklch */ color: oklch(54.0% 0.209 332.5);
Tailwind
colors: {
  custom: {
    50: '#cb73be',
    500: '#af2ba2',
    950: '#000000',
  },
}
SCSS
$custom: #af2ba2;
$custom-light: #cb73be;
$custom-dark: #000000;
JSON
{
  "hex": "#af2ba2",
  "rgb": {
    "r": 175,
    "g": 43,
    "b": 162
  },
  "hsl": {
    "h": 305.909,
    "s": 60.55,
    "l": 42.745
  },
  "oklch": {
    "l": 0.54008,
    "c": 0.20905,
    "h": 332.5
  },
  "luminance": 0.1345
}

Semantic roles & 50–950 ramp

primary
#AF2BA2
secondary
#70C579
accent
#E45444
background
#FCF7FB
surface
#F9EDF7
border
#D2C8D0
text
#140912
muted
#827B81

Laboratorio de vista previa

Vista previa con #AF2BA2

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

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

#AF2BA2 — Tintiva