#AF4192#AF4192

#AF4192 is a mid, vivid pink. Relative luminance 0.150; OKLCH L 55.3% C 0.170 H 339.5°. Best body text is #FFFFFF at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#AF4192
RGBrgb(175, 65, 146)
HSLhsl(316, 46%, 47%)
HSVhsv(316, 63%, 69%)
CMYKcmyk(0%, 62.9%, 16.6%, 31.4%)
CIE-LABlab(45.60, 53.82, -22.15)
CIE-LCHlch(45.60, 58.20, 337.64°)
OKLaboklab(55.33% 0.1593 -0.0597)
OKLCHoklch(55.33% 0.17 339.5)
XYZxyz(24.7583, 14.9720, 28.7745)
Luminance0.1497 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF4192 #41AF5E
analogous
#9541AF #AF4192 #AF415B
triadic
#AF4192 #92AF41 #4192AF
tetradic
#AF4192 #AF9541 #41AF5E #415BAF
square
#AF4192 #AF9541 #41AF5E #415BAF
split-complementary
#AF4192 #5BAF41 #41AF95
monochromatic
#562048 #82306D #AF4192 #C667AD #D793C5

Accessibility & contrast

On white

5.26
#AF4192 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #AF4192
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF4192#FFFFFF#000000##FFFFFF
##AF41921.005.263.995.26
#FFFFFF5.261.0021.001.00
#0000003.9921.001.0021.00
##FFFFFF5.261.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #af4192;
/* rgb */ color: rgb(175, 65, 146);
/* oklch */ color: oklch(55.3% 0.170 339.5);
Tailwind
colors: {
  custom: {
    50: '#ca7db2',
    500: '#af4192',
    950: '#000000',
  },
}
SCSS
$custom: #af4192;
$custom-light: #ca7db2;
$custom-dark: #000000;
JSON
{
  "hex": "#af4192",
  "rgb": {
    "r": 175,
    "g": 65,
    "b": 146
  },
  "hsl": {
    "h": 315.818,
    "s": 45.833,
    "l": 47.059
  },
  "oklch": {
    "l": 0.55327,
    "c": 0.17015,
    "h": 339.5
  },
  "luminance": 0.1497
}

Semantic roles & 50–950 ramp

primary
#AF4192
secondary
#89C298
accent
#D57552
background
#FCF7FA
surface
#F9EEF5
border
#D2C9CF
text
#140A11
muted
#827C80

Preview Lab

Preview with #AF4192

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

Preview Lab → · Contrast checker → · Palette generator →

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