#AF2C74#AF2C74

#AF2C74 is a mid, vivid pink. Relative luminance 0.122; OKLCH L 51.9% C 0.179 H 351.6°. Best body text is #FFFFFF at 6.11:1 contrast (WCAG AA passes).

Color values

HEX#AF2C74
RGBrgb(175, 44, 116)
HSLhsl(327, 60%, 43%)
HSVhsv(327, 75%, 69%)
CMYKcmyk(0%, 74.9%, 33.7%, 31.4%)
CIE-LABlab(41.50, 57.91, -10.07)
CIE-LCHlch(41.50, 58.78, 350.14°)
OKLaboklab(51.94% 0.1773 -0.026)
OKLCHoklch(51.94% 0.179 351.6)
XYZxyz(21.7335, 12.1788, 17.7258)
Luminance0.1218 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF2C74 #2CAF67
analogous
#A82CAF #AF2C74 #AF2C32
triadic
#AF2C74 #74AF2C #2C74AF
tetradic
#AF2C74 #AFA82C #2CAF67 #2C32AF
square
#AF2C74 #AFA82C #2CAF67 #2C32AF
split-complementary
#AF2C74 #32AF2C #2CAFA8
monochromatic
#4D1333 #7E2054 #AF2C74 #D14793 #DD78B0

Accessibility & contrast

On white

6.11
#AF2C74 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.44
#AF2C74 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF2C74
6.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF2C74#FFFFFF#000000##FFFFFF
##AF2C741.006.113.446.11
#FFFFFF6.111.0021.001.00
#0000003.4421.001.0021.00
##FFFFFF6.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#435376
Deuteranopia (green-blind)
#686A71
Tritanopia (blue-blind)
#BC224C
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #af2c74;
/* rgb */ color: rgb(175, 44, 116);
/* oklch */ color: oklch(51.9% 0.179 351.6);
Tailwind
colors: {
  custom: {
    50: '#cb729c',
    500: '#af2c74',
    950: '#000000',
  },
}
SCSS
$custom: #af2c74;
$custom-light: #cb729c;
$custom-dark: #000000;
JSON
{
  "hex": "#af2c74",
  "rgb": {
    "r": 175,
    "g": 44,
    "b": 116
  },
  "hsl": {
    "h": 327.023,
    "s": 59.817,
    "l": 42.941
  },
  "oklch": {
    "l": 0.51937,
    "c": 0.17923,
    "h": 351.6
  },
  "luminance": 0.12176
}

Semantic roles & 50–950 ramp

primary
#AF2C74
secondary
#72C597
accent
#E38C45
background
#FDF7F9
surface
#FAEDF2
border
#D3C8CC
text
#14090E
muted
#837B7E

Preview Lab

Preview with #AF2C74

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

Preview Lab → · Contrast checker → · Palette generator →

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