#AF4391#AF4391

#AF4391 is a mid, vivid pink. Relative luminance 0.152; OKLCH L 55.5% C 0.167 H 340.1°. Best body text is #FFFFFF at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#AF4391
RGBrgb(175, 67, 145)
HSLhsl(317, 45%, 47%)
HSVhsv(317, 62%, 69%)
CMYKcmyk(0%, 61.7%, 17.1%, 31.4%)
CIE-LABlab(45.87, 52.80, -21.12)
CIE-LCHlch(45.87, 56.87, 338.20°)
OKLaboklab(55.52% 0.1565 -0.0568)
OKLCHoklch(55.52% 0.167 340.1)
XYZxyz(24.7977, 15.1748, 28.4056)
Luminance0.1517 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF4391 #43AF61
analogous
#9743AF #AF4391 #AF435B
triadic
#AF4391 #91AF43 #4391AF
tetradic
#AF4391 #AF9743 #43AF61 #435BAF
square
#AF4391 #AF9743 #43AF61 #435BAF
split-complementary
#AF4391 #5BAF43 #43AF97
monochromatic
#562148 #83326C #AF4391 #C669AC #D796C5

Accessibility & contrast

On white

5.20
#AF4391 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.03
#AF4391 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF4391
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF4391#FFFFFF#000000##FFFFFF
##AF43911.005.204.035.20
#FFFFFF5.201.0021.001.00
#0000004.0321.001.0021.00
##FFFFFF5.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#496293
Deuteranopia (green-blind)
#69738E
Tritanopia (blue-blind)
#B94664
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #af4391;
/* rgb */ color: rgb(175, 67, 145);
/* oklch */ color: oklch(55.5% 0.167 340.1);
Tailwind
colors: {
  custom: {
    50: '#ca7eb1',
    500: '#af4391',
    950: '#000000',
  },
}
SCSS
$custom: #af4391;
$custom-light: #ca7eb1;
$custom-dark: #000000;
JSON
{
  "hex": "#af4391",
  "rgb": {
    "r": 175,
    "g": 67,
    "b": 145
  },
  "hsl": {
    "h": 316.667,
    "s": 44.628,
    "l": 47.451
  },
  "oklch": {
    "l": 0.55517,
    "c": 0.1665,
    "h": 340.1
  },
  "luminance": 0.15173
}

Semantic roles & 50–950 ramp

primary
#AF4391
secondary
#8BC29B
accent
#D47753
background
#FCF7FA
surface
#F9EEF5
border
#D2C9CF
text
#140A10
muted
#827C7F

Preview Lab

Preview with #AF4391

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

Preview Lab → · Contrast checker → · Palette generator →

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