#AF2C65#AF2C65

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

Color values

HEX#AF2C65
RGBrgb(175, 44, 101)
HSLhsl(334, 60%, 43%)
HSVhsv(334, 75%, 69%)
CMYKcmyk(0%, 74.9%, 42.3%, 31.4%)
CIE-LABlab(40.99, 56.30, -1.46)
CIE-LCHlch(40.99, 56.31, 358.51°)
OKLaboklab(51.4% 0.1728 -0.0031)
OKLCHoklch(51.4% 0.173 359)
XYZxyz(20.9304, 11.8576, 13.4960)
Luminance0.1186 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF2C65 #2CAF76
analogous
#AF2CA6 #AF2C65 #AF342C
triadic
#AF2C65 #65AF2C #2C65AF
tetradic
#AF2C65 #A6AF2C #2CAF76 #342CAF
square
#AF2C65 #A6AF2C #2CAF76 #342CAF
split-complementary
#AF2C65 #2CAF34 #2CA6AF
monochromatic
#4D132D #7E2049 #AF2C65 #D14783 #DD78A4

Accessibility & contrast

On white

6.23
#AF2C65 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #AF2C65
6.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF2C65#FFFFFF#000000##FFFFFF
##AF2C651.006.233.376.23
#FFFFFF6.231.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#485166
Deuteranopia (green-blind)
#6C6A62
Tritanopia (blue-blind)
#BE1845
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #af2c65;
/* rgb */ color: rgb(175, 44, 101);
/* oklch */ color: oklch(51.4% 0.173 359.0);
Tailwind
colors: {
  custom: {
    50: '#cc7190',
    500: '#af2c65',
    950: '#000000',
  },
}
SCSS
$custom: #af2c65;
$custom-light: #cc7190;
$custom-dark: #000000;
JSON
{
  "hex": "#af2c65",
  "rgb": {
    "r": 175,
    "g": 44,
    "b": 101
  },
  "hsl": {
    "h": 333.893,
    "s": 59.817,
    "l": 42.941
  },
  "oklch": {
    "l": 0.51396,
    "c": 0.17287,
    "h": 359
  },
  "luminance": 0.11855
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AF2C65

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

Preview Lab → · Contrast checker → · Palette generator →

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