#AF2C83#AF2C83

#AF2C83 is a mid, vivid pink. Relative luminance 0.126; OKLCH L 52.6% C 0.187 H 344.8°. Best body text is #FFFFFF at 5.98:1 contrast (WCAG AA passes).

Color values

HEX#AF2C83
RGBrgb(175, 44, 131)
HSLhsl(320, 60%, 43%)
HSVhsv(320, 75%, 69%)
CMYKcmyk(0%, 74.9%, 25.1%, 31.4%)
CIE-LABlab(42.09, 59.74, -18.44)
CIE-LCHlch(42.09, 62.52, 342.85°)
OKLaboklab(52.56% 0.1808 -0.0491)
OKLCHoklch(52.56% 0.187 344.8)
XYZxyz(22.6776, 12.5565, 22.6977)
Luminance0.1255 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF2C83 #2CAF58
analogous
#992CAF #AF2C83 #AF2C41
triadic
#AF2C83 #83AF2C #2C83AF
tetradic
#AF2C83 #AF992C #2CAF58 #2C41AF
square
#AF2C83 #AF992C #2CAF58 #2C41AF
split-complementary
#AF2C83 #41AF2C #2CAF99
monochromatic
#4D133A #7E205E #AF2C83 #D147A3 #DD78BB

Accessibility & contrast

On white

5.98
#AF2C83 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.51
#AF2C83 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF2C83
5.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF2C83#FFFFFF#000000##FFFFFF
##AF2C831.005.983.515.98
#FFFFFF5.981.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C5585
Deuteranopia (green-blind)
#646B80
Tritanopia (blue-blind)
#BB2A54
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #af2c83;
/* rgb */ color: rgb(175, 44, 131);
/* oklch */ color: oklch(52.6% 0.187 344.8);
Tailwind
colors: {
  custom: {
    50: '#cb72a7',
    500: '#af2c83',
    950: '#000000',
  },
}
SCSS
$custom: #af2c83;
$custom-light: #cb72a7;
$custom-dark: #000000;
JSON
{
  "hex": "#af2c83",
  "rgb": {
    "r": 175,
    "g": 44,
    "b": 131
  },
  "hsl": {
    "h": 320.153,
    "s": 59.817,
    "l": 42.941
  },
  "oklch": {
    "l": 0.52558,
    "c": 0.18736,
    "h": 344.8
  },
  "luminance": 0.12554
}

Semantic roles & 50–950 ramp

primary
#AF2C83
secondary
#72C58E
accent
#E37A45
background
#FDF7FA
surface
#FAEDF4
border
#D3C8CE
text
#14090F
muted
#837B7F

Preview Lab

Preview with #AF2C83

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

Preview Lab → · Contrast checker → · Palette generator →

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