#AF4296#AF4296

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

Color values

HEX#AF4296
RGBrgb(175, 66, 150)
HSLhsl(314, 45%, 47%)
HSVhsv(314, 62%, 69%)
CMYKcmyk(0%, 62.3%, 14.3%, 31.4%)
CIE-LABlab(45.93, 54.00, -24.04)
CIE-LCHlch(45.93, 59.11, 336.01°)
OKLaboklab(55.63% 0.1588 -0.065)
OKLCHoklch(55.63% 0.172 337.7)
XYZxyz(25.1328, 15.2145, 30.4613)
Luminance0.1521 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF4296 #42AF5B
analogous
#9142AF #AF4296 #AF4260
triadic
#AF4296 #96AF42 #4296AF
tetradic
#AF4296 #AF9142 #42AF5B #4260AF
square
#AF4296 #AF9142 #42AF5B #4260AF
split-complementary
#AF4296 #60AF42 #42AF91
monochromatic
#56204A #833170 #AF4296 #C668B1 #D795C8

Accessibility & contrast

On white

5.19
#AF4296 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #AF4296
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF4296#FFFFFF#000000##FFFFFF
##AF42961.005.194.045.19
#FFFFFF5.191.0021.001.00
#0000004.0421.001.0021.00
##FFFFFF5.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#456299
Deuteranopia (green-blind)
#677393
Tritanopia (blue-blind)
#B84666
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #af4296;
/* rgb */ color: rgb(175, 66, 150);
/* oklch */ color: oklch(55.6% 0.172 337.7);
Tailwind
colors: {
  custom: {
    50: '#ca7db5',
    500: '#af4296',
    950: '#000000',
  },
}
SCSS
$custom: #af4296;
$custom-light: #ca7db5;
$custom-dark: #000000;
JSON
{
  "hex": "#af4296",
  "rgb": {
    "r": 175,
    "g": 66,
    "b": 150
  },
  "hsl": {
    "h": 313.761,
    "s": 45.228,
    "l": 47.255
  },
  "oklch": {
    "l": 0.55626,
    "c": 0.17159,
    "h": 337.7
  },
  "luminance": 0.15212
}

Semantic roles & 50–950 ramp

primary
#AF4296
secondary
#8AC297
accent
#D57153
background
#FCF7FB
surface
#F9EEF6
border
#D2C9D0
text
#140A11
muted
#827C80

Preview Lab

Preview with #AF4296

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

Preview Lab → · Contrast checker → · Palette generator →

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