#AF2C52#AF2C52

#AF2C52 is a mid, vivid pink. Relative luminance 0.115; OKLCH L 50.8% C 0.168 H 8.5°. Best body text is #FFFFFF at 6.35:1 contrast (WCAG AA passes).

Color values

HEX#AF2C52
RGBrgb(175, 44, 82)
HSLhsl(343, 60%, 43%)
HSVhsv(343, 75%, 69%)
CMYKcmyk(0%, 74.9%, 53.1%, 31.4%)
CIE-LABlab(40.45, 54.57, 9.74)
CIE-LCHlch(40.45, 55.44, 10.12°)
OKLaboklab(50.83% 0.166 0.025)
OKLCHoklch(50.83% 0.168 8.5)
XYZxyz(20.1047, 11.5273, 9.1473)
Luminance0.1153 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF2C52 #2CAF89
analogous
#AF2C94 #AF2C52 #AF472C
triadic
#AF2C52 #52AF2C #2C52AF
tetradic
#AF2C52 #94AF2C #2CAF89 #472CAF
square
#AF2C52 #94AF2C #2CAF89 #472CAF
split-complementary
#AF2C52 #2CAF47 #2C94AF
monochromatic
#4D1324 #7E203B #AF2C52 #D1476F #DD7896

Accessibility & contrast

On white

6.35
#AF2C52 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.31
#AF2C52 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF2C52
6.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF2C52#FFFFFF#000000##FFFFFF
##AF2C521.006.353.316.35
#FFFFFF6.351.0021.001.00
#0000003.3121.001.0021.00
##FFFFFF6.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D4F53
Deuteranopia (green-blind)
#6F694F
Tritanopia (blue-blind)
#BF083C
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #af2c52;
/* rgb */ color: rgb(175, 44, 82);
/* oklch */ color: oklch(50.8% 0.168 8.5);
Tailwind
colors: {
  custom: {
    50: '#cd7182',
    500: '#af2c52',
    950: '#000000',
  },
}
SCSS
$custom: #af2c52;
$custom-light: #cd7182;
$custom-dark: #000000;
JSON
{
  "hex": "#af2c52",
  "rgb": {
    "r": 175,
    "g": 44,
    "b": 82
  },
  "hsl": {
    "h": 342.595,
    "s": 59.817,
    "l": 42.941
  },
  "oklch": {
    "l": 0.50828,
    "c": 0.16786,
    "h": 8.5
  },
  "luminance": 0.11525
}

Semantic roles & 50–950 ramp

primary
#AF2C52
secondary
#72C5AD
accent
#E3B545
background
#FDF7F7
surface
#FAEDEE
border
#D3C8C9
text
#15080A
muted
#837B7C

Preview Lab

Preview with #AF2C52

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

Preview Lab → · Contrast checker → · Palette generator →

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