#AF4190#AF4190

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

Color values

HEX#AF4190
RGBrgb(175, 65, 144)
HSLhsl(317, 46%, 47%)
HSVhsv(317, 63%, 69%)
CMYKcmyk(0%, 62.9%, 17.7%, 31.4%)
CIE-LABlab(45.51, 53.53, -21.07)
CIE-LCHlch(45.51, 57.52, 338.51°)
OKLaboklab(55.24% 0.159 -0.0566)
OKLCHoklch(55.24% 0.169 340.4)
XYZxyz(24.6041, 14.9103, 27.9623)
Luminance0.1491 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF4190 #41AF60
analogous
#9741AF #AF4190 #AF4159
triadic
#AF4190 #90AF41 #4190AF
tetradic
#AF4190 #AF9741 #41AF60 #4159AF
square
#AF4190 #AF9741 #41AF60 #4159AF
split-complementary
#AF4190 #59AF41 #41AF97
monochromatic
#562047 #82306B #AF4190 #C667AB #D793C4

Accessibility & contrast

On white

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

On black

3.98
#AF4190 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##AF4190#FFFFFF#000000##FFFFFF
##AF41901.005.273.985.27
#FFFFFF5.271.0021.001.00
#0000003.9821.001.0021.00
##FFFFFF5.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#476192
Deuteranopia (green-blind)
#68728D
Tritanopia (blue-blind)
#B94362
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #af4190;
/* rgb */ color: rgb(175, 65, 144);
/* oklch */ color: oklch(55.2% 0.169 340.4);
Tailwind
colors: {
  custom: {
    50: '#ca7cb0',
    500: '#af4190',
    950: '#000000',
  },
}
SCSS
$custom: #af4190;
$custom-light: #ca7cb0;
$custom-dark: #000000;
JSON
{
  "hex": "#af4190",
  "rgb": {
    "r": 175,
    "g": 65,
    "b": 144
  },
  "hsl": {
    "h": 316.909,
    "s": 45.833,
    "l": 47.059
  },
  "oklch": {
    "l": 0.55237,
    "c": 0.16874,
    "h": 340.4
  },
  "luminance": 0.14908
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AF4190

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

Preview Lab → · Contrast checker → · Palette generator →

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