#AF2C6A#AF2C6A

#AF2C6A is a mid, vivid pink. Relative luminance 0.120; OKLCH L 51.6% C 0.175 H 356.5°. Best body text is #FFFFFF at 6.19:1 contrast (WCAG AA passes).

Color values

HEX#AF2C6A
RGBrgb(175, 44, 106)
HSLhsl(332, 60%, 43%)
HSVhsv(332, 75%, 69%)
CMYKcmyk(0%, 74.9%, 39.4%, 31.4%)
CIE-LABlab(41.15, 56.81, -4.36)
CIE-LCHlch(41.15, 56.98, 355.61°)
OKLaboklab(51.57% 0.1744 -0.0107)
OKLCHoklch(51.57% 0.175 356.5)
XYZxyz(21.1829, 11.9586, 14.8256)
Luminance0.1196 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF2C6A #2CAF71
analogous
#AF2CAB #AF2C6A #AF302C
triadic
#AF2C6A #6AAF2C #2C6AAF
tetradic
#AF2C6A #ABAF2C #2CAF71 #302CAF
square
#AF2C6A #ABAF2C #2CAF71 #302CAF
split-complementary
#AF2C6A #2CAF30 #2CABAF
monochromatic
#4D132F #7E204C #AF2C6A #D14788 #DD78A8

Accessibility & contrast

On white

6.19
#AF2C6A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.39
#AF2C6A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF2C6A
6.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF2C6A#FFFFFF#000000##FFFFFF
##AF2C6A1.006.193.396.19
#FFFFFF6.191.0021.001.00
#0000003.3921.001.0021.00
##FFFFFF6.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#47516C
Deuteranopia (green-blind)
#6B6A67
Tritanopia (blue-blind)
#BD1B47
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #af2c6a;
/* rgb */ color: rgb(175, 44, 106);
/* oklch */ color: oklch(51.6% 0.175 356.5);
Tailwind
colors: {
  custom: {
    50: '#cc7194',
    500: '#af2c6a',
    950: '#000000',
  },
}
SCSS
$custom: #af2c6a;
$custom-light: #cc7194;
$custom-dark: #000000;
JSON
{
  "hex": "#af2c6a",
  "rgb": {
    "r": 175,
    "g": 44,
    "b": 106
  },
  "hsl": {
    "h": 331.603,
    "s": 59.817,
    "l": 42.941
  },
  "oklch": {
    "l": 0.51567,
    "c": 0.17477,
    "h": 356.5
  },
  "luminance": 0.11956
}

Semantic roles & 50–950 ramp

primary
#AF2C6A
secondary
#72C59E
accent
#E39845
background
#FDF7F9
surface
#FAEDF1
border
#D3C8CB
text
#14080D
muted
#837B7E

Preview Lab

Preview with #AF2C6A

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

Preview Lab → · Contrast checker → · Palette generator →

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