#AF3E95#AF3E95

#AF3E95 is a mid, vivid pink. Relative luminance 0.147; OKLCH L 55.1% C 0.177 H 338.0°. Best body text is #FFFFFF at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#AF3E95
RGBrgb(175, 62, 149)
HSLhsl(314, 48%, 46%)
HSVhsv(314, 65%, 69%)
CMYKcmyk(0%, 64.6%, 14.9%, 31.4%)
CIE-LABlab(45.26, 55.55, -24.46)
CIE-LCHlch(45.26, 60.70, 336.23°)
OKLaboklab(55.13% 0.1637 -0.0662)
OKLCHoklch(55.13% 0.177 338)
XYZxyz(24.8271, 14.7313, 29.9638)
Luminance0.1473 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF3E95 #3EAF58
analogous
#913EAF #AF3E95 #AF3E5D
triadic
#AF3E95 #95AF3E #3E95AF
tetradic
#AF3E95 #AF913E #3EAF58 #3E5DAF
square
#AF3E95 #AF913E #3EAF58 #3E5DAF
split-complementary
#AF3E95 #5DAF3E #3EAF91
monochromatic
#551E48 #822E6F #AF3E95 #C863B0 #D890C7

Accessibility & contrast

On white

5.32
#AF3E95 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #AF3E95
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF3E95#FFFFFF#000000##FFFFFF
##AF3E951.005.323.955.32
#FFFFFF5.321.0021.001.00
#0000003.9521.001.0021.00
##FFFFFF5.321.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #af3e95;
/* rgb */ color: rgb(175, 62, 149);
/* oklch */ color: oklch(55.1% 0.177 338.0);
Tailwind
colors: {
  custom: {
    50: '#ca7bb4',
    500: '#af3e95',
    950: '#000000',
  },
}
SCSS
$custom: #af3e95;
$custom-light: #ca7bb4;
$custom-dark: #000000;
JSON
{
  "hex": "#af3e95",
  "rgb": {
    "r": 175,
    "g": 62,
    "b": 149
  },
  "hsl": {
    "h": 313.805,
    "s": 47.679,
    "l": 46.471
  },
  "oklch": {
    "l": 0.55127,
    "c": 0.17656,
    "h": 338
  },
  "luminance": 0.14729
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AF3E95

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

Preview Lab → · Contrast checker → · Palette generator →

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