#AF2180#AF2180

#AF2180 is a mid, vivid pink. Relative luminance 0.118; OKLCH L 51.6% C 0.196 H 345.5°. Best body text is #FFFFFF at 6.26:1 contrast (WCAG AA passes).

Color values

HEX#AF2180
RGBrgb(175, 33, 128)
HSLhsl(320, 68%, 41%)
HSVhsv(320, 81%, 69%)
CMYKcmyk(0%, 81.1%, 26.9%, 31.4%)
CIE-LABlab(40.84, 62.57, -18.51)
CIE-LCHlch(40.84, 65.25, 343.52°)
OKLaboklab(51.61% 0.1902 -0.0492)
OKLCHoklch(51.61% 0.196 345.5)
XYZxyz(22.1204, 11.7627, 21.5234)
Luminance0.1176 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF2180 #21AF50
analogous
#9721AF #AF2180 #AF2139
triadic
#AF2180 #80AF21 #2180AF
tetradic
#AF2180 #AF9721 #21AF50 #2139AF
square
#AF2180 #AF9721 #21AF50 #2139AF
split-complementary
#AF2180 #39AF21 #21AF97
monochromatic
#480E35 #7C175A #AF2180 #D934A2 #E368BA

Accessibility & contrast

On white

6.26
#AF2180 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.35
#AF2180 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF2180
6.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF2180#FFFFFF#000000##FFFFFF
##AF21801.006.263.356.26
#FFFFFF6.261.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#365182
Deuteranopia (green-blind)
#62697D
Tritanopia (blue-blind)
#BB1D4F
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #af2180;
/* rgb */ color: rgb(175, 33, 128);
/* oklch */ color: oklch(51.6% 0.196 345.5);
Tailwind
colors: {
  custom: {
    50: '#cb6ea5',
    500: '#af2180',
    950: '#000000',
  },
}
SCSS
$custom: #af2180;
$custom-light: #cb6ea5;
$custom-dark: #000000;
JSON
{
  "hex": "#af2180",
  "rgb": {
    "r": 175,
    "g": 33,
    "b": 128
  },
  "hsl": {
    "h": 319.859,
    "s": 68.269,
    "l": 40.784
  },
  "oklch": {
    "l": 0.5161,
    "c": 0.19646,
    "h": 345.5
  },
  "luminance": 0.1176
}

Semantic roles & 50–950 ramp

primary
#AF2180
secondary
#64C885
accent
#EB763D
background
#FDF7FA
surface
#FAEDF4
border
#D3C8CE
text
#14080F
muted
#837B7F

Preview Lab

Preview with #AF2180

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

Preview Lab → · Contrast checker → · Palette generator →

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