#AF3F89#AF3F89

#AF3F89 is a mid, vivid pink. Relative luminance 0.145; OKLCH L 54.7% C 0.167 H 343.5°. Best body text is #FFFFFF at 5.39:1 contrast (WCAG AA passes).

Color values

HEX#AF3F89
RGBrgb(175, 63, 137)
HSLhsl(320, 47%, 47%)
HSVhsv(320, 64%, 69%)
CMYKcmyk(0%, 64%, 21.7%, 31.4%)
CIE-LABlab(44.91, 53.37, -17.77)
CIE-LCHlch(44.91, 56.25, 341.59°)
OKLaboklab(54.7% 0.1601 -0.0474)
OKLCHoklch(54.7% 0.167 343.5)
XYZxyz(23.9728, 14.4774, 25.1939)
Luminance0.1447 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF3F89 #3FAF65
analogous
#9D3FAF #AF3F89 #AF3F51
triadic
#AF3F89 #89AF3F #3F89AF
tetradic
#AF3F89 #AF9D3F #3FAF65 #3F51AF
square
#AF3F89 #AF9D3F #3FAF65 #3F51AF
split-complementary
#AF3F89 #51AF3F #3FAF9D
monochromatic
#551F43 #822F66 #AF3F89 #C764A6 #D791C0

Accessibility & contrast

On white

5.39
#AF3F89 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.89
#AF3F89 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF3F89
5.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF3F89#FFFFFF#000000##FFFFFF
##AF3F891.005.393.895.39
#FFFFFF5.391.0021.001.00
#0000003.8921.001.0021.00
##FFFFFF5.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#495E8B
Deuteranopia (green-blind)
#6A7186
Tritanopia (blue-blind)
#BA3F5E
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #af3f89;
/* rgb */ color: rgb(175, 63, 137);
/* oklch */ color: oklch(54.7% 0.167 343.5);
Tailwind
colors: {
  custom: {
    50: '#ca7bab',
    500: '#af3f89',
    950: '#000000',
  },
}
SCSS
$custom: #af3f89;
$custom-light: #ca7bab;
$custom-dark: #000000;
JSON
{
  "hex": "#af3f89",
  "rgb": {
    "r": 175,
    "g": 63,
    "b": 137
  },
  "hsl": {
    "h": 320.357,
    "s": 47.059,
    "l": 46.667
  },
  "oklch": {
    "l": 0.54701,
    "c": 0.16691,
    "h": 343.5
  },
  "luminance": 0.14475
}

Semantic roles & 50–950 ramp

primary
#AF3F89
secondary
#87C39B
accent
#D77E51
background
#FCF7FA
surface
#F9EEF4
border
#D2C9CE
text
#140A10
muted
#827C7F

Preview Lab

Preview with #AF3F89

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

Preview Lab → · Contrast checker → · Palette generator →

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