#AF3F7F#AF3F7F

#AF3F7F is a mid, vivid pink. Relative luminance 0.142; OKLCH L 54.3% C 0.161 H 348.5°. Best body text is #FFFFFF at 5.47:1 contrast (WCAG AA passes).

Color values

HEX#AF3F7F
RGBrgb(175, 63, 127)
HSLhsl(326, 47%, 47%)
HSVhsv(326, 64%, 69%)
CMYKcmyk(0%, 64%, 27.4%, 31.4%)
CIE-LABlab(44.52, 52.00, -12.27)
CIE-LCHlch(44.52, 53.43, 346.72°)
OKLaboklab(54.29% 0.1576 -0.0322)
OKLCHoklch(54.29% 0.161 348.5)
XYZxyz(23.2884, 14.2036, 21.5897)
Luminance0.1420 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF3F7F #3FAF6F
analogous
#A73FAF #AF3F7F #AF3F47
triadic
#AF3F7F #7FAF3F #3F7FAF
tetradic
#AF3F7F #AFA73F #3FAF6F #3F47AF
square
#AF3F7F #AFA73F #3FAF6F #3F47AF
split-complementary
#AF3F7F #47AF3F #3FAFA7
monochromatic
#551F3E #822F5E #AF3F7F #C7649D #D791B9

Accessibility & contrast

On white

5.47
#AF3F7F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #AF3F7F
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF3F7F#FFFFFF#000000##FFFFFF
##AF3F7F1.005.473.845.47
#FFFFFF5.471.0021.001.00
#0000003.8421.001.0021.00
##FFFFFF5.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D5D81
Deuteranopia (green-blind)
#6D707C
Tritanopia (blue-blind)
#BB3B59
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #af3f7f;
/* rgb */ color: rgb(175, 63, 127);
/* oklch */ color: oklch(54.3% 0.161 348.5);
Tailwind
colors: {
  custom: {
    50: '#ca7ba4',
    500: '#af3f7f',
    950: '#000000',
  },
}
SCSS
$custom: #af3f7f;
$custom-light: #ca7ba4;
$custom-dark: #000000;
JSON
{
  "hex": "#af3f7f",
  "rgb": {
    "r": 175,
    "g": 63,
    "b": 127
  },
  "hsl": {
    "h": 325.714,
    "s": 47.059,
    "l": 46.667
  },
  "oklch": {
    "l": 0.5429,
    "c": 0.16084,
    "h": 348.5
  },
  "luminance": 0.14201
}

Semantic roles & 50–950 ramp

primary
#AF3F7F
secondary
#87C3A1
accent
#D78A51
background
#FCF7FA
surface
#F9EEF4
border
#D2C9CE
text
#140A0F
muted
#827C7F

Preview Lab

Preview with #AF3F7F

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

Preview Lab → · Contrast checker → · Palette generator →

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