#AF2C5A#AF2C5A

#AF2C5A is a mid, vivid pink. Relative luminance 0.117; OKLCH L 51.1% C 0.170 H 4.5°. Best body text is #FFFFFF at 6.30:1 contrast (WCAG AA passes).

Color values

HEX#AF2C5A
RGBrgb(175, 44, 90)
HSLhsl(339, 60%, 43%)
HSVhsv(339, 75%, 69%)
CMYKcmyk(0%, 74.9%, 48.6%, 31.4%)
CIE-LABlab(40.66, 55.25, 4.99)
CIE-LCHlch(40.66, 55.48, 5.16°)
OKLaboklab(51.05% 0.169 0.0133)
OKLCHoklch(51.05% 0.17 4.5)
XYZxyz(20.4271, 11.6563, 10.8451)
Luminance0.1165 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF2C5A #2CAF81
analogous
#AF2C9B #AF2C5A #AF3F2C
triadic
#AF2C5A #5AAF2C #2C5AAF
tetradic
#AF2C5A #9BAF2C #2CAF81 #3F2CAF
square
#AF2C5A #9BAF2C #2CAF81 #3F2CAF
split-complementary
#AF2C5A #2CAF3F #2C9BAF
monochromatic
#4D1328 #7E2041 #AF2C5A #D14778 #DD789C

Accessibility & contrast

On white

6.30
#AF2C5A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.33
#AF2C5A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF2C5A
6.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF2C5A#FFFFFF#000000##FFFFFF
##AF2C5A1.006.303.336.30
#FFFFFF6.301.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B4F5B
Deuteranopia (green-blind)
#6E6957
Tritanopia (blue-blind)
#BF0F40
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #af2c5a;
/* rgb */ color: rgb(175, 44, 90);
/* oklch */ color: oklch(51.1% 0.170 4.5);
Tailwind
colors: {
  custom: {
    50: '#cd7188',
    500: '#af2c5a',
    950: '#000000',
  },
}
SCSS
$custom: #af2c5a;
$custom-light: #cd7188;
$custom-dark: #000000;
JSON
{
  "hex": "#af2c5a",
  "rgb": {
    "r": 175,
    "g": 44,
    "b": 90
  },
  "hsl": {
    "h": 338.931,
    "s": 59.817,
    "l": 42.941
  },
  "oklch": {
    "l": 0.51051,
    "c": 0.16953,
    "h": 4.5
  },
  "luminance": 0.11654
}

Semantic roles & 50–950 ramp

primary
#AF2C5A
secondary
#72C5A8
accent
#E3AB45
background
#FDF7F8
surface
#FAEDEF
border
#D3C8CA
text
#14080B
muted
#837B7C

Preview Lab

Preview with #AF2C5A

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

Preview Lab → · Contrast checker → · Palette generator →

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