#AF4292#AF4292

#AF4292 is a mid, vivid pink. Relative luminance 0.151; OKLCH L 55.4% C 0.169 H 339.5°. Best body text is #FFFFFF at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#AF4292
RGBrgb(175, 66, 146)
HSLhsl(316, 45%, 47%)
HSVhsv(316, 62%, 69%)
CMYKcmyk(0%, 62.3%, 16.6%, 31.4%)
CIE-LABlab(45.75, 53.39, -21.90)
CIE-LCHlch(45.75, 57.71, 337.70°)
OKLaboklab(55.44% 0.158 -0.059)
OKLCHoklch(55.44% 0.169 339.5)
XYZxyz(24.8162, 15.0879, 28.7938)
Luminance0.1509 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF4292 #42AF5F
analogous
#9542AF #AF4292 #AF425C
triadic
#AF4292 #92AF42 #4292AF
tetradic
#AF4292 #AF9542 #42AF5F #425CAF
square
#AF4292 #AF9542 #42AF5F #425CAF
split-complementary
#AF4292 #5CAF42 #42AF95
monochromatic
#562048 #83316D #AF4292 #C668AD #D795C5

Accessibility & contrast

On white

5.23
#AF4292 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.02
#AF4292 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF4292
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF4292#FFFFFF#000000##FFFFFF
##AF42921.005.234.025.23
#FFFFFF5.231.0021.001.00
#0000004.0221.001.0021.00
##FFFFFF5.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#476194
Deuteranopia (green-blind)
#68738F
Tritanopia (blue-blind)
#B94564
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #af4292;
/* rgb */ color: rgb(175, 66, 146);
/* oklch */ color: oklch(55.4% 0.169 339.5);
Tailwind
colors: {
  custom: {
    50: '#ca7db2',
    500: '#af4292',
    950: '#000000',
  },
}
SCSS
$custom: #af4292;
$custom-light: #ca7db2;
$custom-dark: #000000;
JSON
{
  "hex": "#af4292",
  "rgb": {
    "r": 175,
    "g": 66,
    "b": 146
  },
  "hsl": {
    "h": 315.963,
    "s": 45.228,
    "l": 47.255
  },
  "oklch": {
    "l": 0.55443,
    "c": 0.16869,
    "h": 339.5
  },
  "luminance": 0.15086
}

Semantic roles & 50–950 ramp

primary
#AF4292
secondary
#8AC299
accent
#D57553
background
#FCF7FA
surface
#F9EEF5
border
#D2C9CF
text
#140A11
muted
#827C80

Preview Lab

Preview with #AF4292

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

Preview Lab → · Contrast checker → · Palette generator →

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