#AF2C59#AF2C59

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

Color values

HEX#AF2C59
RGBrgb(175, 44, 89)
HSLhsl(339, 60%, 43%)
HSVhsv(339, 75%, 69%)
CMYKcmyk(0%, 74.9%, 49.1%, 31.4%)
CIE-LABlab(40.64, 55.17, 5.58)
CIE-LCHlch(40.64, 55.45, 5.78°)
OKLaboklab(51.02% 0.1686 0.0148)
OKLCHoklch(51.02% 0.169 5)
XYZxyz(20.3848, 11.6393, 10.6225)
Luminance0.1164 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF2C59 #2CAF82
analogous
#AF2C9A #AF2C59 #AF402C
triadic
#AF2C59 #59AF2C #2C59AF
tetradic
#AF2C59 #9AAF2C #2CAF82 #402CAF
square
#AF2C59 #9AAF2C #2CAF82 #402CAF
split-complementary
#AF2C59 #2CAF40 #2C9AAF
monochromatic
#4D1327 #7E2040 #AF2C59 #D14777 #DD789B

Accessibility & contrast

On white

6.31
#AF2C59 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #AF2C59
6.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF2C59#FFFFFF#000000##FFFFFF
##AF2C591.006.313.336.31
#FFFFFF6.311.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C4F5A
Deuteranopia (green-blind)
#6E6956
Tritanopia (blue-blind)
#BF0E3F
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #af2c59;
/* rgb */ color: rgb(175, 44, 89);
/* oklch */ color: oklch(51.0% 0.169 5.0);
Tailwind
colors: {
  custom: {
    50: '#cd7187',
    500: '#af2c59',
    950: '#000000',
  },
}
SCSS
$custom: #af2c59;
$custom-light: #cd7187;
$custom-dark: #000000;
JSON
{
  "hex": "#af2c59",
  "rgb": {
    "r": 175,
    "g": 44,
    "b": 89
  },
  "hsl": {
    "h": 339.389,
    "s": 59.817,
    "l": 42.941
  },
  "oklch": {
    "l": 0.51022,
    "c": 0.16929,
    "h": 5
  },
  "luminance": 0.11637
}

Semantic roles & 50–950 ramp

primary
#AF2C59
secondary
#72C5A8
accent
#E3AD45
background
#FDF7F8
surface
#FAEDEF
border
#D3C8CA
text
#15080B
muted
#837B7C

Preview Lab

Preview with #AF2C59

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

Preview Lab → · Contrast checker → · Palette generator →

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