#AF3C7D#AF3C7D

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

Color values

HEX#AF3C7D
RGBrgb(175, 60, 125)
HSLhsl(326, 49%, 46%)
HSVhsv(326, 66%, 69%)
CMYKcmyk(0%, 65.7%, 28.6%, 31.4%)
CIE-LABlab(43.99, 53.01, -11.86)
CIE-LCHlch(43.99, 54.32, 347.38°)
OKLaboklab(53.87% 0.161 -0.031)
OKLCHoklch(53.87% 0.164 349.1)
XYZxyz(22.9978, 13.8287, 20.8561)
Luminance0.1383 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF3C7D #3CAF6E
analogous
#A73CAF #AF3C7D #AF3C43
triadic
#AF3C7D #7DAF3C #3C7DAF
tetradic
#AF3C7D #AFA73C #3CAF6E #3C43AF
square
#AF3C7D #AFA73C #3CAF6E #3C43AF
split-complementary
#AF3C7D #43AF3C #3CAFA7
monochromatic
#541D3C #812C5C #AF3C7D #C8609B #D88DB8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AF3C7D#FFFFFF#000000##FFFFFF
##AF3C7D1.005.583.775.58
#FFFFFF5.581.0021.001.00
#0000003.7721.001.0021.00
##FFFFFF5.581.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #af3c7d;
/* rgb */ color: rgb(175, 60, 125);
/* oklch */ color: oklch(53.9% 0.164 349.1);
Tailwind
colors: {
  custom: {
    50: '#cb79a2',
    500: '#af3c7d',
    950: '#000000',
  },
}
SCSS
$custom: #af3c7d;
$custom-light: #cb79a2;
$custom-dark: #000000;
JSON
{
  "hex": "#af3c7d",
  "rgb": {
    "r": 175,
    "g": 60,
    "b": 125
  },
  "hsl": {
    "h": 326.087,
    "s": 48.936,
    "l": 46.078
  },
  "oklch": {
    "l": 0.5387,
    "c": 0.16395,
    "h": 349.1
  },
  "luminance": 0.13826
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AF3C7D

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

Preview Lab → · Contrast checker → · Palette generator →

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