#AF3A7E#AF3A7E

#AF3A7E is a mid, vivid pink. Relative luminance 0.136; OKLCH L 53.7% C 0.167 H 348.3°. Best body text is #FFFFFF at 5.63:1 contrast (WCAG AA passes).

Color values

HEX#AF3A7E
RGBrgb(175, 58, 126)
HSLhsl(325, 50%, 46%)
HSVhsv(325, 67%, 69%)
CMYKcmyk(0%, 66.9%, 28%, 31.4%)
CIE-LABlab(43.73, 53.96, -12.87)
CIE-LCHlch(43.73, 55.47, 346.58°)
OKLaboklab(53.69% 0.1638 -0.0338)
OKLCHoklch(53.69% 0.167 348.3)
XYZxyz(22.9592, 13.6488, 21.1600)
Luminance0.1365 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF3A7E #3AAF6B
analogous
#A53AAF #AF3A7E #AF3A43
triadic
#AF3A7E #7EAF3A #3A7EAF
tetradic
#AF3A7E #AFA53A #3AAF6B #3A43AF
square
#AF3A7E #AFA53A #3AAF6B #3A43AF
split-complementary
#AF3A7E #43AF3A #3AAFA5
monochromatic
#531C3C #812B5D #AF3A7E #C95D9C #D98BB8

Accessibility & contrast

On white

5.63
#AF3A7E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.73
#AF3A7E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF3A7E
5.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF3A7E#FFFFFF#000000##FFFFFF
##AF3A7E1.005.633.735.63
#FFFFFF5.631.0021.001.00
#0000003.7321.001.0021.00
##FFFFFF5.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#495A80
Deuteranopia (green-blind)
#6B6F7B
Tritanopia (blue-blind)
#BB3657
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #af3a7e;
/* rgb */ color: rgb(175, 58, 126);
/* oklch */ color: oklch(53.7% 0.167 348.3);
Tailwind
colors: {
  custom: {
    50: '#cb78a3',
    500: '#af3a7e',
    950: '#000000',
  },
}
SCSS
$custom: #af3a7e;
$custom-light: #cb78a3;
$custom-dark: #000000;
JSON
{
  "hex": "#af3a7e",
  "rgb": {
    "r": 175,
    "g": 58,
    "b": 126
  },
  "hsl": {
    "h": 325.128,
    "s": 50.215,
    "l": 45.686
  },
  "oklch": {
    "l": 0.5369,
    "c": 0.16724,
    "h": 348.3
  },
  "luminance": 0.13646
}

Semantic roles & 50–950 ramp

primary
#AF3A7E
secondary
#82C39D
accent
#DA894E
background
#FCF7FA
surface
#F9EEF3
border
#D2C9CD
text
#14090F
muted
#827B7F

Preview Lab

Preview with #AF3A7E

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

Preview Lab → · Contrast checker → · Palette generator →

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