#AF3899#AF3899

#AF3899 is a mid, vivid pink. Relative luminance 0.142; OKLCH L 54.7% C 0.188 H 336.1°. Best body text is #FFFFFF at 5.46:1 contrast (WCAG AA passes).

Color values

HEX#AF3899
RGBrgb(175, 56, 153)
HSLhsl(311, 52%, 45%)
HSVhsv(311, 68%, 69%)
CMYKcmyk(0%, 68%, 12.6%, 31.4%)
CIE-LABlab(44.58, 58.56, -27.93)
CIE-LCHlch(44.58, 64.88, 334.51°)
OKLaboklab(54.69% 0.1714 -0.076)
OKLCHoklch(54.69% 0.188 336.1)
XYZxyz(24.8435, 14.2444, 31.5718)
Luminance0.1424 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF3899 #38AF4E
analogous
#8938AF #AF3899 #AF385E
triadic
#AF3899 #99AF38 #3899AF
tetradic
#AF3899 #AF8938 #38AF4E #385EAF
square
#AF3899 #AF8938 #38AF4E #385EAF
split-complementary
#AF3899 #5EAF38 #38AF89
monochromatic
#521A48 #812970 #AF3899 #CA5AB5 #D988CA

Accessibility & contrast

On white

5.46
#AF3899 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.85
#AF3899 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF3899
5.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF3899#FFFFFF#000000##FFFFFF
##AF38991.005.463.855.46
#FFFFFF5.461.0021.001.00
#0000003.8521.001.0021.00
##FFFFFF5.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A5E9C
Deuteranopia (green-blind)
#617096
Tritanopia (blue-blind)
#B83F64
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #af3899;
/* rgb */ color: rgb(175, 56, 153);
/* oklch */ color: oklch(54.7% 0.188 336.1);
Tailwind
colors: {
  custom: {
    50: '#ca78b7',
    500: '#af3899',
    950: '#000000',
  },
}
SCSS
$custom: #af3899;
$custom-light: #ca78b7;
$custom-dark: #000000;
JSON
{
  "hex": "#af3899",
  "rgb": {
    "r": 175,
    "g": 56,
    "b": 153
  },
  "hsl": {
    "h": 311.092,
    "s": 51.515,
    "l": 45.294
  },
  "oklch": {
    "l": 0.54689,
    "c": 0.18751,
    "h": 336.1
  },
  "luminance": 0.14242
}

Semantic roles & 50–950 ramp

primary
#AF3899
secondary
#80C38C
accent
#DB674D
background
#FCF7FB
surface
#F9EEF6
border
#D2C9D0
text
#140A11
muted
#827C80

Preview Lab

Preview with #AF3899

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

Preview Lab → · Contrast checker → · Palette generator →

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