#AF3E71#AF3E71

#AF3E71 is a mid, vivid pink. Relative luminance 0.138; OKLCH L 53.7% C 0.155 H 355.7°. Best body text is #FFFFFF at 5.60:1 contrast (WCAG AA passes).

Color values

HEX#AF3E71
RGBrgb(175, 62, 113)
HSLhsl(333, 48%, 46%)
HSVhsv(333, 65%, 69%)
CMYKcmyk(0%, 64.6%, 35.4%, 31.4%)
CIE-LABlab(43.88, 50.68, -4.66)
CIE-LCHlch(43.88, 50.89, 354.75°)
OKLaboklab(53.65% 0.1548 -0.0116)
OKLCHoklch(53.65% 0.155 355.7)
XYZxyz(22.3837, 13.7539, 17.0956)
Luminance0.1375 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF3E71 #3EAF7C
analogous
#AF3EAA #AF3E71 #AF443E
triadic
#AF3E71 #71AF3E #3E71AF
tetradic
#AF3E71 #AAAF3E #3EAF7C #443EAF
square
#AF3E71 #AAAF3E #3EAF7C #443EAF
split-complementary
#AF3E71 #3EAF44 #3EAAAF
monochromatic
#551E37 #822E54 #AF3E71 #C86390 #D890B0

Accessibility & contrast

On white

5.60
#AF3E71 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.75
#AF3E71 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF3E71
5.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF3E71#FFFFFF#000000##FFFFFF
##AF3E711.005.603.755.60
#FFFFFF5.601.0021.001.00
#0000003.7521.001.0021.00
##FFFFFF5.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#515A72
Deuteranopia (green-blind)
#706F6E
Tritanopia (blue-blind)
#BC3553
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #af3e71;
/* rgb */ color: rgb(175, 62, 113);
/* oklch */ color: oklch(53.7% 0.155 355.7);
Tailwind
colors: {
  custom: {
    50: '#cb7a99',
    500: '#af3e71',
    950: '#000000',
  },
}
SCSS
$custom: #af3e71;
$custom-light: #cb7a99;
$custom-dark: #000000;
JSON
{
  "hex": "#af3e71",
  "rgb": {
    "r": 175,
    "g": 62,
    "b": 113
  },
  "hsl": {
    "h": 332.92,
    "s": 47.679,
    "l": 46.471
  },
  "oklch": {
    "l": 0.53653,
    "c": 0.15524,
    "h": 355.7
  },
  "luminance": 0.13751
}

Semantic roles & 50–950 ramp

primary
#AF3E71
secondary
#86C3A7
accent
#D79A51
background
#FCF7F9
surface
#F9EEF2
border
#D2C9CC
text
#140A0E
muted
#827C7E

Preview Lab

Preview with #AF3E71

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

Preview Lab → · Contrast checker → · Palette generator →

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