#AF3C7C#AF3C7C

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

Color values

HEX#AF3C7C
RGBrgb(175, 60, 124)
HSLhsl(327, 49%, 46%)
HSVhsv(327, 66%, 69%)
CMYKcmyk(0%, 65.7%, 29.1%, 31.4%)
CIE-LABlab(43.95, 52.88, -11.31)
CIE-LCHlch(43.95, 54.07, 347.93°)
OKLaboklab(53.83% 0.1607 -0.0295)
OKLCHoklch(53.83% 0.163 349.6)
XYZxyz(22.9342, 13.8033, 20.5214)
Luminance0.1380 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF3C7C #3CAF6F
analogous
#A83CAF #AF3C7C #AF3C42
triadic
#AF3C7C #7CAF3C #3C7CAF
tetradic
#AF3C7C #AFA83C #3CAF6F #3C42AF
square
#AF3C7C #AFA83C #3CAF6F #3C42AF
split-complementary
#AF3C7C #42AF3C #3CAFA8
monochromatic
#541D3B #812C5C #AF3C7C #C8609A #D88DB7

Accessibility & contrast

On white

5.58
#AF3C7C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #AF3C7C
5.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF3C7C#FFFFFF#000000##FFFFFF
##AF3C7C1.005.583.765.58
#FFFFFF5.581.0021.001.00
#0000003.7621.001.0021.00
##FFFFFF5.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C5B7E
Deuteranopia (green-blind)
#6C6F79
Tritanopia (blue-blind)
#BB3757
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #af3c7c;
/* rgb */ color: rgb(175, 60, 124);
/* oklch */ color: oklch(53.8% 0.163 349.6);
Tailwind
colors: {
  custom: {
    50: '#cb79a2',
    500: '#af3c7c',
    950: '#000000',
  },
}
SCSS
$custom: #af3c7c;
$custom-light: #cb79a2;
$custom-dark: #000000;
JSON
{
  "hex": "#af3c7c",
  "rgb": {
    "r": 175,
    "g": 60,
    "b": 124
  },
  "hsl": {
    "h": 326.609,
    "s": 48.936,
    "l": 46.078
  },
  "oklch": {
    "l": 0.53831,
    "c": 0.1634,
    "h": 349.6
  },
  "luminance": 0.13801
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AF3C7C

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

Preview Lab → · Contrast checker → · Palette generator →

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