#AF3E93#AF3E93

#AF3E93 is a mid, vivid pink. Relative luminance 0.147; OKLCH L 55.0% C 0.175 H 338.9°. Best body text is #FFFFFF at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#AF3E93
RGBrgb(175, 62, 147)
HSLhsl(315, 48%, 46%)
HSVhsv(315, 65%, 69%)
CMYKcmyk(0%, 64.6%, 16%, 31.4%)
CIE-LABlab(45.18, 55.25, -23.40)
CIE-LCHlch(45.18, 60.00, 337.05°)
OKLaboklab(55.03% 0.1633 -0.0632)
OKLCHoklch(55.03% 0.175 338.9)
XYZxyz(24.6688, 14.6680, 29.1301)
Luminance0.1467 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF3E93 #3EAF5A
analogous
#933EAF #AF3E93 #AF3E5B
triadic
#AF3E93 #93AF3E #3E93AF
tetradic
#AF3E93 #AF933E #3EAF5A #3E5BAF
square
#AF3E93 #AF933E #3EAF5A #3E5BAF
split-complementary
#AF3E93 #5BAF3E #3EAF93
monochromatic
#551E47 #822E6D #AF3E93 #C863AF #D890C6

Accessibility & contrast

On white

5.34
#AF3E93 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.93
#AF3E93 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF3E93
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF3E93#FFFFFF#000000##FFFFFF
##AF3E931.005.343.935.34
#FFFFFF5.341.0021.001.00
#0000003.9321.001.0021.00
##FFFFFF5.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#436096
Deuteranopia (green-blind)
#667190
Tritanopia (blue-blind)
#B94263
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #af3e93;
/* rgb */ color: rgb(175, 62, 147);
/* oklch */ color: oklch(55.0% 0.175 338.9);
Tailwind
colors: {
  custom: {
    50: '#ca7bb3',
    500: '#af3e93',
    950: '#000000',
  },
}
SCSS
$custom: #af3e93;
$custom-light: #ca7bb3;
$custom-dark: #000000;
JSON
{
  "hex": "#af3e93",
  "rgb": {
    "r": 175,
    "g": 62,
    "b": 147
  },
  "hsl": {
    "h": 314.867,
    "s": 47.679,
    "l": 46.471
  },
  "oklch": {
    "l": 0.55034,
    "c": 0.17513,
    "h": 338.9
  },
  "luminance": 0.14666
}

Semantic roles & 50–950 ramp

primary
#AF3E93
secondary
#86C395
accent
#D77251
background
#FCF7FB
surface
#F9EEF6
border
#D2C9D0
text
#140A11
muted
#827C80

Preview Lab

Preview with #AF3E93

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

Preview Lab → · Contrast checker → · Palette generator →

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