#AF3E78#AF3E78

#AF3E78 is a mid, vivid pink. Relative luminance 0.139; OKLCH L 53.9% C 0.159 H 351.9°. Best body text is #FFFFFF at 5.55:1 contrast (WCAG AA passes).

Color values

HEX#AF3E78
RGBrgb(175, 62, 120)
HSLhsl(329, 48%, 46%)
HSVhsv(329, 65%, 69%)
CMYKcmyk(0%, 64.6%, 31.4%, 31.4%)
CIE-LABlab(44.11, 51.53, -8.61)
CIE-LCHlch(44.11, 52.24, 350.52°)
OKLaboklab(53.91% 0.157 -0.0222)
OKLCHoklch(53.91% 0.159 351.9)
XYZxyz(22.7931, 13.9177, 19.2517)
Luminance0.1391 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF3E78 #3EAF75
analogous
#AE3EAF #AF3E78 #AF3E40
triadic
#AF3E78 #78AF3E #3E78AF
tetradic
#AF3E78 #AFAE3E #3EAF75 #3E40AF
square
#AF3E78 #AFAE3E #3EAF75 #3E40AF
split-complementary
#AF3E78 #40AF3E #3EAFAE
monochromatic
#551E3A #822E59 #AF3E78 #C86396 #D890B5

Accessibility & contrast

On white

5.55
#AF3E78 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.78
#AF3E78 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF3E78
5.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF3E78#FFFFFF#000000##FFFFFF
##AF3E781.005.553.785.55
#FFFFFF5.551.0021.001.00
#0000003.7821.001.0021.00
##FFFFFF5.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F5B7A
Deuteranopia (green-blind)
#6E7075
Tritanopia (blue-blind)
#BC3856
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #af3e78;
/* rgb */ color: rgb(175, 62, 120);
/* oklch */ color: oklch(53.9% 0.159 351.9);
Tailwind
colors: {
  custom: {
    50: '#cb7a9f',
    500: '#af3e78',
    950: '#000000',
  },
}
SCSS
$custom: #af3e78;
$custom-light: #cb7a9f;
$custom-dark: #000000;
JSON
{
  "hex": "#af3e78",
  "rgb": {
    "r": 175,
    "g": 62,
    "b": 120
  },
  "hsl": {
    "h": 329.204,
    "s": 47.679,
    "l": 46.471
  },
  "oklch": {
    "l": 0.53906,
    "c": 0.15851,
    "h": 351.9
  },
  "luminance": 0.13915
}

Semantic roles & 50–950 ramp

primary
#AF3E78
secondary
#86C3A4
accent
#D79251
background
#FCF7F9
surface
#F9EEF2
border
#D2C9CC
text
#140A0E
muted
#827C7E

Preview Lab

Preview with #AF3E78

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

Preview Lab → · Contrast checker → · Palette generator →

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