#AF2160#AF2160

#AF2160 is a mid, vivid pink. Relative luminance 0.110; OKLCH L 50.4% C 0.182 H 0.0°. Best body text is #FFFFFF at 6.54:1 contrast (WCAG AA passes).

Color values

HEX#AF2160
RGBrgb(175, 33, 96)
HSLhsl(333, 68%, 41%)
HSVhsv(333, 81%, 69%)
CMYKcmyk(0%, 81.1%, 45.1%, 31.4%)
CIE-LABlab(39.66, 59.13, -0.25)
CIE-LCHlch(39.66, 59.13, 359.75°)
OKLaboklab(50.37% 0.1818 0)
OKLCHoklch(50.37% 0.182 0)
XYZxyz(20.3360, 11.0490, 12.1259)
Luminance0.1105 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF2160 #21AF70
analogous
#AF21A7 #AF2160 #AF2921
triadic
#AF2160 #60AF21 #2160AF
tetradic
#AF2160 #A7AF21 #21AF70 #2921AF
square
#AF2160 #A7AF21 #21AF70 #2921AF
split-complementary
#AF2160 #21AF29 #21A7AF
monochromatic
#480E28 #7C1744 #AF2160 #D9347D #E3689E

Accessibility & contrast

On white

6.54
#AF2160 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #AF2160
6.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF2160#FFFFFF#000000##FFFFFF
##AF21601.006.543.216.54
#FFFFFF6.541.0021.001.00
#0000003.2121.001.0021.00
##FFFFFF6.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#444C61
Deuteranopia (green-blind)
#6A675D
Tritanopia (blue-blind)
#BE003E
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #af2160;
/* rgb */ color: rgb(175, 33, 96);
/* oklch */ color: oklch(50.4% 0.182 0.0);
Tailwind
colors: {
  custom: {
    50: '#cd6d8d',
    500: '#af2160',
    950: '#000000',
  },
}
SCSS
$custom: #af2160;
$custom-light: #cd6d8d;
$custom-dark: #000000;
JSON
{
  "hex": "#af2160",
  "rgb": {
    "r": 175,
    "g": 33,
    "b": 96
  },
  "hsl": {
    "h": 333.38,
    "s": 68.269,
    "l": 40.784
  },
  "oklch": {
    "l": 0.50373,
    "c": 0.18181,
    "h": 0
  },
  "luminance": 0.11046
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AF2160

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

Preview Lab → · Contrast checker → · Palette generator →

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