#AF4D8A#AF4D8A

#AF4D8A is a mid, vivid pink. Relative luminance 0.163; OKLCH L 56.5% C 0.146 H 344.5°. Best body text is #FFFFFF at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#AF4D8A
RGBrgb(175, 77, 138)
HSLhsl(323, 39%, 49%)
HSVhsv(323, 56%, 69%)
CMYKcmyk(0%, 56%, 21.1%, 31.4%)
CIE-LABlab(47.31, 47.12, -14.71)
CIE-LCHlch(47.31, 49.37, 342.67°)
OKLaboklab(56.49% 0.141 -0.039)
OKLCHoklch(56.49% 0.146 344.5)
XYZxyz(24.9212, 16.2588, 25.8656)
Luminance0.1626 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF4D8A #4DAF72
analogous
#A34DAF #AF4D8A #AF4D59
triadic
#AF4D8A #8AAF4D #4D8AAF
tetradic
#AF4D8A #AFA34D #4DAF72 #4D59AF
square
#AF4D8A #AFA34D #4DAF72 #4D59AF
split-complementary
#AF4D8A #59AF4D #4DAFA3
monochromatic
#5A2847 #853A68 #AF4D8A #C376A6 #D6A1C2

Accessibility & contrast

On white

4.94
#AF4D8A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.25
#AF4D8A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF4D8A
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF4D8A#FFFFFF#000000##FFFFFF
##AF4D8A1.004.944.254.94
#FFFFFF4.941.0021.001.00
#0000004.2521.001.0021.00
##FFFFFF4.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#55668C
Deuteranopia (green-blind)
#707688
Tritanopia (blue-blind)
#B94C65
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #af4d8a;
/* rgb */ color: rgb(175, 77, 138);
/* oklch */ color: oklch(56.5% 0.146 344.5);
Tailwind
colors: {
  custom: {
    50: '#c983ac',
    500: '#af4d8a',
    950: '#000000',
  },
}
SCSS
$custom: #af4d8a;
$custom-light: #c983ac;
$custom-dark: #000000;
JSON
{
  "hex": "#af4d8a",
  "rgb": {
    "r": 175,
    "g": 77,
    "b": 138
  },
  "hsl": {
    "h": 322.653,
    "s": 38.889,
    "l": 49.412
  },
  "oklch": {
    "l": 0.56489,
    "c": 0.14625,
    "h": 344.5
  },
  "luminance": 0.16257
}

Semantic roles & 50–950 ramp

primary
#AF4D8A
secondary
#95C3A6
accent
#CF8559
background
#FCF8FA
surface
#F9EFF4
border
#D2CACE
text
#140B10
muted
#827C7F

Preview Lab

Preview with #AF4D8A

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

Preview Lab → · Contrast checker → · Palette generator →

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