#AF4492#AF4492

#AF4492 is a mid, vivid pink. Relative luminance 0.153; OKLCH L 55.7% C 0.166 H 339.7°. Best body text is #FFFFFF at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#AF4492
RGBrgb(175, 68, 146)
HSLhsl(316, 44%, 48%)
HSVhsv(316, 61%, 69%)
CMYKcmyk(0%, 61.1%, 16.6%, 31.4%)
CIE-LABlab(46.08, 52.51, -21.40)
CIE-LCHlch(46.08, 56.70, 337.82°)
OKLaboklab(55.68% 0.1554 -0.0576)
OKLCHoklch(55.68% 0.166 339.7)
XYZxyz(24.9351, 15.3257, 28.8334)
Luminance0.1532 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF4492 #44AF61
analogous
#9744AF #AF4492 #AF445C
triadic
#AF4492 #92AF44 #4492AF
tetradic
#AF4492 #AF9744 #44AF61 #445CAF
square
#AF4492 #AF9744 #44AF61 #445CAF
split-complementary
#AF4492 #5CAF44 #44AF97
monochromatic
#572248 #83336D #AF4492 #C56BAD #D797C5

Accessibility & contrast

On white

5.17
#AF4492 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.06
#AF4492 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF4492
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF4492#FFFFFF#000000##FFFFFF
##AF44921.005.174.065.17
#FFFFFF5.171.0021.001.00
#0000004.0621.001.0021.00
##FFFFFF5.171.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #af4492;
/* rgb */ color: rgb(175, 68, 146);
/* oklch */ color: oklch(55.7% 0.166 339.7);
Tailwind
colors: {
  custom: {
    50: '#ca7eb2',
    500: '#af4492',
    950: '#000000',
  },
}
SCSS
$custom: #af4492;
$custom-light: #ca7eb2;
$custom-dark: #000000;
JSON
{
  "hex": "#af4492",
  "rgb": {
    "r": 175,
    "g": 68,
    "b": 146
  },
  "hsl": {
    "h": 316.262,
    "s": 44.033,
    "l": 47.647
  },
  "oklch": {
    "l": 0.55681,
    "c": 0.16573,
    "h": 339.7
  },
  "luminance": 0.15324
}

Semantic roles & 50–950 ramp

primary
#AF4492
secondary
#8CC29B
accent
#D47754
background
#FCF8FA
surface
#F9EFF5
border
#D2CACF
text
#140A11
muted
#827C80

Preview Lab

Preview with #AF4492

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

Preview Lab → · Contrast checker → · Palette generator →

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