#AF3C7B#AF3C7B

#AF3C7B is a mid, vivid pink. Relative luminance 0.138; OKLCH L 53.8% C 0.163 H 350.1°. Best body text is #FFFFFF at 5.59:1 contrast (WCAG AA passes).

Color values

HEX#AF3C7B
RGBrgb(175, 60, 123)
HSLhsl(327, 49%, 46%)
HSVhsv(327, 66%, 69%)
CMYKcmyk(0%, 65.7%, 29.7%, 31.4%)
CIE-LABlab(43.91, 52.75, -10.75)
CIE-LCHlch(43.91, 53.83, 348.48°)
OKLaboklab(53.79% 0.1604 -0.028)
OKLCHoklch(53.79% 0.163 350.1)
XYZxyz(22.8713, 13.7782, 20.1900)
Luminance0.1378 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF3C7B #3CAF70
analogous
#A93CAF #AF3C7B #AF3C42
triadic
#AF3C7B #7BAF3C #3C7BAF
tetradic
#AF3C7B #AFA93C #3CAF70 #3C42AF
square
#AF3C7B #AFA93C #3CAF70 #3C42AF
split-complementary
#AF3C7B #42AF3C #3CAFA9
monochromatic
#541D3B #812C5B #AF3C7B #C86099 #D88DB6

Accessibility & contrast

On white

5.59
#AF3C7B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.76
#AF3C7B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF3C7B
5.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF3C7B#FFFFFF#000000##FFFFFF
##AF3C7B1.005.593.765.59
#FFFFFF5.591.0021.001.00
#0000003.7621.001.0021.00
##FFFFFF5.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C5B7D
Deuteranopia (green-blind)
#6C6F78
Tritanopia (blue-blind)
#BB3756
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #af3c7b;
/* rgb */ color: rgb(175, 60, 123);
/* oklch */ color: oklch(53.8% 0.163 350.1);
Tailwind
colors: {
  custom: {
    50: '#cb79a1',
    500: '#af3c7b',
    950: '#000000',
  },
}
SCSS
$custom: #af3c7b;
$custom-light: #cb79a1;
$custom-dark: #000000;
JSON
{
  "hex": "#af3c7b",
  "rgb": {
    "r": 175,
    "g": 60,
    "b": 123
  },
  "hsl": {
    "h": 327.13,
    "s": 48.936,
    "l": 46.078
  },
  "oklch": {
    "l": 0.53792,
    "c": 0.16286,
    "h": 350.1
  },
  "luminance": 0.13776
}

Semantic roles & 50–950 ramp

primary
#AF3C7B
secondary
#84C3A0
accent
#D88D4F
background
#FCF7F9
surface
#F9EEF2
border
#D2C9CC
text
#140A0F
muted
#827C7E

Preview Lab

Preview with #AF3C7B

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

Preview Lab → · Contrast checker → · Palette generator →

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