#AF224E#AF224E

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

Color values

HEX#AF224E
RGBrgb(175, 34, 78)
HSLhsl(341, 67%, 41%)
HSVhsv(341, 81%, 69%)
CMYKcmyk(0%, 80.6%, 55.4%, 31.4%)
CIE-LABlab(39.26, 57.35, 10.61)
CIE-LCHlch(39.26, 58.32, 10.48°)
OKLaboklab(49.92% 0.1744 0.027)
OKLCHoklch(49.92% 0.177 8.8)
XYZxyz(19.6283, 10.8109, 8.2594)
Luminance0.1081 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF224E #22AF83
analogous
#AF2294 #AF224E #AF3D22
triadic
#AF224E #4EAF22 #224EAF
tetradic
#AF224E #94AF22 #22AF83 #3D22AF
square
#AF224E #94AF22 #22AF83 #3D22AF
split-complementary
#AF224E #22AF3D #2294AF
monochromatic
#490E20 #7C1837 #AF224E #D83669 #E2698F

Accessibility & contrast

On white

6.64
#AF224E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.16
#AF224E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF224E
6.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF224E#FFFFFF#000000##FFFFFF
##AF224E1.006.643.166.64
#FFFFFF6.641.0021.001.00
#0000003.1621.001.0021.00
##FFFFFF6.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#494A4F
Deuteranopia (green-blind)
#6D674B
Tritanopia (blue-blind)
#BF0035
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #af224e;
/* rgb */ color: rgb(175, 34, 78);
/* oklch */ color: oklch(49.9% 0.176 8.8);
Tailwind
colors: {
  custom: {
    50: '#ce6d7f',
    500: '#af224e',
    950: '#000000',
  },
}
SCSS
$custom: #af224e;
$custom-light: #ce6d7f;
$custom-dark: #000000;
JSON
{
  "hex": "#af224e",
  "rgb": {
    "r": 175,
    "g": 34,
    "b": 78
  },
  "hsl": {
    "h": 341.277,
    "s": 67.464,
    "l": 40.98
  },
  "oklch": {
    "l": 0.49915,
    "c": 0.1765,
    "h": 8.8
  },
  "luminance": 0.10808
}

Semantic roles & 50–950 ramp

primary
#AF224E
secondary
#65C8A9
accent
#EAB43D
background
#FDF7F7
surface
#FBEDEE
border
#D4C8C9
text
#15080A
muted
#837B7C

Preview Lab

Preview with #AF224E

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

Preview Lab → · Contrast checker → · Palette generator →

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