#AF3488#AF3488

#AF3488 is a mid, vivid pink. Relative luminance 0.133; OKLCH L 53.5% C 0.181 H 343.1°. Best body text is #FFFFFF at 5.72:1 contrast (WCAG AA passes).

Color values

HEX#AF3488
RGBrgb(175, 52, 136)
HSLhsl(319, 54%, 45%)
HSVhsv(319, 70%, 69%)
CMYKcmyk(0%, 70.3%, 22.3%, 31.4%)
CIE-LABlab(43.29, 57.62, -19.65)
CIE-LCHlch(43.29, 60.88, 341.17°)
OKLaboklab(53.5% 0.1732 -0.0525)
OKLCHoklch(53.5% 0.181 343.1)
XYZxyz(23.3519, 13.3499, 24.6347)
Luminance0.1335 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF3488 #34AF5B
analogous
#9834AF #AF3488 #AF344B
triadic
#AF3488 #88AF34 #3488AF
tetradic
#AF3488 #AF9834 #34AF5B #344BAF
square
#AF3488 #AF9834 #34AF5B #344BAF
split-complementary
#AF3488 #4BAF34 #34AF98
monochromatic
#51183F #802663 #AF3488 #CC54A6 #DA83BF

Accessibility & contrast

On white

5.72
#AF3488 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.67
#AF3488 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF3488
5.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF3488#FFFFFF#000000##FFFFFF
##AF34881.005.723.675.72
#FFFFFF5.721.0021.001.00
#0000003.6721.001.0021.00
##FFFFFF5.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#40598A
Deuteranopia (green-blind)
#656E85
Tritanopia (blue-blind)
#BA3459
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #af3488;
/* rgb */ color: rgb(175, 52, 136);
/* oklch */ color: oklch(53.5% 0.181 343.1);
Tailwind
colors: {
  custom: {
    50: '#cb76ab',
    500: '#af3488',
    950: '#000000',
  },
}
SCSS
$custom: #af3488;
$custom-light: #cb76ab;
$custom-dark: #000000;
JSON
{
  "hex": "#af3488",
  "rgb": {
    "r": 175,
    "g": 52,
    "b": 136
  },
  "hsl": {
    "h": 319.024,
    "s": 54.185,
    "l": 44.51
  },
  "oklch": {
    "l": 0.53499,
    "c": 0.18103,
    "h": 343.1
  },
  "luminance": 0.13348
}

Semantic roles & 50–950 ramp

primary
#AF3488
secondary
#7BC492
accent
#DE794A
background
#FCF7FA
surface
#F9EEF4
border
#D2C9CE
text
#140910
muted
#827B7F

Preview Lab

Preview with #AF3488

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

Preview Lab → · Contrast checker → · Palette generator →

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