#AF2C6F#AF2C6F

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

Color values

HEX#AF2C6F
RGBrgb(175, 44, 111)
HSLhsl(329, 60%, 43%)
HSVhsv(329, 75%, 69%)
CMYKcmyk(0%, 74.9%, 36.6%, 31.4%)
CIE-LABlab(41.32, 57.35, -7.23)
CIE-LCHlch(41.32, 57.80, 352.82°)
OKLaboklab(51.75% 0.1759 -0.0184)
OKLCHoklch(51.75% 0.177 354)
XYZxyz(21.4505, 12.0656, 16.2351)
Luminance0.1206 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF2C6F #2CAF6C
analogous
#AD2CAF #AF2C6F #AF2C2E
triadic
#AF2C6F #6FAF2C #2C6FAF
tetradic
#AF2C6F #AFAD2C #2CAF6C #2C2EAF
square
#AF2C6F #AFAD2C #2CAF6C #2C2EAF
split-complementary
#AF2C6F #2EAF2C #2CAFAD
monochromatic
#4D1331 #7E2050 #AF2C6F #D1478E #DD78AC

Accessibility & contrast

On white

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

On black

3.41
#AF2C6F on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##AF2C6F#FFFFFF#000000##FFFFFF
##AF2C6F1.006.153.416.15
#FFFFFF6.151.0021.001.00
#0000003.4121.001.0021.00
##FFFFFF6.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#455271
Deuteranopia (green-blind)
#6A6A6C
Tritanopia (blue-blind)
#BD1E4A
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #af2c6f;
/* rgb */ color: rgb(175, 44, 111);
/* oklch */ color: oklch(51.7% 0.177 354.0);
Tailwind
colors: {
  custom: {
    50: '#cc7198',
    500: '#af2c6f',
    950: '#000000',
  },
}
SCSS
$custom: #af2c6f;
$custom-light: #cc7198;
$custom-dark: #000000;
JSON
{
  "hex": "#af2c6f",
  "rgb": {
    "r": 175,
    "g": 44,
    "b": 111
  },
  "hsl": {
    "h": 329.313,
    "s": 59.817,
    "l": 42.941
  },
  "oklch": {
    "l": 0.51748,
    "c": 0.1769,
    "h": 354
  },
  "luminance": 0.12063
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AF2C6F

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

Preview Lab → · Contrast checker → · Palette generator →

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