#AF2C94#AF2C94

#AF2C94 is a mid, vivid pink. Relative luminance 0.131; OKLCH L 53.4% C 0.198 H 337.8°. Best body text is #FFFFFF at 5.82:1 contrast (WCAG AA passes).

Color values

HEX#AF2C94
RGBrgb(175, 44, 148)
HSLhsl(312, 60%, 43%)
HSVhsv(312, 75%, 69%)
CMYKcmyk(0%, 74.9%, 15.4%, 31.4%)
CIE-LABlab(42.85, 62.05, -27.62)
CIE-LCHlch(42.85, 67.92, 336.01°)
OKLaboklab(53.36% 0.1834 -0.075)
OKLCHoklch(53.36% 0.198 337.8)
XYZxyz(23.9257, 13.0557, 29.2712)
Luminance0.1305 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF2C94 #2CAF47
analogous
#882CAF #AF2C94 #AF2C53
triadic
#AF2C94 #94AF2C #2C94AF
tetradic
#AF2C94 #AF882C #2CAF47 #2C53AF
square
#AF2C94 #AF882C #2CAF47 #2C53AF
split-complementary
#AF2C94 #53AF2C #2CAF88
monochromatic
#4D1341 #7E206B #AF2C94 #D147B4 #DD78C8

Accessibility & contrast

On white

5.82
#AF2C94 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.61
#AF2C94 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF2C94
5.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF2C94#FFFFFF#000000##FFFFFF
##AF2C941.005.823.615.82
#FFFFFF5.821.0021.001.00
#0000003.6121.001.0021.00
##FFFFFF5.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#315897
Deuteranopia (green-blind)
#5E6C91
Tritanopia (blue-blind)
#B9335D
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #af2c94;
/* rgb */ color: rgb(175, 44, 148);
/* oklch */ color: oklch(53.4% 0.198 337.8);
Tailwind
colors: {
  custom: {
    50: '#cb73b3',
    500: '#af2c94',
    950: '#000000',
  },
}
SCSS
$custom: #af2c94;
$custom-light: #cb73b3;
$custom-dark: #000000;
JSON
{
  "hex": "#af2c94",
  "rgb": {
    "r": 175,
    "g": 44,
    "b": 148
  },
  "hsl": {
    "h": 312.366,
    "s": 59.817,
    "l": 42.941
  },
  "oklch": {
    "l": 0.53356,
    "c": 0.19819,
    "h": 337.8
  },
  "luminance": 0.13053
}

Semantic roles & 50–950 ramp

primary
#AF2C94
secondary
#72C583
accent
#E36545
background
#FCF7FB
surface
#F9EDF6
border
#D2C8D0
text
#140911
muted
#827B80

Preview Lab

Preview with #AF2C94

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

Preview Lab → · Contrast checker → · Palette generator →

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