#AF4392#AF4392

#AF4392 is a mid, vivid pink. Relative luminance 0.152; OKLCH L 55.6% C 0.167 H 339.6°. Best body text is #FFFFFF at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#AF4392
RGBrgb(175, 67, 146)
HSLhsl(316, 45%, 47%)
HSVhsv(316, 62%, 69%)
CMYKcmyk(0%, 61.7%, 16.6%, 31.4%)
CIE-LABlab(45.91, 52.95, -21.65)
CIE-LCHlch(45.91, 57.21, 337.76°)
OKLaboklab(55.56% 0.1567 -0.0583)
OKLCHoklch(55.56% 0.167 339.6)
XYZxyz(24.8751, 15.2057, 28.8135)
Luminance0.1520 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF4392 #43AF60
analogous
#9643AF #AF4392 #AF435C
triadic
#AF4392 #92AF43 #4392AF
tetradic
#AF4392 #AF9643 #43AF60 #435CAF
square
#AF4392 #AF9643 #43AF60 #435CAF
split-complementary
#AF4392 #5CAF43 #43AF96
monochromatic
#562148 #83326D #AF4392 #C669AD #D796C5

Accessibility & contrast

On white

5.20
#AF4392 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.04
#AF4392 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF4392
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF4392#FFFFFF#000000##FFFFFF
##AF43921.005.204.045.20
#FFFFFF5.201.0021.001.00
#0000004.0421.001.0021.00
##FFFFFF5.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#486294
Deuteranopia (green-blind)
#69738F
Tritanopia (blue-blind)
#B94664
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #af4392;
/* rgb */ color: rgb(175, 67, 146);
/* oklch */ color: oklch(55.6% 0.167 339.6);
Tailwind
colors: {
  custom: {
    50: '#ca7eb2',
    500: '#af4392',
    950: '#000000',
  },
}
SCSS
$custom: #af4392;
$custom-light: #ca7eb2;
$custom-dark: #000000;
JSON
{
  "hex": "#af4392",
  "rgb": {
    "r": 175,
    "g": 67,
    "b": 146
  },
  "hsl": {
    "h": 316.111,
    "s": 44.628,
    "l": 47.451
  },
  "oklch": {
    "l": 0.55561,
    "c": 0.16722,
    "h": 339.6
  },
  "luminance": 0.15204
}

Semantic roles & 50–950 ramp

primary
#AF4392
secondary
#8BC29A
accent
#D47653
background
#FCF7FA
surface
#F9EEF5
border
#D2C9CF
text
#140A11
muted
#827C80

Preview Lab

Preview with #AF4392

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

Preview Lab → · Contrast checker → · Palette generator →

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