#AF2C57#AF2C57

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

Color values

HEX#AF2C57
RGBrgb(175, 44, 87)
HSLhsl(340, 60%, 43%)
HSVhsv(340, 75%, 69%)
CMYKcmyk(0%, 74.9%, 50.3%, 31.4%)
CIE-LABlab(40.58, 54.99, 6.77)
CIE-LCHlch(40.58, 55.41, 7.01°)
OKLaboklab(50.97% 0.1679 0.0177)
OKLCHoklch(50.97% 0.169 6)
XYZxyz(20.3019, 11.6062, 10.1861)
Luminance0.1160 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF2C57 #2CAF84
analogous
#AF2C98 #AF2C57 #AF422C
triadic
#AF2C57 #57AF2C #2C57AF
tetradic
#AF2C57 #98AF2C #2CAF84 #422CAF
square
#AF2C57 #98AF2C #2CAF84 #422CAF
split-complementary
#AF2C57 #2CAF42 #2C98AF
monochromatic
#4D1326 #7E203F #AF2C57 #D14774 #DD7899

Accessibility & contrast

On white

6.32
#AF2C57 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #AF2C57
6.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF2C57#FFFFFF#000000##FFFFFF
##AF2C571.006.323.326.32
#FFFFFF6.321.0021.001.00
#0000003.3221.001.0021.00
##FFFFFF6.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C4F58
Deuteranopia (green-blind)
#6E6954
Tritanopia (blue-blind)
#BF0D3E
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #af2c57;
/* rgb */ color: rgb(175, 44, 87);
/* oklch */ color: oklch(51.0% 0.169 6.0);
Tailwind
colors: {
  custom: {
    50: '#cd7186',
    500: '#af2c57',
    950: '#000000',
  },
}
SCSS
$custom: #af2c57;
$custom-light: #cd7186;
$custom-dark: #000000;
JSON
{
  "hex": "#af2c57",
  "rgb": {
    "r": 175,
    "g": 44,
    "b": 87
  },
  "hsl": {
    "h": 340.305,
    "s": 59.817,
    "l": 42.941
  },
  "oklch": {
    "l": 0.50965,
    "c": 0.16883,
    "h": 6
  },
  "luminance": 0.11603
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AF2C57

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

Preview Lab → · Contrast checker → · Palette generator →

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