#AF3E8F#AF3E8F

#AF3E8F is a mid, vivid pink. Relative luminance 0.145; OKLCH L 54.9% C 0.172 H 340.6°. Best body text is #FFFFFF at 5.37:1 contrast (WCAG AA passes).

Color values

HEX#AF3E8F
RGBrgb(175, 62, 143)
HSLhsl(317, 48%, 46%)
HSVhsv(317, 65%, 69%)
CMYKcmyk(0%, 64.6%, 18.3%, 31.4%)
CIE-LABlab(45.00, 54.65, -21.25)
CIE-LCHlch(45.00, 58.64, 338.75°)
OKLaboklab(54.85% 0.1626 -0.0571)
OKLCHoklch(54.85% 0.172 340.6)
XYZxyz(24.3603, 14.5446, 27.5057)
Luminance0.1454 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF3E8F #3EAF5E
analogous
#973EAF #AF3E8F #AF3E57
triadic
#AF3E8F #8FAF3E #3E8FAF
tetradic
#AF3E8F #AF973E #3EAF5E #3E57AF
square
#AF3E8F #AF973E #3EAF5E #3E57AF
split-complementary
#AF3E8F #57AF3E #3EAF97
monochromatic
#551E45 #822E6A #AF3E8F #C863AB #D890C3

Accessibility & contrast

On white

5.37
#AF3E8F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.91
#AF3E8F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF3E8F
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF3E8F#FFFFFF#000000##FFFFFF
##AF3E8F1.005.373.915.37
#FFFFFF5.371.0021.001.00
#0000003.9121.001.0021.00
##FFFFFF5.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#455F91
Deuteranopia (green-blind)
#67718C
Tritanopia (blue-blind)
#B94061
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #af3e8f;
/* rgb */ color: rgb(175, 62, 143);
/* oklch */ color: oklch(54.9% 0.172 340.6);
Tailwind
colors: {
  custom: {
    50: '#ca7bb0',
    500: '#af3e8f',
    950: '#000000',
  },
}
SCSS
$custom: #af3e8f;
$custom-light: #ca7bb0;
$custom-dark: #000000;
JSON
{
  "hex": "#af3e8f",
  "rgb": {
    "r": 175,
    "g": 62,
    "b": 143
  },
  "hsl": {
    "h": 316.991,
    "s": 47.679,
    "l": 46.471
  },
  "oklch": {
    "l": 0.54852,
    "c": 0.17233,
    "h": 340.6
  },
  "luminance": 0.14542
}

Semantic roles & 50–950 ramp

primary
#AF3E8F
secondary
#86C397
accent
#D77751
background
#FCF7FA
surface
#F9EEF4
border
#D2C9CE
text
#140A10
muted
#827C7F

Preview Lab

Preview with #AF3E8F

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

Preview Lab → · Contrast checker → · Palette generator →

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