#AF224F#AF224F

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

Color values

HEX#AF224F
RGBrgb(175, 34, 79)
HSLhsl(341, 67%, 41%)
HSVhsv(341, 81%, 69%)
CMYKcmyk(0%, 80.6%, 54.9%, 31.4%)
CIE-LABlab(39.28, 57.43, 10.01)
CIE-LCHlch(39.28, 58.29, 9.89°)
OKLaboklab(49.94% 0.1748 0.0255)
OKLCHoklch(49.94% 0.177 8.3)
XYZxyz(19.6644, 10.8254, 8.4497)
Luminance0.1082 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF224F #22AF82
analogous
#AF2295 #AF224F #AF3B22
triadic
#AF224F #4FAF22 #224FAF
tetradic
#AF224F #95AF22 #22AF82 #3B22AF
square
#AF224F #95AF22 #22AF82 #3B22AF
split-complementary
#AF224F #22AF3B #2295AF
monochromatic
#490E21 #7C1838 #AF224F #D8366A #E26990

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AF224F#FFFFFF#000000##FFFFFF
##AF224F1.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)
#494B50
Deuteranopia (green-blind)
#6D674C
Tritanopia (blue-blind)
#BF0036
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #af224f;
/* rgb */ color: rgb(175, 34, 79);
/* oklch */ color: oklch(49.9% 0.177 8.3);
Tailwind
colors: {
  custom: {
    50: '#cd6d80',
    500: '#af224f',
    950: '#000000',
  },
}
SCSS
$custom: #af224f;
$custom-light: #cd6d80;
$custom-dark: #000000;
JSON
{
  "hex": "#af224f",
  "rgb": {
    "r": 175,
    "g": 34,
    "b": 79
  },
  "hsl": {
    "h": 340.851,
    "s": 67.464,
    "l": 40.98
  },
  "oklch": {
    "l": 0.49941,
    "c": 0.17666,
    "h": 8.3
  },
  "luminance": 0.10823
}

Semantic roles & 50–950 ramp

primary
#AF224F
secondary
#65C8A8
accent
#EAB33D
background
#FDF7F7
surface
#FAEDEE
border
#D3C8C9
text
#15080A
muted
#837B7C

Preview Lab

Preview with #AF224F

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

Preview Lab → · Contrast checker → · Palette generator →

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