#AF2C64#AF2C64

#AF2C64 is a mid, vivid pink. Relative luminance 0.118; OKLCH L 51.4% C 0.173 H 359.5°. Best body text is #FFFFFF at 6.24:1 contrast (WCAG AA passes).

Color values

HEX#AF2C64
RGBrgb(175, 44, 100)
HSLhsl(334, 60%, 43%)
HSVhsv(334, 75%, 69%)
CMYKcmyk(0%, 74.9%, 42.9%, 31.4%)
CIE-LABlab(40.96, 56.20, -0.88)
CIE-LCHlch(40.96, 56.20, 359.10°)
OKLaboklab(51.36% 0.1725 -0.0016)
OKLCHoklch(51.36% 0.173 359.5)
XYZxyz(20.8817, 11.8381, 13.2395)
Luminance0.1183 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF2C64 #2CAF77
analogous
#AF2CA5 #AF2C64 #AF352C
triadic
#AF2C64 #64AF2C #2C64AF
tetradic
#AF2C64 #A5AF2C #2CAF77 #352CAF
square
#AF2C64 #A5AF2C #2CAF77 #352CAF
split-complementary
#AF2C64 #2CAF35 #2CA5AF
monochromatic
#4D132C #7E2048 #AF2C64 #D14782 #DD78A3

Accessibility & contrast

On white

6.24
#AF2C64 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.37
#AF2C64 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF2C64
6.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF2C64#FFFFFF#000000##FFFFFF
##AF2C641.006.243.376.24
#FFFFFF6.241.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#485165
Deuteranopia (green-blind)
#6C6A61
Tritanopia (blue-blind)
#BE1744
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #af2c64;
/* rgb */ color: rgb(175, 44, 100);
/* oklch */ color: oklch(51.4% 0.173 359.5);
Tailwind
colors: {
  custom: {
    50: '#cc7190',
    500: '#af2c64',
    950: '#000000',
  },
}
SCSS
$custom: #af2c64;
$custom-light: #cc7190;
$custom-dark: #000000;
JSON
{
  "hex": "#af2c64",
  "rgb": {
    "r": 175,
    "g": 44,
    "b": 100
  },
  "hsl": {
    "h": 334.351,
    "s": 59.817,
    "l": 42.941
  },
  "oklch": {
    "l": 0.51363,
    "c": 0.17252,
    "h": 359.5
  },
  "luminance": 0.11835
}

Semantic roles & 50–950 ramp

primary
#AF2C64
secondary
#72C5A1
accent
#E39F45
background
#FDF7F8
surface
#FAEDF0
border
#D3C8CB
text
#14080C
muted
#837B7D

Preview Lab

Preview with #AF2C64

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

Preview Lab → · Contrast checker → · Palette generator →

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