#AF3B8F#AF3B8F

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

Color values

HEX#AF3B8F
RGBrgb(175, 59, 143)
HSLhsl(317, 50%, 46%)
HSVhsv(317, 66%, 69%)
CMYKcmyk(0%, 66.3%, 18.3%, 31.4%)
CIE-LABlab(44.56, 55.89, -21.94)
CIE-LCHlch(44.56, 60.04, 338.57°)
OKLaboklab(54.53% 0.1663 -0.059)
OKLCHoklch(54.53% 0.176 340.5)
XYZxyz(24.2017, 14.2273, 27.4528)
Luminance0.1422 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF3B8F #3BAF5B
analogous
#953BAF #AF3B8F #AF3B55
triadic
#AF3B8F #8FAF3B #3B8FAF
tetradic
#AF3B8F #AF953B #3BAF5B #3B55AF
square
#AF3B8F #AF953B #3BAF5B #3B55AF
split-complementary
#AF3B8F #55AF3B #3BAF95
monochromatic
#531C44 #812C6A #AF3B8F #C95EAB #D88CC3

Accessibility & contrast

On white

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

On black

3.84
#AF3B8F on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##AF3B8F#FFFFFF#000000##FFFFFF
##AF3B8F1.005.463.845.46
#FFFFFF5.461.0021.001.00
#0000003.8421.001.0021.00
##FFFFFF5.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#425E91
Deuteranopia (green-blind)
#66708C
Tritanopia (blue-blind)
#B93E60
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #af3b8f;
/* rgb */ color: rgb(175, 59, 143);
/* oklch */ color: oklch(54.5% 0.176 340.5);
Tailwind
colors: {
  custom: {
    50: '#ca79b0',
    500: '#af3b8f',
    950: '#000000',
  },
}
SCSS
$custom: #af3b8f;
$custom-light: #ca79b0;
$custom-dark: #000000;
JSON
{
  "hex": "#af3b8f",
  "rgb": {
    "r": 175,
    "g": 59,
    "b": 143
  },
  "hsl": {
    "h": 316.552,
    "s": 49.573,
    "l": 45.882
  },
  "oklch": {
    "l": 0.54525,
    "c": 0.17649,
    "h": 340.5
  },
  "luminance": 0.14225
}

Semantic roles & 50–950 ramp

primary
#AF3B8F
secondary
#83C395
accent
#D9754F
background
#FCF7FA
surface
#F9EEF4
border
#D2C9CE
text
#140A10
muted
#827C7F

Preview Lab

Preview with #AF3B8F

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

Preview Lab → · Contrast checker → · Palette generator →

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