#AF3891#AF3891

#AF3891 is a mid, vivid pink. Relative luminance 0.140; OKLCH L 54.3% C 0.182 H 339.4°. Best body text is #FFFFFF at 5.53:1 contrast (WCAG AA passes).

Color values

HEX#AF3891
RGBrgb(175, 56, 145)
HSLhsl(315, 52%, 45%)
HSVhsv(315, 68%, 69%)
CMYKcmyk(0%, 68%, 17.1%, 31.4%)
CIE-LABlab(44.22, 57.37, -23.67)
CIE-LCHlch(44.22, 62.06, 337.58°)
OKLaboklab(54.31% 0.1703 -0.0639)
OKLCHoklch(54.31% 0.182 339.4)
XYZxyz(24.2048, 13.9889, 28.2079)
Luminance0.1399 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF3891 #38AF56
analogous
#9138AF #AF3891 #AF3855
triadic
#AF3891 #91AF38 #3891AF
tetradic
#AF3891 #AF9138 #38AF56 #3855AF
square
#AF3891 #AF9138 #38AF56 #3855AF
split-complementary
#AF3891 #55AF38 #38AF91
monochromatic
#521A44 #81296B #AF3891 #CA5AAE #D988C5

Accessibility & contrast

On white

5.53
#AF3891 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.80
#AF3891 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF3891
5.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF3891#FFFFFF#000000##FFFFFF
##AF38911.005.533.805.53
#FFFFFF5.531.0021.001.00
#0000003.8021.001.0021.00
##FFFFFF5.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E5D94
Deuteranopia (green-blind)
#646F8E
Tritanopia (blue-blind)
#B93C5F
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #af3891;
/* rgb */ color: rgb(175, 56, 145);
/* oklch */ color: oklch(54.3% 0.182 339.4);
Tailwind
colors: {
  custom: {
    50: '#ca78b1',
    500: '#af3891',
    950: '#000000',
  },
}
SCSS
$custom: #af3891;
$custom-light: #ca78b1;
$custom-dark: #000000;
JSON
{
  "hex": "#af3891",
  "rgb": {
    "r": 175,
    "g": 56,
    "b": 145
  },
  "hsl": {
    "h": 315.126,
    "s": 51.515,
    "l": 45.294
  },
  "oklch": {
    "l": 0.54305,
    "c": 0.18185,
    "h": 339.4
  },
  "luminance": 0.13987
}

Semantic roles & 50–950 ramp

primary
#AF3891
secondary
#80C391
accent
#DB714D
background
#FCF7FA
surface
#F9EEF5
border
#D2C9CF
text
#140A10
muted
#827C7F

Preview Lab

Preview with #AF3891

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

Preview Lab → · Contrast checker → · Palette generator →

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