#AF3E7F#AF3E7F

#AF3E7F is a mid, vivid pink. Relative luminance 0.141; OKLCH L 54.2% C 0.162 H 348.3°. Best body text is #FFFFFF at 5.50:1 contrast (WCAG AA passes).

Color values

HEX#AF3E7F
RGBrgb(175, 62, 127)
HSLhsl(325, 48%, 46%)
HSVhsv(325, 65%, 69%)
CMYKcmyk(0%, 64.6%, 27.4%, 31.4%)
CIE-LABlab(44.37, 52.43, -12.51)
CIE-LCHlch(44.37, 53.90, 346.58°)
OKLaboklab(54.18% 0.1589 -0.0328)
OKLCHoklch(54.18% 0.162 348.3)
XYZxyz(23.2336, 14.0939, 21.5714)
Luminance0.1409 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF3E7F #3EAF6E
analogous
#A73EAF #AF3E7F #AF3E47
triadic
#AF3E7F #7FAF3E #3E7FAF
tetradic
#AF3E7F #AFA73E #3EAF6E #3E47AF
square
#AF3E7F #AFA73E #3EAF6E #3E47AF
split-complementary
#AF3E7F #47AF3E #3EAFA7
monochromatic
#551E3D #822E5E #AF3E7F #C8639D #D890B9

Accessibility & contrast

On white

5.50
#AF3E7F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.82
#AF3E7F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF3E7F
5.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF3E7F#FFFFFF#000000##FFFFFF
##AF3E7F1.005.503.825.50
#FFFFFF5.501.0021.001.00
#0000003.8221.001.0021.00
##FFFFFF5.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C5C81
Deuteranopia (green-blind)
#6C707C
Tritanopia (blue-blind)
#BB3A59
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #af3e7f;
/* rgb */ color: rgb(175, 62, 127);
/* oklch */ color: oklch(54.2% 0.162 348.3);
Tailwind
colors: {
  custom: {
    50: '#ca7aa4',
    500: '#af3e7f',
    950: '#000000',
  },
}
SCSS
$custom: #af3e7f;
$custom-light: #ca7aa4;
$custom-dark: #000000;
JSON
{
  "hex": "#af3e7f",
  "rgb": {
    "r": 175,
    "g": 62,
    "b": 127
  },
  "hsl": {
    "h": 325.487,
    "s": 47.679,
    "l": 46.471
  },
  "oklch": {
    "l": 0.54175,
    "c": 0.16227,
    "h": 348.3
  },
  "luminance": 0.14092
}

Semantic roles & 50–950 ramp

primary
#AF3E7F
secondary
#86C3A0
accent
#D78A51
background
#FCF7FA
surface
#F9EEF4
border
#D2C9CE
text
#140A0F
muted
#827C7F

Preview Lab

Preview with #AF3E7F

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

Preview Lab → · Contrast checker → · Palette generator →

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