#AF3E88#AF3E88

#AF3E88 is a mid, vivid pink. Relative luminance 0.143; OKLCH L 54.5% C 0.168 H 343.9°. Best body text is #FFFFFF at 5.43:1 contrast (WCAG AA passes).

Color values

HEX#AF3E88
RGBrgb(175, 62, 136)
HSLhsl(321, 48%, 46%)
HSVhsv(321, 65%, 69%)
CMYKcmyk(0%, 64.6%, 22.3%, 31.4%)
CIE-LABlab(44.72, 53.65, -17.46)
CIE-LCHlch(44.72, 56.42, 341.97°)
OKLaboklab(54.55% 0.1611 -0.0465)
OKLCHoklch(54.55% 0.168 343.9)
XYZxyz(23.8465, 14.3391, 24.7996)
Luminance0.1434 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF3E88 #3EAF65
analogous
#9E3EAF #AF3E88 #AF3E50
triadic
#AF3E88 #88AF3E #3E88AF
tetradic
#AF3E88 #AF9E3E #3EAF65 #3E50AF
square
#AF3E88 #AF9E3E #3EAF65 #3E50AF
split-complementary
#AF3E88 #50AF3E #3EAF9E
monochromatic
#551E42 #822E65 #AF3E88 #C863A5 #D890BF

Accessibility & contrast

On white

5.43
#AF3E88 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.87
#AF3E88 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF3E88
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF3E88#FFFFFF#000000##FFFFFF
##AF3E881.005.433.875.43
#FFFFFF5.431.0021.001.00
#0000003.8721.001.0021.00
##FFFFFF5.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#485E8A
Deuteranopia (green-blind)
#6A7185
Tritanopia (blue-blind)
#BA3E5D
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #af3e88;
/* rgb */ color: rgb(175, 62, 136);
/* oklch */ color: oklch(54.5% 0.168 343.9);
Tailwind
colors: {
  custom: {
    50: '#ca7baa',
    500: '#af3e88',
    950: '#000000',
  },
}
SCSS
$custom: #af3e88;
$custom-light: #ca7baa;
$custom-dark: #000000;
JSON
{
  "hex": "#af3e88",
  "rgb": {
    "r": 175,
    "g": 62,
    "b": 136
  },
  "hsl": {
    "h": 320.708,
    "s": 47.679,
    "l": 46.471
  },
  "oklch": {
    "l": 0.54545,
    "c": 0.1677,
    "h": 343.9
  },
  "luminance": 0.14337
}

Semantic roles & 50–950 ramp

primary
#AF3E88
secondary
#86C39B
accent
#D77F51
background
#FCF7FA
surface
#F9EEF4
border
#D2C9CE
text
#140A10
muted
#827C7F

Preview Lab

Preview with #AF3E88

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

Preview Lab → · Contrast checker → · Palette generator →

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