#AF3D7E#AF3D7E

#AF3D7E is a mid, vivid pink. Relative luminance 0.140; OKLCH L 54.0% C 0.163 H 348.7°. Best body text is #FFFFFF at 5.54:1 contrast (WCAG AA passes).

Color values

HEX#AF3D7E
RGBrgb(175, 61, 126)
HSLhsl(326, 48%, 46%)
HSVhsv(326, 65%, 69%)
CMYKcmyk(0%, 65.1%, 28%, 31.4%)
CIE-LABlab(44.18, 52.72, -12.19)
CIE-LCHlch(44.18, 54.11, 346.98°)
OKLaboklab(54.02% 0.16 -0.0319)
OKLCHoklch(54.02% 0.163 348.7)
XYZxyz(23.1148, 13.9602, 21.2119)
Luminance0.1396 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF3D7E #3DAF6E
analogous
#A73DAF #AF3D7E #AF3D45
triadic
#AF3D7E #7EAF3D #3D7EAF
tetradic
#AF3D7E #AFA73D #3DAF6E #3D45AF
square
#AF3D7E #AFA73D #3DAF6E #3D45AF
split-complementary
#AF3D7E #45AF3D #3DAFA7
monochromatic
#541D3D #822D5D #AF3D7E #C8619C #D88FB8

Accessibility & contrast

On white

5.54
#AF3D7E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.79
#AF3D7E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF3D7E
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF3D7E#FFFFFF#000000##FFFFFF
##AF3D7E1.005.543.795.54
#FFFFFF5.541.0021.001.00
#0000003.7921.001.0021.00
##FFFFFF5.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C5C80
Deuteranopia (green-blind)
#6C707B
Tritanopia (blue-blind)
#BB3958
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #af3d7e;
/* rgb */ color: rgb(175, 61, 126);
/* oklch */ color: oklch(54.0% 0.163 348.7);
Tailwind
colors: {
  custom: {
    50: '#ca7aa3',
    500: '#af3d7e',
    950: '#000000',
  },
}
SCSS
$custom: #af3d7e;
$custom-light: #ca7aa3;
$custom-dark: #000000;
JSON
{
  "hex": "#af3d7e",
  "rgb": {
    "r": 175,
    "g": 61,
    "b": 126
  },
  "hsl": {
    "h": 325.789,
    "s": 48.305,
    "l": 46.275
  },
  "oklch": {
    "l": 0.54022,
    "c": 0.16311,
    "h": 348.7
  },
  "luminance": 0.13958
}

Semantic roles & 50–950 ramp

primary
#AF3D7E
secondary
#85C3A0
accent
#D88A50
background
#FCF7FA
surface
#F9EEF3
border
#D2C9CD
text
#140A0F
muted
#827C7F

Preview Lab

Preview with #AF3D7E

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

Preview Lab → · Contrast checker → · Palette generator →

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