#AF215F#AF215F

#AF215F is a mid, vivid pink. Relative luminance 0.110; OKLCH L 50.3% C 0.181 H 0.5°. Best body text is #FFFFFF at 6.55:1 contrast (WCAG AA passes).

Color values

HEX#AF215F
RGBrgb(175, 33, 95)
HSLhsl(334, 68%, 41%)
HSVhsv(334, 81%, 69%)
CMYKcmyk(0%, 81.1%, 45.7%, 31.4%)
CIE-LABlab(39.63, 59.03, 0.34)
CIE-LCHlch(39.63, 59.03, 0.33°)
OKLaboklab(50.34% 0.1815 0.0015)
OKLCHoklch(50.34% 0.181 0.5)
XYZxyz(20.2903, 11.0307, 11.8849)
Luminance0.1103 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF215F #21AF71
analogous
#AF21A6 #AF215F #AF2A21
triadic
#AF215F #5FAF21 #215FAF
tetradic
#AF215F #A6AF21 #21AF71 #2A21AF
square
#AF215F #A6AF21 #21AF71 #2A21AF
split-complementary
#AF215F #21AF2A #21A6AF
monochromatic
#480E27 #7C1743 #AF215F #D9347C #E3689D

Accessibility & contrast

On white

6.55
#AF215F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.21
#AF215F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF215F
6.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF215F#FFFFFF#000000##FFFFFF
##AF215F1.006.553.216.55
#FFFFFF6.551.0021.001.00
#0000003.2121.001.0021.00
##FFFFFF6.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#444C60
Deuteranopia (green-blind)
#6A675C
Tritanopia (blue-blind)
#BE003D
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #af215f;
/* rgb */ color: rgb(175, 33, 95);
/* oklch */ color: oklch(50.3% 0.181 0.5);
Tailwind
colors: {
  custom: {
    50: '#cd6d8c',
    500: '#af215f',
    950: '#000000',
  },
}
SCSS
$custom: #af215f;
$custom-light: #cd6d8c;
$custom-dark: #000000;
JSON
{
  "hex": "#af215f",
  "rgb": {
    "r": 175,
    "g": 33,
    "b": 95
  },
  "hsl": {
    "h": 333.803,
    "s": 68.269,
    "l": 40.784
  },
  "oklch": {
    "l": 0.5034,
    "c": 0.18149,
    "h": 0.5
  },
  "luminance": 0.11028
}

Semantic roles & 50–950 ramp

primary
#AF215F
secondary
#64C89C
accent
#EB9F3D
background
#FDF7F8
surface
#FAEDF0
border
#D3C8CB
text
#15080C
muted
#837B7D

Preview Lab

Preview with #AF215F

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

Preview Lab → · Contrast checker → · Palette generator →

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