#AF3E89#AF3E89

#AF3E89 is a mid, vivid pink. Relative luminance 0.144; OKLCH L 54.6% C 0.168 H 343.4°. Best body text is #FFFFFF at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#AF3E89
RGBrgb(175, 62, 137)
HSLhsl(320, 48%, 46%)
HSVhsv(320, 65%, 69%)
CMYKcmyk(0%, 64.6%, 21.7%, 31.4%)
CIE-LABlab(44.76, 53.79, -18.00)
CIE-LCHlch(44.76, 56.72, 341.50°)
OKLaboklab(54.59% 0.1613 -0.048)
OKLCHoklch(54.59% 0.168 343.4)
XYZxyz(23.9179, 14.3676, 25.1756)
Luminance0.1436 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF3E89 #3EAF64
analogous
#9D3EAF #AF3E89 #AF3E51
triadic
#AF3E89 #89AF3E #3E89AF
tetradic
#AF3E89 #AF9D3E #3EAF64 #3E51AF
square
#AF3E89 #AF9D3E #3EAF64 #3E51AF
split-complementary
#AF3E89 #51AF3E #3EAF9D
monochromatic
#551E42 #822E66 #AF3E89 #C863A6 #D890BF

Accessibility & contrast

On white

5.42
#AF3E89 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.87
#AF3E89 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF3E89
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF3E89#FFFFFF#000000##FFFFFF
##AF3E891.005.423.875.42
#FFFFFF5.421.0021.001.00
#0000003.8721.001.0021.00
##FFFFFF5.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#485E8B
Deuteranopia (green-blind)
#697186
Tritanopia (blue-blind)
#BA3E5E
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #af3e89;
/* rgb */ color: rgb(175, 62, 137);
/* oklch */ color: oklch(54.6% 0.168 343.4);
Tailwind
colors: {
  custom: {
    50: '#ca7bab',
    500: '#af3e89',
    950: '#000000',
  },
}
SCSS
$custom: #af3e89;
$custom-light: #ca7bab;
$custom-dark: #000000;
JSON
{
  "hex": "#af3e89",
  "rgb": {
    "r": 175,
    "g": 62,
    "b": 137
  },
  "hsl": {
    "h": 320.177,
    "s": 47.679,
    "l": 46.471
  },
  "oklch": {
    "l": 0.54588,
    "c": 0.16833,
    "h": 343.4
  },
  "luminance": 0.14365
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AF3E89

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

Preview Lab → · Contrast checker → · Palette generator →

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