#AF3C92#AF3C92

#AF3C92 is a mid, vivid pink. Relative luminance 0.144; OKLCH L 54.8% C 0.177 H 339.2°. Best body text is #FFFFFF at 5.41:1 contrast (WCAG AA passes).

Color values

HEX#AF3C92
RGBrgb(175, 60, 146)
HSLhsl(315, 49%, 46%)
HSVhsv(315, 66%, 69%)
CMYKcmyk(0%, 65.7%, 16.6%, 31.4%)
CIE-LABlab(44.83, 55.92, -23.32)
CIE-LCHlch(44.83, 60.59, 337.36°)
OKLaboklab(54.77% 0.1656 -0.063)
OKLCHoklch(54.77% 0.177 339.2)
XYZxyz(24.4839, 14.4232, 28.6830)
Luminance0.1442 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF3C92 #3CAF59
analogous
#923CAF #AF3C92 #AF3C59
triadic
#AF3C92 #92AF3C #3C92AF
tetradic
#AF3C92 #AF923C #3CAF59 #3C59AF
square
#AF3C92 #AF923C #3CAF59 #3C59AF
split-complementary
#AF3C92 #59AF3C #3CAF92
monochromatic
#541D46 #812C6C #AF3C92 #C860AE #D88DC5

Accessibility & contrast

On white

5.41
#AF3C92 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.88
#AF3C92 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF3C92
5.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF3C92#FFFFFF#000000##FFFFFF
##AF3C921.005.413.885.41
#FFFFFF5.411.0021.001.00
#0000003.8821.001.0021.00
##FFFFFF5.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#425E95
Deuteranopia (green-blind)
#65718F
Tritanopia (blue-blind)
#B94061
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #af3c92;
/* rgb */ color: rgb(175, 60, 146);
/* oklch */ color: oklch(54.8% 0.177 339.2);
Tailwind
colors: {
  custom: {
    50: '#ca7ab2',
    500: '#af3c92',
    950: '#000000',
  },
}
SCSS
$custom: #af3c92;
$custom-light: #ca7ab2;
$custom-dark: #000000;
JSON
{
  "hex": "#af3c92",
  "rgb": {
    "r": 175,
    "g": 60,
    "b": 146
  },
  "hsl": {
    "h": 315.13,
    "s": 48.936,
    "l": 46.078
  },
  "oklch": {
    "l": 0.54769,
    "c": 0.17719,
    "h": 339.2
  },
  "luminance": 0.14421
}

Semantic roles & 50–950 ramp

primary
#AF3C92
secondary
#84C394
accent
#D8724F
background
#FCF7FA
surface
#F9EEF5
border
#D2C9CF
text
#140A11
muted
#827C80

Preview Lab

Preview with #AF3C92

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

Preview Lab → · Contrast checker → · Palette generator →

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