#AF4E91#AF4E91

#AF4E91 is a mid, vivid pink. Relative luminance 0.166; OKLCH L 56.9% C 0.149 H 341.0°. Best body text is #FFFFFF at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#AF4E91
RGBrgb(175, 78, 145)
HSLhsl(319, 38%, 50%)
HSVhsv(319, 55%, 69%)
CMYKcmyk(0%, 55.4%, 17.1%, 31.4%)
CIE-LABlab(47.76, 47.70, -18.21)
CIE-LCHlch(47.76, 51.06, 339.10°)
OKLaboklab(56.91% 0.1413 -0.0488)
OKLCHoklch(56.91% 0.149 341)
XYZxyz(25.5149, 16.6091, 28.6446)
Luminance0.1661 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF4E91 #4EAF6C
analogous
#9D4EAF #AF4E91 #AF4E60
triadic
#AF4E91 #91AF4E #4E91AF
tetradic
#AF4E91 #AF9D4E #4EAF6C #4E60AF
square
#AF4E91 #AF9D4E #4EAF6C #4E60AF
split-complementary
#AF4E91 #60AF4E #4EAF9D
monochromatic
#5A284B #853B6E #AF4E91 #C378AB #D6A2C6

Accessibility & contrast

On white

4.86
#AF4E91 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.32
#AF4E91 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF4E91
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF4E91#FFFFFF#000000##FFFFFF
##AF4E911.004.864.324.86
#FFFFFF4.861.0021.001.00
#0000004.3221.001.0021.00
##FFFFFF4.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#536893
Deuteranopia (green-blind)
#6F778E
Tritanopia (blue-blind)
#B84F69
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #af4e91;
/* rgb */ color: rgb(175, 78, 145);
/* oklch */ color: oklch(56.9% 0.149 341.0);
Tailwind
colors: {
  custom: {
    50: '#c984b1',
    500: '#af4e91',
    950: '#000000',
  },
}
SCSS
$custom: #af4e91;
$custom-light: #c984b1;
$custom-dark: #000000;
JSON
{
  "hex": "#af4e91",
  "rgb": {
    "r": 175,
    "g": 78,
    "b": 145
  },
  "hsl": {
    "h": 318.557,
    "s": 38.34,
    "l": 49.608
  },
  "oklch": {
    "l": 0.56912,
    "c": 0.14945,
    "h": 341
  },
  "luminance": 0.16607
}

Semantic roles & 50–950 ramp

primary
#AF4E91
secondary
#96C3A4
accent
#CE7E5A
background
#FCF8FA
surface
#F9EFF5
border
#D2CACF
text
#130B10
muted
#827C7F

Preview Lab

Preview with #AF4E91

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

Preview Lab → · Contrast checker → · Palette generator →

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