#AF4890#AF4890

#AF4890 is a mid, vivid pink. Relative luminance 0.158; OKLCH L 56.1% C 0.158 H 340.9°. Best body text is #FFFFFF at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#AF4890
RGBrgb(175, 72, 144)
HSLhsl(318, 42%, 48%)
HSVhsv(318, 59%, 69%)
CMYKcmyk(0%, 58.9%, 17.7%, 31.4%)
CIE-LABlab(46.66, 50.39, -19.30)
CIE-LCHlch(46.66, 53.96, 339.04°)
OKLaboklab(56.09% 0.1495 -0.0517)
OKLCHoklch(56.09% 0.158 340.9)
XYZxyz(25.0311, 15.7644, 28.1047)
Luminance0.1576 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF4890 #48AF67
analogous
#9A48AF #AF4890 #AF485D
triadic
#AF4890 #90AF48 #4890AF
tetradic
#AF4890 #AF9A48 #48AF67 #485DAF
square
#AF4890 #AF9A48 #48AF67 #485DAF
split-complementary
#AF4890 #5DAF48 #48AF9A
monochromatic
#582449 #84366C #AF4890 #C470AB #D69BC4

Accessibility & contrast

On white

5.06
#AF4890 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.15
#AF4890 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF4890
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF4890#FFFFFF#000000##FFFFFF
##AF48901.005.064.155.06
#FFFFFF5.061.0021.001.00
#0000004.1521.001.0021.00
##FFFFFF5.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E6492
Deuteranopia (green-blind)
#6C758D
Tritanopia (blue-blind)
#B94A66
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #af4890;
/* rgb */ color: rgb(175, 72, 144);
/* oklch */ color: oklch(56.1% 0.158 340.9);
Tailwind
colors: {
  custom: {
    50: '#ca80b0',
    500: '#af4890',
    950: '#000000',
  },
}
SCSS
$custom: #af4890;
$custom-light: #ca80b0;
$custom-dark: #000000;
JSON
{
  "hex": "#af4890",
  "rgb": {
    "r": 175,
    "g": 72,
    "b": 144
  },
  "hsl": {
    "h": 318.058,
    "s": 41.7,
    "l": 48.431
  },
  "oklch": {
    "l": 0.56086,
    "c": 0.15823,
    "h": 340.9
  },
  "luminance": 0.15762
}

Semantic roles & 50–950 ramp

primary
#AF4890
secondary
#90C29F
accent
#D27B56
background
#FCF8FA
surface
#F9EFF5
border
#D2CACF
text
#140B10
muted
#827C7F

Preview Lab

Preview with #AF4890

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

Preview Lab → · Contrast checker → · Palette generator →

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