#AF2C70#AF2C70

#AF2C70 is a mid, vivid pink. Relative luminance 0.121; OKLCH L 51.8% C 0.177 H 353.6°. Best body text is #FFFFFF at 6.15:1 contrast (WCAG AA passes).

Color values

HEX#AF2C70
RGBrgb(175, 44, 112)
HSLhsl(329, 60%, 43%)
HSVhsv(329, 75%, 69%)
CMYKcmyk(0%, 74.9%, 36%, 31.4%)
CIE-LABlab(41.36, 57.46, -7.80)
CIE-LCHlch(41.36, 57.98, 352.27°)
OKLaboklab(51.79% 0.1762 -0.0199)
OKLCHoklch(51.79% 0.177 353.6)
XYZxyz(21.5059, 12.0878, 16.5268)
Luminance0.1208 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF2C70 #2CAF6B
analogous
#AC2CAF #AF2C70 #AF2C2F
triadic
#AF2C70 #70AF2C #2C70AF
tetradic
#AF2C70 #AFAC2C #2CAF6B #2C2FAF
square
#AF2C70 #AFAC2C #2CAF6B #2C2FAF
split-complementary
#AF2C70 #2FAF2C #2CAFAC
monochromatic
#4D1331 #7E2051 #AF2C70 #D1478F #DD78AD

Accessibility & contrast

On white

6.15
#AF2C70 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.42
#AF2C70 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF2C70
6.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF2C70#FFFFFF#000000##FFFFFF
##AF2C701.006.153.426.15
#FFFFFF6.151.0021.001.00
#0000003.4221.001.0021.00
##FFFFFF6.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#445272
Deuteranopia (green-blind)
#696A6D
Tritanopia (blue-blind)
#BD1F4A
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #af2c70;
/* rgb */ color: rgb(175, 44, 112);
/* oklch */ color: oklch(51.8% 0.177 353.6);
Tailwind
colors: {
  custom: {
    50: '#cc7199',
    500: '#af2c70',
    950: '#000000',
  },
}
SCSS
$custom: #af2c70;
$custom-light: #cc7199;
$custom-dark: #000000;
JSON
{
  "hex": "#af2c70",
  "rgb": {
    "r": 175,
    "g": 44,
    "b": 112
  },
  "hsl": {
    "h": 328.855,
    "s": 59.817,
    "l": 42.941
  },
  "oklch": {
    "l": 0.51785,
    "c": 0.17735,
    "h": 353.6
  },
  "luminance": 0.12085
}

Semantic roles & 50–950 ramp

primary
#AF2C70
secondary
#72C59A
accent
#E39145
background
#FDF7F9
surface
#FAEDF2
border
#D3C8CC
text
#14090D
muted
#837B7E

Preview Lab

Preview with #AF2C70

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

Preview Lab → · Contrast checker → · Palette generator →

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