#AF227F#AF227F

#AF227F es un color medio y vivo de la familia rosa. Luminancia relativa 0.118; OKLCH L 51.6% C 0.195 H 346.0°. El mejor color de texto es #FFFFFF con contraste 6.25:1 (cumple WCAG AA).

Valores del color

HEX#AF227F
RGBrgb(175, 34, 127)
HSLhsl(320, 67%, 41%)
HSVhsv(320, 81%, 69%)
CMYKcmyk(0%, 80.6%, 27.4%, 31.4%)
CIE-LABlab(40.88, 62.19, -17.82)
CIE-LCHlch(40.88, 64.69, 344.01°)
OKLaboklab(51.63% 0.1892 -0.0473)
OKLCHoklch(51.63% 0.195 346)
XYZxyz(22.0830, 11.7928, 21.1879)
Luminance0.1179 (WCAG relative)
Temperaturewarm
Familypink

Colores con nombre más cercanos

Escalas perceptuales

Sombras

Matices

Tonos

OKLCH scale

Armonías de color

complementary
#AF227F #22AF52
analogous
#9822AF #AF227F #AF2238
triadic
#AF227F #7FAF22 #227FAF
tetradic
#AF227F #AF9822 #22AF52 #2238AF
square
#AF227F #AF9822 #22AF52 #2238AF
split-complementary
#AF227F #38AF22 #22AF98
monochromatic
#490E35 #7C185A #AF227F #D836A1 #E269B9

Accesibilidad y contraste

On white

6.25
#AF227F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.36
#AF227F on #000000
AA ✗AA large ✓AAA ✗

Mejor color de texto

#FFFFFF on #AF227F
6.25:1 — WCAG AA (texto normal) cumple

Matriz de contraste

fg \ bg##AF227F#FFFFFF#000000##FFFFFF
##AF227F1.006.253.366.25
#FFFFFF6.251.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.251.0021.001.00

Vista previa de daltonismo

Protanopia (red-blind)
#375181
Deuteranopia (green-blind)
#62697C
Tritanopia (blue-blind)
#BB1D4F
Achromatopsia (no color)
#606060

Tokens de diseño y código

CSS
--color: #af227f;
/* rgb */ color: rgb(175, 34, 127);
/* oklch */ color: oklch(51.6% 0.195 346.0);
Tailwind
colors: {
  custom: {
    50: '#cb6ea4',
    500: '#af227f',
    950: '#000000',
  },
}
SCSS
$custom: #af227f;
$custom-light: #cb6ea4;
$custom-dark: #000000;
JSON
{
  "hex": "#af227f",
  "rgb": {
    "r": 175,
    "g": 34,
    "b": 127
  },
  "hsl": {
    "h": 320.426,
    "s": 67.464,
    "l": 40.98
  },
  "oklch": {
    "l": 0.51631,
    "c": 0.19501,
    "h": 346
  },
  "luminance": 0.1179
}

Semantic roles & 50–950 ramp

primary
#AF227F
secondary
#65C887
accent
#EA783D
background
#FDF7FA
surface
#FAEDF4
border
#D3C8CE
text
#14080F
muted
#837B7F

Laboratorio de vista previa

Vista previa con #AF227F

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

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

#AF227F — Tintiva