#AF3A8F#AF3A8F

#AF3A8F is a mid, vivid pink. Relative luminance 0.141; OKLCH L 54.4% C 0.178 H 340.4°. Best body text is #FFFFFF at 5.49:1 contrast (WCAG AA passes).

Color values

HEX#AF3A8F
RGBrgb(175, 58, 143)
HSLhsl(316, 50%, 46%)
HSVhsv(316, 67%, 69%)
CMYKcmyk(0%, 66.9%, 18.3%, 31.4%)
CIE-LABlab(44.41, 56.29, -22.16)
CIE-LCHlch(44.41, 60.50, 338.51°)
OKLaboklab(54.42% 0.1675 -0.0597)
OKLCHoklch(54.42% 0.178 340.4)
XYZxyz(24.1508, 14.1255, 27.4358)
Luminance0.1412 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF3A8F #3AAF5A
analogous
#943AAF #AF3A8F #AF3A54
triadic
#AF3A8F #8FAF3A #3A8FAF
tetradic
#AF3A8F #AF943A #3AAF5A #3A54AF
square
#AF3A8F #AF943A #3AAF5A #3A54AF
split-complementary
#AF3A8F #54AF3A #3AAF94
monochromatic
#531C44 #812B69 #AF3A8F #C95DAC #D98BC3

Accessibility & contrast

On white

5.49
#AF3A8F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.82
#AF3A8F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF3A8F
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF3A8F#FFFFFF#000000##FFFFFF
##AF3A8F1.005.493.825.49
#FFFFFF5.491.0021.001.00
#0000003.8221.001.0021.00
##FFFFFF5.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#415D91
Deuteranopia (green-blind)
#65708C
Tritanopia (blue-blind)
#B93D5F
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #af3a8f;
/* rgb */ color: rgb(175, 58, 143);
/* oklch */ color: oklch(54.4% 0.178 340.4);
Tailwind
colors: {
  custom: {
    50: '#ca79b0',
    500: '#af3a8f',
    950: '#000000',
  },
}
SCSS
$custom: #af3a8f;
$custom-light: #ca79b0;
$custom-dark: #000000;
JSON
{
  "hex": "#af3a8f",
  "rgb": {
    "r": 175,
    "g": 58,
    "b": 143
  },
  "hsl": {
    "h": 316.41,
    "s": 50.215,
    "l": 45.686
  },
  "oklch": {
    "l": 0.54419,
    "c": 0.17784,
    "h": 340.4
  },
  "luminance": 0.14123
}

Semantic roles & 50–950 ramp

primary
#AF3A8F
secondary
#82C394
accent
#DA744E
background
#FCF7FA
surface
#F9EEF4
border
#D2C9CE
text
#140A10
muted
#827C7F

Preview Lab

Preview with #AF3A8F

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

Preview Lab → · Contrast checker → · Palette generator →

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