#AF3E97#AF3E97

#AF3E97 is a mid, vivid pink. Relative luminance 0.148; OKLCH L 55.2% C 0.178 H 337.1°. Best body text is #FFFFFF at 5.30:1 contrast (WCAG AA passes).

Color values

HEX#AF3E97
RGBrgb(175, 62, 151)
HSLhsl(313, 48%, 46%)
HSVhsv(313, 65%, 69%)
CMYKcmyk(0%, 64.6%, 13.7%, 31.4%)
CIE-LABlab(45.35, 55.86, -25.52)
CIE-LCHlch(45.35, 61.41, 335.44°)
OKLaboklab(55.22% 0.164 -0.0692)
OKLCHoklch(55.22% 0.178 337.1)
XYZxyz(24.9881, 14.7957, 30.8120)
Luminance0.1479 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF3E97 #3EAF56
analogous
#8F3EAF #AF3E97 #AF3E5F
triadic
#AF3E97 #97AF3E #3E97AF
tetradic
#AF3E97 #AF8F3E #3EAF56 #3E5FAF
square
#AF3E97 #AF8F3E #3EAF56 #3E5FAF
split-complementary
#AF3E97 #5FAF3E #3EAF8F
monochromatic
#551E49 #822E70 #AF3E97 #C863B2 #D890C8

Accessibility & contrast

On white

5.30
#AF3E97 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.96
#AF3E97 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF3E97
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF3E97#FFFFFF#000000##FFFFFF
##AF3E971.005.303.965.30
#FFFFFF5.301.0021.001.00
#0000003.9621.001.0021.00
##FFFFFF5.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#41609A
Deuteranopia (green-blind)
#647294
Tritanopia (blue-blind)
#B84365
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #af3e97;
/* rgb */ color: rgb(175, 62, 151);
/* oklch */ color: oklch(55.2% 0.178 337.1);
Tailwind
colors: {
  custom: {
    50: '#ca7bb6',
    500: '#af3e97',
    950: '#000000',
  },
}
SCSS
$custom: #af3e97;
$custom-light: #ca7bb6;
$custom-dark: #000000;
JSON
{
  "hex": "#af3e97",
  "rgb": {
    "r": 175,
    "g": 62,
    "b": 151
  },
  "hsl": {
    "h": 312.743,
    "s": 47.679,
    "l": 46.471
  },
  "oklch": {
    "l": 0.55221,
    "c": 0.17801,
    "h": 337.1
  },
  "luminance": 0.14794
}

Semantic roles & 50–950 ramp

primary
#AF3E97
secondary
#86C393
accent
#D76D51
background
#FCF7FB
surface
#F9EEF6
border
#D2C9D0
text
#140A11
muted
#827C80

Preview Lab

Preview with #AF3E97

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

Preview Lab → · Contrast checker → · Palette generator →

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