#AF2C61#AF2C61

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

Color values

HEX#AF2C61
RGBrgb(175, 44, 97)
HSLhsl(336, 60%, 43%)
HSVhsv(336, 75%, 69%)
CMYKcmyk(0%, 74.9%, 44.6%, 31.4%)
CIE-LABlab(40.87, 55.90, 0.87)
CIE-LCHlch(40.87, 55.91, 0.89°)
OKLaboklab(51.27% 0.1715 0.0029)
OKLCHoklch(51.27% 0.172 1)
XYZxyz(20.7392, 11.7811, 12.4888)
Luminance0.1178 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF2C61 #2CAF7A
analogous
#AF2CA2 #AF2C61 #AF382C
triadic
#AF2C61 #61AF2C #2C61AF
tetradic
#AF2C61 #A2AF2C #2CAF7A #382CAF
square
#AF2C61 #A2AF2C #2CAF7A #382CAF
split-complementary
#AF2C61 #2CAF38 #2CA2AF
monochromatic
#4D132B #7E2046 #AF2C61 #D1477F #DD78A1

Accessibility & contrast

On white

6.26
#AF2C61 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #AF2C61
6.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF2C61#FFFFFF#000000##FFFFFF
##AF2C611.006.263.366.26
#FFFFFF6.261.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#495062
Deuteranopia (green-blind)
#6D695E
Tritanopia (blue-blind)
#BE1543
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #af2c61;
/* rgb */ color: rgb(175, 44, 97);
/* oklch */ color: oklch(51.3% 0.172 1.0);
Tailwind
colors: {
  custom: {
    50: '#cc718d',
    500: '#af2c61',
    950: '#000000',
  },
}
SCSS
$custom: #af2c61;
$custom-light: #cc718d;
$custom-dark: #000000;
JSON
{
  "hex": "#af2c61",
  "rgb": {
    "r": 175,
    "g": 44,
    "b": 97
  },
  "hsl": {
    "h": 335.725,
    "s": 59.817,
    "l": 42.941
  },
  "oklch": {
    "l": 0.51266,
    "c": 0.17152,
    "h": 1
  },
  "luminance": 0.11778
}

Semantic roles & 50–950 ramp

primary
#AF2C61
secondary
#72C5A3
accent
#E3A345
background
#FDF7F8
surface
#FAEDF0
border
#D3C8CB
text
#14080C
muted
#837B7D

Preview Lab

Preview with #AF2C61

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

Preview Lab → · Contrast checker → · Palette generator →

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