#AF2C68#AF2C68

#AF2C68 is a mid, vivid pink. Relative luminance 0.119; OKLCH L 51.5% C 0.174 H 357.5°. Best body text is #FFFFFF at 6.21:1 contrast (WCAG AA passes).

Color values

HEX#AF2C68
RGBrgb(175, 44, 104)
HSLhsl(333, 60%, 43%)
HSVhsv(333, 75%, 69%)
CMYKcmyk(0%, 74.9%, 40.6%, 31.4%)
CIE-LABlab(41.08, 56.60, -3.20)
CIE-LCHlch(41.08, 56.69, 356.76°)
OKLaboklab(51.5% 0.1738 -0.0077)
OKLCHoklch(51.5% 0.174 357.5)
XYZxyz(21.0801, 11.9175, 14.2842)
Luminance0.1192 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF2C68 #2CAF73
analogous
#AF2CA9 #AF2C68 #AF312C
triadic
#AF2C68 #68AF2C #2C68AF
tetradic
#AF2C68 #A9AF2C #2CAF73 #312CAF
square
#AF2C68 #A9AF2C #2CAF73 #312CAF
split-complementary
#AF2C68 #2CAF31 #2CA9AF
monochromatic
#4D132E #7E204B #AF2C68 #D14786 #DD78A6

Accessibility & contrast

On white

6.21
#AF2C68 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.38
#AF2C68 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF2C68
6.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF2C68#FFFFFF#000000##FFFFFF
##AF2C681.006.213.386.21
#FFFFFF6.211.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#47516A
Deuteranopia (green-blind)
#6B6A65
Tritanopia (blue-blind)
#BD1A46
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #af2c68;
/* rgb */ color: rgb(175, 44, 104);
/* oklch */ color: oklch(51.5% 0.174 357.5);
Tailwind
colors: {
  custom: {
    50: '#cc7193',
    500: '#af2c68',
    950: '#000000',
  },
}
SCSS
$custom: #af2c68;
$custom-light: #cc7193;
$custom-dark: #000000;
JSON
{
  "hex": "#af2c68",
  "rgb": {
    "r": 175,
    "g": 44,
    "b": 104
  },
  "hsl": {
    "h": 332.519,
    "s": 59.817,
    "l": 42.941
  },
  "oklch": {
    "l": 0.51498,
    "c": 0.17399,
    "h": 357.5
  },
  "luminance": 0.11915
}

Semantic roles & 50–950 ramp

primary
#AF2C68
secondary
#72C59F
accent
#E39B45
background
#FDF7F9
surface
#FAEDF1
border
#D3C8CB
text
#14080D
muted
#837B7E

Preview Lab

Preview with #AF2C68

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

Preview Lab → · Contrast checker → · Palette generator →

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