#AF227D#AF227D

#AF227D es un color medio y vivo de la familia rosa. Luminancia relativa 0.117; OKLCH L 51.5% C 0.194 H 346.8°. El mejor color de texto es #FFFFFF con contraste 6.27:1 (cumple WCAG AA).

Valores del color

HEX#AF227D
RGBrgb(175, 34, 125)
HSLhsl(321, 67%, 41%)
HSVhsv(321, 81%, 69%)
CMYKcmyk(0%, 80.6%, 28.6%, 31.4%)
CIE-LABlab(40.80, 61.95, -16.71)
CIE-LCHlch(40.80, 64.16, 344.90°)
OKLaboklab(51.54% 0.1888 -0.0442)
OKLCHoklch(51.54% 0.194 346.8)
XYZxyz(21.9540, 11.7412, 20.5082)
Luminance0.1174 (WCAG relative)
Temperaturewarm
Familypink

Colores con nombre más cercanos

Escalas perceptuales

Sombras

Matices

Tonos

OKLCH scale

Armonías de color

complementary
#AF227D #22AF54
analogous
#9A22AF #AF227D #AF2236
triadic
#AF227D #7DAF22 #227DAF
tetradic
#AF227D #AF9A22 #22AF54 #2236AF
square
#AF227D #AF9A22 #22AF54 #2236AF
split-complementary
#AF227D #36AF22 #22AF9A
monochromatic
#490E34 #7C1858 #AF227D #D8369F #E269B7

Accesibilidad y contraste

On white

6.27
#AF227D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.35
#AF227D on #000000
AA ✗AA large ✓AAA ✗

Mejor color de texto

#FFFFFF on #AF227D
6.27:1 — WCAG AA (texto normal) cumple

Matriz de contraste

fg \ bg##AF227D#FFFFFF#000000##FFFFFF
##AF227D1.006.273.356.27
#FFFFFF6.271.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.271.0021.001.00

Vista previa de daltonismo

Protanopia (red-blind)
#38517F
Deuteranopia (green-blind)
#63697A
Tritanopia (blue-blind)
#BC1C4E
Achromatopsia (no color)
#606060

Tokens de diseño y código

CSS
--color: #af227d;
/* rgb */ color: rgb(175, 34, 125);
/* oklch */ color: oklch(51.5% 0.194 346.8);
Tailwind
colors: {
  custom: {
    50: '#cb6ea2',
    500: '#af227d',
    950: '#000000',
  },
}
SCSS
$custom: #af227d;
$custom-light: #cb6ea2;
$custom-dark: #000000;
JSON
{
  "hex": "#af227d",
  "rgb": {
    "r": 175,
    "g": 34,
    "b": 125
  },
  "hsl": {
    "h": 321.277,
    "s": 67.464,
    "l": 40.98
  },
  "oklch": {
    "l": 0.51544,
    "c": 0.19391,
    "h": 346.8
  },
  "luminance": 0.11739
}

Semantic roles & 50–950 ramp

primary
#AF227D
secondary
#65C888
accent
#EA7B3D
background
#FDF7FA
surface
#FAEDF3
border
#D3C8CD
text
#14080F
muted
#837B7F

Laboratorio de vista previa

Vista previa con #AF227D

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

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

#AF227D — Tintiva