#AF3F74#AF3F74

#AF3F74 is a mid, vivid pink. Relative luminance 0.139; OKLCH L 53.9% C 0.155 H 354.3°. Best body text is #FFFFFF at 5.55:1 contrast (WCAG AA passes).

Color values

HEX#AF3F74
RGBrgb(175, 63, 116)
HSLhsl(332, 47%, 47%)
HSVhsv(332, 64%, 69%)
CMYKcmyk(0%, 64%, 33.7%, 31.4%)
CIE-LABlab(44.14, 50.60, -6.12)
CIE-LCHlch(44.14, 50.97, 353.10°)
OKLaboklab(53.88% 0.1544 -0.0155)
OKLCHoklch(53.88% 0.155 354.3)
XYZxyz(22.6103, 13.9324, 18.0181)
Luminance0.1393 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF3F74 #3FAF7A
analogous
#AF3FAC #AF3F74 #AF423F
triadic
#AF3F74 #74AF3F #3F74AF
tetradic
#AF3F74 #ACAF3F #3FAF7A #423FAF
square
#AF3F74 #ACAF3F #3FAF7A #423FAF
split-complementary
#AF3F74 #3FAF42 #3FACAF
monochromatic
#551F38 #822F56 #AF3F74 #C76493 #D791B2

Accessibility & contrast

On white

5.55
#AF3F74 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.79
#AF3F74 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF3F74
5.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF3F74#FFFFFF#000000##FFFFFF
##AF3F741.005.553.795.55
#FFFFFF5.551.0021.001.00
#0000003.7921.001.0021.00
##FFFFFF5.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#515B76
Deuteranopia (green-blind)
#6F7071
Tritanopia (blue-blind)
#BC3754
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #af3f74;
/* rgb */ color: rgb(175, 63, 116);
/* oklch */ color: oklch(53.9% 0.155 354.3);
Tailwind
colors: {
  custom: {
    50: '#cb7b9c',
    500: '#af3f74',
    950: '#000000',
  },
}
SCSS
$custom: #af3f74;
$custom-light: #cb7b9c;
$custom-dark: #000000;
JSON
{
  "hex": "#af3f74",
  "rgb": {
    "r": 175,
    "g": 63,
    "b": 116
  },
  "hsl": {
    "h": 331.607,
    "s": 47.059,
    "l": 46.667
  },
  "oklch": {
    "l": 0.53877,
    "c": 0.15518,
    "h": 354.3
  },
  "luminance": 0.1393
}

Semantic roles & 50–950 ramp

primary
#AF3F74
secondary
#87C3A6
accent
#D79751
background
#FCF7F9
surface
#F9EEF2
border
#D2C9CC
text
#140A0E
muted
#827C7E

Preview Lab

Preview with #AF3F74

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

Preview Lab → · Contrast checker → · Palette generator →

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