#AF3C8A#AF3C8A

#AF3C8A is a mid, vivid pink. Relative luminance 0.142; OKLCH L 54.4% C 0.172 H 342.8°. Best body text is #FFFFFF at 5.47:1 contrast (WCAG AA passes).

Color values

HEX#AF3C8A
RGBrgb(175, 60, 138)
HSLhsl(319, 49%, 46%)
HSVhsv(319, 66%, 69%)
CMYKcmyk(0%, 65.7%, 21.1%, 31.4%)
CIE-LABlab(44.49, 54.77, -19.01)
CIE-LCHlch(44.49, 57.97, 340.86°)
OKLaboklab(54.41% 0.1641 -0.0508)
OKLCHoklch(54.41% 0.172 342.8)
XYZxyz(23.8832, 14.1829, 25.5196)
Luminance0.1418 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF3C8A #3CAF61
analogous
#9A3CAF #AF3C8A #AF3C51
triadic
#AF3C8A #8AAF3C #3C8AAF
tetradic
#AF3C8A #AF9A3C #3CAF61 #3C51AF
square
#AF3C8A #AF9A3C #3CAF61 #3C51AF
split-complementary
#AF3C8A #51AF3C #3CAF9A
monochromatic
#541D42 #812C66 #AF3C8A #C860A7 #D88DC0

Accessibility & contrast

On white

5.47
#AF3C8A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.84
#AF3C8A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF3C8A
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF3C8A#FFFFFF#000000##FFFFFF
##AF3C8A1.005.473.845.47
#FFFFFF5.471.0021.001.00
#0000003.8421.001.0021.00
##FFFFFF5.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#465D8C
Deuteranopia (green-blind)
#687087
Tritanopia (blue-blind)
#BA3D5D
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #af3c8a;
/* rgb */ color: rgb(175, 60, 138);
/* oklch */ color: oklch(54.4% 0.172 342.8);
Tailwind
colors: {
  custom: {
    50: '#ca7aac',
    500: '#af3c8a',
    950: '#000000',
  },
}
SCSS
$custom: #af3c8a;
$custom-light: #ca7aac;
$custom-dark: #000000;
JSON
{
  "hex": "#af3c8a",
  "rgb": {
    "r": 175,
    "g": 60,
    "b": 138
  },
  "hsl": {
    "h": 319.304,
    "s": 48.936,
    "l": 46.078
  },
  "oklch": {
    "l": 0.5441,
    "c": 0.17178,
    "h": 342.8
  },
  "luminance": 0.14181
}

Semantic roles & 50–950 ramp

primary
#AF3C8A
secondary
#84C398
accent
#D87B4F
background
#FCF7FA
surface
#F9EEF4
border
#D2C9CE
text
#140A10
muted
#827C7F

Preview Lab

Preview with #AF3C8A

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

Preview Lab → · Contrast checker → · Palette generator →

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