#AF4191#AF4191

#AF4191 is a mid, vivid pink. Relative luminance 0.149; OKLCH L 55.3% C 0.169 H 339.9°. Best body text is #FFFFFF at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#AF4191
RGBrgb(175, 65, 145)
HSLhsl(316, 46%, 47%)
HSVhsv(316, 63%, 69%)
CMYKcmyk(0%, 62.9%, 17.1%, 31.4%)
CIE-LABlab(45.55, 53.67, -21.61)
CIE-LCHlch(45.55, 57.86, 338.07°)
OKLaboklab(55.28% 0.1591 -0.0582)
OKLCHoklch(55.28% 0.169 339.9)
XYZxyz(24.6808, 14.9411, 28.3666)
Luminance0.1494 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF4191 #41AF5F
analogous
#9641AF #AF4191 #AF415A
triadic
#AF4191 #91AF41 #4191AF
tetradic
#AF4191 #AF9641 #41AF5F #415AAF
square
#AF4191 #AF9641 #41AF5F #415AAF
split-complementary
#AF4191 #5AAF41 #41AF96
monochromatic
#562047 #82306C #AF4191 #C667AC #D793C5

Accessibility & contrast

On white

5.27
#AF4191 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.99
#AF4191 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF4191
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF4191#FFFFFF#000000##FFFFFF
##AF41911.005.273.995.27
#FFFFFF5.271.0021.001.00
#0000003.9921.001.0021.00
##FFFFFF5.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#476193
Deuteranopia (green-blind)
#68728E
Tritanopia (blue-blind)
#B94463
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #af4191;
/* rgb */ color: rgb(175, 65, 145);
/* oklch */ color: oklch(55.3% 0.169 339.9);
Tailwind
colors: {
  custom: {
    50: '#ca7db1',
    500: '#af4191',
    950: '#000000',
  },
}
SCSS
$custom: #af4191;
$custom-light: #ca7db1;
$custom-dark: #000000;
JSON
{
  "hex": "#af4191",
  "rgb": {
    "r": 175,
    "g": 65,
    "b": 145
  },
  "hsl": {
    "h": 316.364,
    "s": 45.833,
    "l": 47.059
  },
  "oklch": {
    "l": 0.55282,
    "c": 0.16943,
    "h": 339.9
  },
  "luminance": 0.14939
}

Semantic roles & 50–950 ramp

primary
#AF4191
secondary
#89C299
accent
#D57652
background
#FCF7FA
surface
#F9EEF5
border
#D2C9CF
text
#140A10
muted
#827C7F

Preview Lab

Preview with #AF4191

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

Preview Lab → · Contrast checker → · Palette generator →

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