#AF2C80#AF2C80

#AF2C80 is a mid, vivid pink. Relative luminance 0.125; OKLCH L 52.4% C 0.186 H 346.1°. Best body text is #FFFFFF at 6.01:1 contrast (WCAG AA passes).

Color values

HEX#AF2C80
RGBrgb(175, 44, 128)
HSLhsl(322, 60%, 43%)
HSVhsv(322, 75%, 69%)
CMYKcmyk(0%, 74.9%, 26.9%, 31.4%)
CIE-LABlab(41.96, 59.36, -16.78)
CIE-LCHlch(41.96, 61.68, 344.21°)
OKLaboklab(52.43% 0.1802 -0.0445)
OKLCHoklch(52.43% 0.186 346.1)
XYZxyz(22.4772, 12.4763, 21.6423)
Luminance0.1247 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF2C80 #2CAF5B
analogous
#9C2CAF #AF2C80 #AF2C3E
triadic
#AF2C80 #80AF2C #2C80AF
tetradic
#AF2C80 #AF9C2C #2CAF5B #2C3EAF
square
#AF2C80 #AF9C2C #2CAF5B #2C3EAF
split-complementary
#AF2C80 #3EAF2C #2CAF9C
monochromatic
#4D1338 #7E205C #AF2C80 #D147A0 #DD78B9

Accessibility & contrast

On white

6.01
#AF2C80 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.49
#AF2C80 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF2C80
6.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF2C80#FFFFFF#000000##FFFFFF
##AF2C801.006.013.496.01
#FFFFFF6.011.0021.001.00
#0000003.4921.001.0021.00
##FFFFFF6.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E5582
Deuteranopia (green-blind)
#656B7D
Tritanopia (blue-blind)
#BB2852
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #af2c80;
/* rgb */ color: rgb(175, 44, 128);
/* oklch */ color: oklch(52.4% 0.186 346.1);
Tailwind
colors: {
  custom: {
    50: '#cb72a5',
    500: '#af2c80',
    950: '#000000',
  },
}
SCSS
$custom: #af2c80;
$custom-light: #cb72a5;
$custom-dark: #000000;
JSON
{
  "hex": "#af2c80",
  "rgb": {
    "r": 175,
    "g": 44,
    "b": 128
  },
  "hsl": {
    "h": 321.527,
    "s": 59.817,
    "l": 42.941
  },
  "oklch": {
    "l": 0.52427,
    "c": 0.18561,
    "h": 346.1
  },
  "luminance": 0.12474
}

Semantic roles & 50–950 ramp

primary
#AF2C80
secondary
#72C590
accent
#E37E45
background
#FDF7FA
surface
#FAEDF4
border
#D3C8CE
text
#14090F
muted
#837B7F

Preview Lab

Preview with #AF2C80

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

Preview Lab → · Contrast checker → · Palette generator →

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