#AF2C56#AF2C56

#AF2C56 is a mid, vivid pink. Relative luminance 0.116; OKLCH L 50.9% C 0.169 H 6.5°. Best body text is #FFFFFF at 6.33:1 contrast (WCAG AA passes).

Color values

HEX#AF2C56
RGBrgb(175, 44, 86)
HSLhsl(341, 60%, 43%)
HSVhsv(341, 75%, 69%)
CMYKcmyk(0%, 74.9%, 50.9%, 31.4%)
CIE-LABlab(40.56, 54.91, 7.36)
CIE-LCHlch(40.56, 55.40, 7.63°)
OKLaboklab(50.94% 0.1675 0.0192)
OKLCHoklch(50.94% 0.169 6.5)
XYZxyz(20.2614, 11.5900, 9.9725)
Luminance0.1159 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF2C56 #2CAF85
analogous
#AF2C97 #AF2C56 #AF432C
triadic
#AF2C56 #56AF2C #2C56AF
tetradic
#AF2C56 #97AF2C #2CAF85 #432CAF
square
#AF2C56 #97AF2C #2CAF85 #432CAF
split-complementary
#AF2C56 #2CAF43 #2C97AF
monochromatic
#4D1326 #7E203E #AF2C56 #D14773 #DD7899

Accessibility & contrast

On white

6.33
#AF2C56 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.32
#AF2C56 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF2C56
6.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF2C56#FFFFFF#000000##FFFFFF
##AF2C561.006.333.326.33
#FFFFFF6.331.0021.001.00
#0000003.3221.001.0021.00
##FFFFFF6.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C4F57
Deuteranopia (green-blind)
#6F6953
Tritanopia (blue-blind)
#BF0C3E
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #af2c56;
/* rgb */ color: rgb(175, 44, 86);
/* oklch */ color: oklch(50.9% 0.169 6.5);
Tailwind
colors: {
  custom: {
    50: '#cd7185',
    500: '#af2c56',
    950: '#000000',
  },
}
SCSS
$custom: #af2c56;
$custom-light: #cd7185;
$custom-dark: #000000;
JSON
{
  "hex": "#af2c56",
  "rgb": {
    "r": 175,
    "g": 44,
    "b": 86
  },
  "hsl": {
    "h": 340.763,
    "s": 59.817,
    "l": 42.941
  },
  "oklch": {
    "l": 0.50937,
    "c": 0.16862,
    "h": 6.5
  },
  "luminance": 0.11587
}

Semantic roles & 50–950 ramp

primary
#AF2C56
secondary
#72C5AA
accent
#E3B045
background
#FDF7F8
surface
#FAEDEF
border
#D3C8CA
text
#15080B
muted
#837B7C

Preview Lab

Preview with #AF2C56

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

Preview Lab → · Contrast checker → · Palette generator →

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