#AF3C7E#AF3C7E

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

Color values

HEX#AF3C7E
RGBrgb(175, 60, 126)
HSLhsl(326, 49%, 46%)
HSVhsv(326, 66%, 69%)
CMYKcmyk(0%, 65.7%, 28%, 31.4%)
CIE-LABlab(44.02, 53.14, -12.42)
CIE-LCHlch(44.02, 54.57, 346.84°)
OKLaboklab(53.91% 0.1612 -0.0326)
OKLCHoklch(53.91% 0.165 348.6)
XYZxyz(23.0620, 13.8544, 21.1943)
Luminance0.1385 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF3C7E #3CAF6D
analogous
#A63CAF #AF3C7E #AF3C44
triadic
#AF3C7E #7EAF3C #3C7EAF
tetradic
#AF3C7E #AFA63C #3CAF6D #3C44AF
square
#AF3C7E #AFA63C #3CAF6D #3C44AF
split-complementary
#AF3C7E #44AF3C #3CAFA6
monochromatic
#541D3C #812C5D #AF3C7E #C8609C #D88DB8

Accessibility & contrast

On white

5.57
#AF3C7E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.77
#AF3C7E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF3C7E
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF3C7E#FFFFFF#000000##FFFFFF
##AF3C7E1.005.573.775.57
#FFFFFF5.571.0021.001.00
#0000003.7721.001.0021.00
##FFFFFF5.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B5B80
Deuteranopia (green-blind)
#6C6F7B
Tritanopia (blue-blind)
#BB3858
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #af3c7e;
/* rgb */ color: rgb(175, 60, 126);
/* oklch */ color: oklch(53.9% 0.165 348.6);
Tailwind
colors: {
  custom: {
    50: '#ca79a3',
    500: '#af3c7e',
    950: '#000000',
  },
}
SCSS
$custom: #af3c7e;
$custom-light: #ca79a3;
$custom-dark: #000000;
JSON
{
  "hex": "#af3c7e",
  "rgb": {
    "r": 175,
    "g": 60,
    "b": 126
  },
  "hsl": {
    "h": 325.565,
    "s": 48.936,
    "l": 46.078
  },
  "oklch": {
    "l": 0.5391,
    "c": 0.1645,
    "h": 348.6
  },
  "luminance": 0.13852
}

Semantic roles & 50–950 ramp

primary
#AF3C7E
secondary
#84C39F
accent
#D88A4F
background
#FCF7FA
surface
#F9EEF3
border
#D2C9CD
text
#140A0F
muted
#827C7F

Preview Lab

Preview with #AF3C7E

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

Preview Lab → · Contrast checker → · Palette generator →

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