#AF3287#AF3287

#AF3287 is a mid, vivid pink. Relative luminance 0.131; OKLCH L 53.3% C 0.183 H 343.4°. Best body text is #FFFFFF at 5.79:1 contrast (WCAG AA passes).

Color values

HEX#AF3287
RGBrgb(175, 50, 135)
HSLhsl(319, 56%, 44%)
HSVhsv(319, 71%, 69%)
CMYKcmyk(0%, 71.4%, 22.9%, 31.4%)
CIE-LABlab(42.98, 58.21, -19.51)
CIE-LCHlch(42.98, 61.39, 341.47°)
OKLaboklab(53.26% 0.1753 -0.0521)
OKLCHoklch(53.26% 0.183 343.4)
XYZxyz(23.1938, 13.1468, 24.2331)
Luminance0.1314 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF3287 #32AF5A
analogous
#9932AF #AF3287 #AF3249
triadic
#AF3287 #87AF32 #3287AF
tetradic
#AF3287 #AF9932 #32AF5A #3249AF
square
#AF3287 #AF9932 #32AF5A #3249AF
split-complementary
#AF3287 #49AF32 #32AF99
monochromatic
#50173E #7F2462 #AF3287 #CD51A5 #DB81BE

Accessibility & contrast

On white

5.79
#AF3287 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.63
#AF3287 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF3287
5.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF3287#FFFFFF#000000##FFFFFF
##AF32871.005.793.635.79
#FFFFFF5.791.0021.001.00
#0000003.6321.001.0021.00
##FFFFFF5.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F5889
Deuteranopia (green-blind)
#656D84
Tritanopia (blue-blind)
#BA3258
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #af3287;
/* rgb */ color: rgb(175, 50, 135);
/* oklch */ color: oklch(53.3% 0.183 343.4);
Tailwind
colors: {
  custom: {
    50: '#cb75aa',
    500: '#af3287',
    950: '#000000',
  },
}
SCSS
$custom: #af3287;
$custom-light: #cb75aa;
$custom-dark: #000000;
JSON
{
  "hex": "#af3287",
  "rgb": {
    "r": 175,
    "g": 50,
    "b": 135
  },
  "hsl": {
    "h": 319.2,
    "s": 55.556,
    "l": 44.118
  },
  "oklch": {
    "l": 0.53265,
    "c": 0.18286,
    "h": 343.4
  },
  "luminance": 0.13144
}

Semantic roles & 50–950 ramp

primary
#AF3287
secondary
#79C491
accent
#DF7949
background
#FCF7FA
surface
#F9EDF4
border
#D2C8CE
text
#140910
muted
#827B7F

Preview Lab

Preview with #AF3287

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

Preview Lab → · Contrast checker → · Palette generator →

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