#AF2C63#AF2C63

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

Color values

HEX#AF2C63
RGBrgb(175, 44, 99)
HSLhsl(335, 60%, 43%)
HSVhsv(335, 75%, 69%)
CMYKcmyk(0%, 74.9%, 43.4%, 31.4%)
CIE-LABlab(40.93, 56.10, -0.30)
CIE-LCHlch(40.93, 56.10, 359.70°)
OKLaboklab(51.33% 0.1722 -0.0001)
OKLCHoklch(51.33% 0.172 0)
XYZxyz(20.8336, 11.8189, 12.9862)
Luminance0.1182 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF2C63 #2CAF78
analogous
#AF2CA4 #AF2C63 #AF362C
triadic
#AF2C63 #63AF2C #2C63AF
tetradic
#AF2C63 #A4AF2C #2CAF78 #362CAF
square
#AF2C63 #A4AF2C #2CAF78 #362CAF
split-complementary
#AF2C63 #2CAF36 #2CA4AF
monochromatic
#4D132C #7E2047 #AF2C63 #D14781 #DD78A3

Accessibility & contrast

On white

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

On black

3.36
#AF2C63 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##AF2C63#FFFFFF#000000##FFFFFF
##AF2C631.006.243.366.24
#FFFFFF6.241.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#495164
Deuteranopia (green-blind)
#6C6A60
Tritanopia (blue-blind)
#BE1644
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #af2c63;
/* rgb */ color: rgb(175, 44, 99);
/* oklch */ color: oklch(51.3% 0.172 360.0);
Tailwind
colors: {
  custom: {
    50: '#cc718f',
    500: '#af2c63',
    950: '#000000',
  },
}
SCSS
$custom: #af2c63;
$custom-light: #cc718f;
$custom-dark: #000000;
JSON
{
  "hex": "#af2c63",
  "rgb": {
    "r": 175,
    "g": 44,
    "b": 99
  },
  "hsl": {
    "h": 334.809,
    "s": 59.817,
    "l": 42.941
  },
  "oklch": {
    "l": 0.5133,
    "c": 0.17218,
    "h": 360
  },
  "luminance": 0.11816
}

Semantic roles & 50–950 ramp

primary
#AF2C63
secondary
#72C5A2
accent
#E3A145
background
#FDF7F8
surface
#FAEDF0
border
#D3C8CB
text
#14080C
muted
#837B7D

Preview Lab

Preview with #AF2C63

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

Preview Lab → · Contrast checker → · Palette generator →

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