#AF3289#AF3289

#AF3289 is a mid, vivid pink. Relative luminance 0.132; OKLCH L 53.4% C 0.184 H 342.6°. Best body text is #FFFFFF at 5.77:1 contrast (WCAG AA passes).

Color values

HEX#AF3289
RGBrgb(175, 50, 137)
HSLhsl(318, 56%, 44%)
HSVhsv(318, 71%, 69%)
CMYKcmyk(0%, 71.4%, 21.7%, 31.4%)
CIE-LABlab(43.07, 58.48, -20.60)
CIE-LCHlch(43.07, 62.00, 340.60°)
OKLaboklab(53.36% 0.1757 -0.0552)
OKLCHoklch(53.36% 0.184 342.6)
XYZxyz(23.3359, 13.2037, 24.9816)
Luminance0.1320 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF3289 #32AF58
analogous
#9732AF #AF3289 #AF324B
triadic
#AF3289 #89AF32 #3289AF
tetradic
#AF3289 #AF9732 #32AF58 #324BAF
square
#AF3289 #AF9732 #32AF58 #324BAF
split-complementary
#AF3289 #4BAF32 #32AF97
monochromatic
#50173E #7F2464 #AF3289 #CD51A7 #DB81BF

Accessibility & contrast

On white

5.77
#AF3289 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.64
#AF3289 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF3289
5.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF3289#FFFFFF#000000##FFFFFF
##AF32891.005.773.645.77
#FFFFFF5.771.0021.001.00
#0000003.6421.001.0021.00
##FFFFFF5.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E598B
Deuteranopia (green-blind)
#646D86
Tritanopia (blue-blind)
#BA3359
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #af3289;
/* rgb */ color: rgb(175, 50, 137);
/* oklch */ color: oklch(53.4% 0.184 342.6);
Tailwind
colors: {
  custom: {
    50: '#cb75ab',
    500: '#af3289',
    950: '#000000',
  },
}
SCSS
$custom: #af3289;
$custom-light: #cb75ab;
$custom-dark: #000000;
JSON
{
  "hex": "#af3289",
  "rgb": {
    "r": 175,
    "g": 50,
    "b": 137
  },
  "hsl": {
    "h": 318.24,
    "s": 55.556,
    "l": 44.118
  },
  "oklch": {
    "l": 0.53355,
    "c": 0.18411,
    "h": 342.6
  },
  "luminance": 0.13201
}

Semantic roles & 50–950 ramp

primary
#AF3289
secondary
#79C490
accent
#DF7749
background
#FCF7FA
surface
#F9EDF4
border
#D2C8CE
text
#140910
muted
#827B7F

Preview Lab

Preview with #AF3289

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

Preview Lab → · Contrast checker → · Palette generator →

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