#AF3291#AF3291

#AF3291 is a mid, vivid pink. Relative luminance 0.134; OKLCH L 53.7% C 0.189 H 339.2°. Best body text is #FFFFFF at 5.69:1 contrast (WCAG AA passes).

Color values

HEX#AF3291
RGBrgb(175, 50, 145)
HSLhsl(314, 56%, 44%)
HSVhsv(314, 71%, 69%)
CMYKcmyk(0%, 71.4%, 17.1%, 31.4%)
CIE-LABlab(43.42, 59.60, -24.91)
CIE-LCHlch(43.42, 64.60, 337.32°)
OKLaboklab(53.73% 0.177 -0.0673)
OKLCHoklch(53.73% 0.189 339.2)
XYZxyz(23.9312, 13.4418, 28.1167)
Luminance0.1344 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF3291 #32AF50
analogous
#8F32AF #AF3291 #AF3253
triadic
#AF3291 #91AF32 #3291AF
tetradic
#AF3291 #AF8F32 #32AF50 #3253AF
square
#AF3291 #AF8F32 #32AF50 #3253AF
split-complementary
#AF3291 #53AF32 #32AF8F
monochromatic
#501742 #7F246A #AF3291 #CD51AF #DB81C5

Accessibility & contrast

On white

5.69
#AF3291 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.69
#AF3291 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF3291
5.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF3291#FFFFFF#000000##FFFFFF
##AF32911.005.693.695.69
#FFFFFF5.691.0021.001.00
#0000003.6921.001.0021.00
##FFFFFF5.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#395A94
Deuteranopia (green-blind)
#616E8E
Tritanopia (blue-blind)
#B9375D
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #af3291;
/* rgb */ color: rgb(175, 50, 145);
/* oklch */ color: oklch(53.7% 0.189 339.2);
Tailwind
colors: {
  custom: {
    50: '#cb75b1',
    500: '#af3291',
    950: '#000000',
  },
}
SCSS
$custom: #af3291;
$custom-light: #cb75b1;
$custom-dark: #000000;
JSON
{
  "hex": "#af3291",
  "rgb": {
    "r": 175,
    "g": 50,
    "b": 145
  },
  "hsl": {
    "h": 314.4,
    "s": 55.556,
    "l": 44.118
  },
  "oklch": {
    "l": 0.53727,
    "c": 0.18935,
    "h": 339.2
  },
  "luminance": 0.13439
}

Semantic roles & 50–950 ramp

primary
#AF3291
secondary
#79C48B
accent
#DF6D49
background
#FCF7FA
surface
#F9EDF5
border
#D2C8CF
text
#140910
muted
#827B7F

Preview Lab

Preview with #AF3291

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

Preview Lab → · Contrast checker → · Palette generator →

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