#AF4592#AF4592

#AF4592 is a mid, vivid pink. Relative luminance 0.154; OKLCH L 55.8% C 0.164 H 339.7°. Best body text is #FFFFFF at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#AF4592
RGBrgb(175, 69, 146)
HSLhsl(316, 43%, 48%)
HSVhsv(316, 61%, 69%)
CMYKcmyk(0%, 60.6%, 16.6%, 31.4%)
CIE-LABlab(46.24, 52.06, -21.15)
CIE-LCHlch(46.24, 56.19, 337.89°)
OKLaboklab(55.8% 0.1541 -0.0569)
OKLCHoklch(55.8% 0.164 339.7)
XYZxyz(24.9961, 15.4476, 28.8538)
Luminance0.1545 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF4592 #45AF62
analogous
#9745AF #AF4592 #AF455D
triadic
#AF4592 #92AF45 #4592AF
tetradic
#AF4592 #AF9745 #45AF62 #455DAF
square
#AF4592 #AF9745 #45AF62 #455DAF
split-complementary
#AF4592 #5DAF45 #45AF97
monochromatic
#572249 #83346D #AF4592 #C56CAD #D698C5

Accessibility & contrast

On white

5.14
#AF4592 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.09
#AF4592 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF4592
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF4592#FFFFFF#000000##FFFFFF
##AF45921.005.144.095.14
#FFFFFF5.141.0021.001.00
#0000004.0921.001.0021.00
##FFFFFF5.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A6394
Deuteranopia (green-blind)
#6A748F
Tritanopia (blue-blind)
#B94865
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #af4592;
/* rgb */ color: rgb(175, 69, 146);
/* oklch */ color: oklch(55.8% 0.164 339.7);
Tailwind
colors: {
  custom: {
    50: '#ca7fb2',
    500: '#af4592',
    950: '#000000',
  },
}
SCSS
$custom: #af4592;
$custom-light: #ca7fb2;
$custom-dark: #000000;
JSON
{
  "hex": "#af4592",
  "rgb": {
    "r": 175,
    "g": 69,
    "b": 146
  },
  "hsl": {
    "h": 316.415,
    "s": 43.443,
    "l": 47.843
  },
  "oklch": {
    "l": 0.55801,
    "c": 0.16423,
    "h": 339.7
  },
  "luminance": 0.15446
}

Semantic roles & 50–950 ramp

primary
#AF4592
secondary
#8DC29C
accent
#D37755
background
#FCF8FA
surface
#F9EFF5
border
#D2CACF
text
#140A11
muted
#827C80

Preview Lab

Preview with #AF4592

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

Preview Lab → · Contrast checker → · Palette generator →

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