#AF3E96#AF3E96

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

Color values

HEX#AF3E96
RGBrgb(175, 62, 150)
HSLhsl(313, 48%, 46%)
HSVhsv(313, 65%, 69%)
CMYKcmyk(0%, 64.6%, 14.3%, 31.4%)
CIE-LABlab(45.31, 55.70, -24.99)
CIE-LCHlch(45.31, 61.05, 335.83°)
OKLaboklab(55.17% 0.1639 -0.0677)
OKLCHoklch(55.17% 0.177 337.6)
XYZxyz(24.9072, 14.7633, 30.3861)
Luminance0.1476 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF3E96 #3EAF57
analogous
#903EAF #AF3E96 #AF3E5E
triadic
#AF3E96 #96AF3E #3E96AF
tetradic
#AF3E96 #AF903E #3EAF57 #3E5EAF
square
#AF3E96 #AF903E #3EAF57 #3E5EAF
split-complementary
#AF3E96 #5EAF3E #3EAF90
monochromatic
#551E49 #822E6F #AF3E96 #C863B1 #D890C8

Accessibility & contrast

On white

5.31
#AF3E96 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.95
#AF3E96 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF3E96
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF3E96#FFFFFF#000000##FFFFFF
##AF3E961.005.313.955.31
#FFFFFF5.311.0021.001.00
#0000003.9521.001.0021.00
##FFFFFF5.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#416099
Deuteranopia (green-blind)
#657293
Tritanopia (blue-blind)
#B84364
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #af3e96;
/* rgb */ color: rgb(175, 62, 150);
/* oklch */ color: oklch(55.2% 0.177 337.6);
Tailwind
colors: {
  custom: {
    50: '#ca7bb5',
    500: '#af3e96',
    950: '#000000',
  },
}
SCSS
$custom: #af3e96;
$custom-light: #ca7bb5;
$custom-dark: #000000;
JSON
{
  "hex": "#af3e96",
  "rgb": {
    "r": 175,
    "g": 62,
    "b": 150
  },
  "hsl": {
    "h": 313.274,
    "s": 47.679,
    "l": 46.471
  },
  "oklch": {
    "l": 0.55174,
    "c": 0.17729,
    "h": 337.6
  },
  "luminance": 0.14761
}

Semantic roles & 50–950 ramp

primary
#AF3E96
secondary
#86C394
accent
#D76E51
background
#FCF7FB
surface
#F9EEF6
border
#D2C9D0
text
#140A11
muted
#827C80

Preview Lab

Preview with #AF3E96

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

Preview Lab → · Contrast checker → · Palette generator →

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