#AF224A#AF224A

#AF224A is a mid, vivid pink. Relative luminance 0.108; OKLCH L 49.8% C 0.176 H 10.7°. Best body text is #FFFFFF at 6.67:1 contrast (WCAG AA passes).

Color values

HEX#AF224A
RGBrgb(175, 34, 74)
HSLhsl(343, 67%, 41%)
HSVhsv(343, 81%, 69%)
CMYKcmyk(0%, 80.6%, 57.7%, 31.4%)
CIE-LABlab(39.17, 57.06, 13.03)
CIE-LCHlch(39.17, 58.53, 12.86°)
OKLaboklab(49.81% 0.1729 0.0326)
OKLCHoklch(49.81% 0.176 10.7)
XYZxyz(19.4892, 10.7553, 7.5270)
Luminance0.1075 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF224A #22AF87
analogous
#AF2290 #AF224A #AF4122
triadic
#AF224A #4AAF22 #224AAF
tetradic
#AF224A #90AF22 #22AF87 #4122AF
square
#AF224A #90AF22 #22AF87 #4122AF
split-complementary
#AF224A #22AF41 #2290AF
monochromatic
#490E1F #7C1834 #AF224A #D83664 #E2698C

Accessibility & contrast

On white

6.67
#AF224A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.15
#AF224A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF224A
6.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF224A#FFFFFF#000000##FFFFFF
##AF224A1.006.673.156.67
#FFFFFF6.671.0021.001.00
#0000003.1521.001.0021.00
##FFFFFF6.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A4A4B
Deuteranopia (green-blind)
#6E6646
Tritanopia (blue-blind)
#C00034
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #af224a;
/* rgb */ color: rgb(175, 34, 74);
/* oklch */ color: oklch(49.8% 0.176 10.7);
Tailwind
colors: {
  custom: {
    50: '#ce6c7c',
    500: '#af224a',
    950: '#000000',
  },
}
SCSS
$custom: #af224a;
$custom-light: #ce6c7c;
$custom-dark: #000000;
JSON
{
  "hex": "#af224a",
  "rgb": {
    "r": 175,
    "g": 34,
    "b": 74
  },
  "hsl": {
    "h": 342.979,
    "s": 67.464,
    "l": 40.98
  },
  "oklch": {
    "l": 0.49814,
    "c": 0.17592,
    "h": 10.7
  },
  "luminance": 0.10752
}

Semantic roles & 50–950 ramp

primary
#AF224A
secondary
#65C8AC
accent
#EAB93D
background
#FDF7F7
surface
#FBEDEE
border
#D4C8C9
text
#150809
muted
#837B7B

Preview Lab

Preview with #AF224A

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

Preview Lab → · Contrast checker → · Palette generator →

#AF224A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva