#AF2C62#AF2C62

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

Color values

HEX#AF2C62
RGBrgb(175, 44, 98)
HSLhsl(335, 60%, 43%)
HSVhsv(335, 75%, 69%)
CMYKcmyk(0%, 74.9%, 44%, 31.4%)
CIE-LABlab(40.90, 56.00, 0.29)
CIE-LCHlch(40.90, 56.00, 0.29°)
OKLaboklab(51.3% 0.1718 0.0014)
OKLCHoklch(51.3% 0.172 0.5)
XYZxyz(20.7861, 11.7999, 12.7359)
Luminance0.1180 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF2C62 #2CAF79
analogous
#AF2CA3 #AF2C62 #AF372C
triadic
#AF2C62 #62AF2C #2C62AF
tetradic
#AF2C62 #A3AF2C #2CAF79 #372CAF
square
#AF2C62 #A3AF2C #2CAF79 #372CAF
split-complementary
#AF2C62 #2CAF37 #2CA3AF
monochromatic
#4D132B #7E2047 #AF2C62 #D14780 #DD78A2

Accessibility & contrast

On white

6.25
#AF2C62 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #AF2C62
6.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF2C62#FFFFFF#000000##FFFFFF
##AF2C621.006.253.366.25
#FFFFFF6.251.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#495063
Deuteranopia (green-blind)
#6C6A5F
Tritanopia (blue-blind)
#BE1643
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #af2c62;
/* rgb */ color: rgb(175, 44, 98);
/* oklch */ color: oklch(51.3% 0.172 0.5);
Tailwind
colors: {
  custom: {
    50: '#cc718e',
    500: '#af2c62',
    950: '#000000',
  },
}
SCSS
$custom: #af2c62;
$custom-light: #cc718e;
$custom-dark: #000000;
JSON
{
  "hex": "#af2c62",
  "rgb": {
    "r": 175,
    "g": 44,
    "b": 98
  },
  "hsl": {
    "h": 335.267,
    "s": 59.817,
    "l": 42.941
  },
  "oklch": {
    "l": 0.51298,
    "c": 0.17185,
    "h": 0.5
  },
  "luminance": 0.11797
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AF2C62

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

Preview Lab → · Contrast checker → · Palette generator →

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