#AF3B8A#AF3B8A

#AF3B8A is a mid, vivid pink. Relative luminance 0.141; OKLCH L 54.3% C 0.173 H 342.7°. Best body text is #FFFFFF at 5.50:1 contrast (WCAG AA passes).

Color values

HEX#AF3B8A
RGBrgb(175, 59, 138)
HSLhsl(319, 50%, 46%)
HSVhsv(319, 66%, 69%)
CMYKcmyk(0%, 66.3%, 21.1%, 31.4%)
CIE-LABlab(44.35, 55.17, -19.24)
CIE-LCHlch(44.35, 58.43, 340.78°)
OKLaboklab(54.3% 0.1653 -0.0514)
OKLCHoklch(54.3% 0.173 342.7)
XYZxyz(23.8313, 14.0791, 25.5023)
Luminance0.1408 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF3B8A #3BAF60
analogous
#9A3BAF #AF3B8A #AF3B50
triadic
#AF3B8A #8AAF3B #3B8AAF
tetradic
#AF3B8A #AF9A3B #3BAF60 #3B50AF
square
#AF3B8A #AF9A3B #3BAF60 #3B50AF
split-complementary
#AF3B8A #50AF3B #3BAF9A
monochromatic
#531C42 #812C66 #AF3B8A #C95EA7 #D88CC0

Accessibility & contrast

On white

5.50
#AF3B8A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.82
#AF3B8A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF3B8A
5.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF3B8A#FFFFFF#000000##FFFFFF
##AF3B8A1.005.503.825.50
#FFFFFF5.501.0021.001.00
#0000003.8221.001.0021.00
##FFFFFF5.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#455D8C
Deuteranopia (green-blind)
#687087
Tritanopia (blue-blind)
#BA3C5D
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #af3b8a;
/* rgb */ color: rgb(175, 59, 138);
/* oklch */ color: oklch(54.3% 0.173 342.7);
Tailwind
colors: {
  custom: {
    50: '#ca79ac',
    500: '#af3b8a',
    950: '#000000',
  },
}
SCSS
$custom: #af3b8a;
$custom-light: #ca79ac;
$custom-dark: #000000;
JSON
{
  "hex": "#af3b8a",
  "rgb": {
    "r": 175,
    "g": 59,
    "b": 138
  },
  "hsl": {
    "h": 319.138,
    "s": 49.573,
    "l": 45.882
  },
  "oklch": {
    "l": 0.54301,
    "c": 0.17316,
    "h": 342.7
  },
  "luminance": 0.14077
}

Semantic roles & 50–950 ramp

primary
#AF3B8A
secondary
#83C397
accent
#D97B4F
background
#FCF7FA
surface
#F9EEF4
border
#D2C9CE
text
#140A10
muted
#827C7F

Preview Lab

Preview with #AF3B8A

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

Preview Lab → · Contrast checker → · Palette generator →

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