#AF3D98#AF3D98

#AF3D98 is a mid, vivid pink. Relative luminance 0.147; OKLCH L 55.2% C 0.180 H 336.7°. Best body text is #FFFFFF at 5.33:1 contrast (WCAG AA passes).

Color values

HEX#AF3D98
RGBrgb(175, 61, 152)
HSLhsl(312, 48%, 46%)
HSVhsv(312, 65%, 69%)
CMYKcmyk(0%, 65.1%, 13.1%, 31.4%)
CIE-LABlab(45.25, 56.42, -26.29)
CIE-LCHlch(45.25, 62.24, 335.02°)
OKLaboklab(55.16% 0.1654 -0.0714)
OKLCHoklch(55.16% 0.18 336.7)
XYZxyz(25.0158, 14.7206, 31.2235)
Luminance0.1472 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF3D98 #3DAF54
analogous
#8D3DAF #AF3D98 #AF3D5F
triadic
#AF3D98 #98AF3D #3D98AF
tetradic
#AF3D98 #AF8D3D #3DAF54 #3D5FAF
square
#AF3D98 #AF8D3D #3DAF54 #3D5FAF
split-complementary
#AF3D98 #5FAF3D #3DAF8D
monochromatic
#541D49 #822D71 #AF3D98 #C861B3 #D88FC9

Accessibility & contrast

On white

5.33
#AF3D98 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.94
#AF3D98 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF3D98
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF3D98#FFFFFF#000000##FFFFFF
##AF3D981.005.333.945.33
#FFFFFF5.331.0021.001.00
#0000003.9421.001.0021.00
##FFFFFF5.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F609B
Deuteranopia (green-blind)
#637195
Tritanopia (blue-blind)
#B84365
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #af3d98;
/* rgb */ color: rgb(175, 61, 152);
/* oklch */ color: oklch(55.2% 0.180 336.7);
Tailwind
colors: {
  custom: {
    50: '#ca7bb6',
    500: '#af3d98',
    950: '#000000',
  },
}
SCSS
$custom: #af3d98;
$custom-light: #ca7bb6;
$custom-dark: #000000;
JSON
{
  "hex": "#af3d98",
  "rgb": {
    "r": 175,
    "g": 61,
    "b": 152
  },
  "hsl": {
    "h": 312.105,
    "s": 48.305,
    "l": 46.275
  },
  "oklch": {
    "l": 0.5516,
    "c": 0.18013,
    "h": 336.7
  },
  "luminance": 0.14718
}

Semantic roles & 50–950 ramp

primary
#AF3D98
secondary
#85C392
accent
#D86B50
background
#FCF7FB
surface
#F9EEF6
border
#D2C9D0
text
#140A11
muted
#827C80

Preview Lab

Preview with #AF3D98

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

Preview Lab → · Contrast checker → · Palette generator →

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