#AF3E7D#AF3E7D

#AF3E7D is a mid, vivid pink. Relative luminance 0.140; OKLCH L 54.1% C 0.161 H 349.3°. Best body text is #FFFFFF at 5.51:1 contrast (WCAG AA passes).

Color values

HEX#AF3E7D
RGBrgb(175, 62, 125)
HSLhsl(327, 48%, 46%)
HSVhsv(327, 65%, 69%)
CMYKcmyk(0%, 64.6%, 28.6%, 31.4%)
CIE-LABlab(44.29, 52.16, -11.40)
CIE-LCHlch(44.29, 53.39, 347.67°)
OKLaboklab(54.1% 0.1584 -0.0298)
OKLCHoklch(54.1% 0.161 349.3)
XYZxyz(23.1045, 14.0423, 20.8917)
Luminance0.1404 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF3E7D #3EAF70
analogous
#A93EAF #AF3E7D #AF3E45
triadic
#AF3E7D #7DAF3E #3E7DAF
tetradic
#AF3E7D #AFA93E #3EAF70 #3E45AF
square
#AF3E7D #AFA93E #3EAF70 #3E45AF
split-complementary
#AF3E7D #45AF3E #3EAFA9
monochromatic
#551E3C #822E5D #AF3E7D #C8639B #D890B8

Accessibility & contrast

On white

5.51
#AF3E7D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.81
#AF3E7D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF3E7D
5.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF3E7D#FFFFFF#000000##FFFFFF
##AF3E7D1.005.513.815.51
#FFFFFF5.511.0021.001.00
#0000003.8121.001.0021.00
##FFFFFF5.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D5C7F
Deuteranopia (green-blind)
#6D707A
Tritanopia (blue-blind)
#BB3958
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #af3e7d;
/* rgb */ color: rgb(175, 62, 125);
/* oklch */ color: oklch(54.1% 0.161 349.3);
Tailwind
colors: {
  custom: {
    50: '#ca7aa2',
    500: '#af3e7d',
    950: '#000000',
  },
}
SCSS
$custom: #af3e7d;
$custom-light: #ca7aa2;
$custom-dark: #000000;
JSON
{
  "hex": "#af3e7d",
  "rgb": {
    "r": 175,
    "g": 62,
    "b": 125
  },
  "hsl": {
    "h": 326.549,
    "s": 47.679,
    "l": 46.471
  },
  "oklch": {
    "l": 0.54097,
    "c": 0.16115,
    "h": 349.3
  },
  "luminance": 0.1404
}

Semantic roles & 50–950 ramp

primary
#AF3E7D
secondary
#86C3A1
accent
#D78C51
background
#FCF7FA
surface
#F9EEF3
border
#D2C9CD
text
#140A0F
muted
#827C7F

Preview Lab

Preview with #AF3E7D

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

Preview Lab → · Contrast checker → · Palette generator →

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